doc:appunti:linux:tux:xfce
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
doc:appunti:linux:tux:xfce [2017/07/11 09:32] – [Missing dialog on logout] niccolo | doc:appunti:linux:tux:xfce [2020/11/02 07:34] – [User environment] niccolo | ||
---|---|---|---|
Line 2: | Line 2: | ||
Ambiente desktop leggero, utilizza le librerie GTK+ 2 (come GNOME 2) e il window manager Xfwm. Vedere la pgina [[wp> | Ambiente desktop leggero, utilizza le librerie GTK+ 2 (come GNOME 2) e il window manager Xfwm. Vedere la pgina [[wp> | ||
+ | |||
+ | ===== User environment ===== | ||
+ | |||
+ | 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...**. | ||
+ | |||
+ | ===== 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 ===== | ||
Line 35: | Line 66: | ||
===== Missing dialog on logout ===== | ===== Missing dialog on logout ===== | ||
- | It seems that the default configuration for Xfce 4.12 **Action Buttons plugin** on Debian Stretch is counter-intuitive. The " | + | It seems that the default configuration for Xfce 4.12 **Action Buttons plugin** on Debian Stretch is counterintuitive. The " |
The program responsible of the action is ''/ | The program responsible of the action is ''/ | ||
You must open // | You must open // | ||
+ | |||
+ | ===== Open With... Default Program ===== | ||
+ | |||
+ | Dal file manager Thunar è possibile impostare il programma predefinito per aprire i vari tipi di file. Con il click destro, **Open With..** => **Open With Other Application...** => **Use as default for this kind of file** è possibile scegliere il programma predefinito. | ||
+ | |||
+ | Le preferenze vengono salvate nel file **$HOME/ | ||
+ | |||
+ | < | ||
+ | [Default Applications] | ||
+ | application/ | ||
+ | </ | ||
+ | |||
+ | I progammi utilizzabili sono in effetti definiti da file **.desktop** contenuti nella directory **/ |
doc/appunti/linux/tux/xfce.txt · Last modified: 2021/05/12 05:11 by niccolo