doc:appunti:linux:tux:xfce
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
doc:appunti:linux:tux:xfce [2020/11/01 17:04] – [User environment] niccolo | doc:appunti:linux:tux:xfce [2020/11/02 07:34] – [User environment] niccolo | ||
---|---|---|---|
Line 7: | Line 7: | ||
If you want to set **aliases** or **environment variables** you have to rely on the **rc files** of your shell program; e.g. for the **bash** you can edit **$HOME/ | If you want to set **aliases** or **environment variables** you have to rely on the **rc files** of your shell program; e.g. for the **bash** you can edit **$HOME/ | ||
Some terminal emulator have their own procedure to set environment variables, e.g. the **konsole** program has the **Settings** => **Edit Current Profile...** => **General** => Environment **Edit...**. | Some terminal emulator have their own procedure to set environment variables, e.g. the **konsole** program has the **Settings** => **Edit Current Profile...** => **General** => Environment **Edit...**. | ||
+ | |||
+ | ===== Default MIME Applications ===== | ||
+ | |||
+ | Debian uses the **[[https:// | ||
+ | |||
+ | Let's take the **image/ | ||
+ | |||
+ | < | ||
+ | xdg-mime query default image/jpeg | ||
+ | display-im6.q16.desktop | ||
+ | </ | ||
+ | |||
+ | Soppose we want to associate it to the **Geeqie** program instead, for the current user only (not a system-wide preference) we can do the following. | ||
+ | |||
+ | - Verify that the **Geeqie package** installed its Desktop file **/ | ||
+ | - Create the user's applications directory **$HOME/ | ||
+ | - Update the user's mime database configuration file with the command **update-desktop-database $HOME/ | ||
+ | |||
+ | Now you can verify that the MIME Type is correctly associated: | ||
+ | |||
+ | < | ||
+ | xdg-mime query default image/jpeg | ||
+ | geeqie.desktop | ||
+ | </ | ||
+ | |||
+ | From now on, every XDG compliant program will use Geeqie to open an JPEG image. | ||
===== Applet utili ===== | ===== Applet utili ===== |
doc/appunti/linux/tux/xfce.txt · Last modified: 2021/05/12 05:11 by niccolo