User Tools

Site Tools


doc:appunti:linux:tux:xfce

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:linux:tux:xfce [2020/03/31 21:18] – [Missing dialog on logout] niccolodoc:appunti:linux:tux:xfce [2021/05/12 07:11] (current) – [Configurazione tastiera] 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>Xfce|Wikipedia]]. Ambiente desktop leggero, utilizza le librerie GTK+ 2 (come GNOME 2) e il window manager Xfwm. Vedere la pgina [[wp>Xfce|Wikipedia]].
 +
 +===== 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/.bash_aliases** or just the **$HOME/.bashrc**. Notice that the terminal emulator is not generally executed as a login shell, so the files contained into **/etc/profile.d/** directory are not sourced (they are instead executed when logging remotely via ssh).
 +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://www.freedesktop.org/wiki/Software/xdg-utils/|XDG system]]** (desktop integration utilities from freedesktop.org) to know what application is associated to a specific MIME Type. So the XFCE file manager **Thunar** (but also textual managers like the **Midnight Commander**) can be configured centrally to suit your preferences.
 +
 +Let's take the **image/jpeg** MIME Type: per default it is associated to the ImageMagick viewer:
 +
 +<code>
 +xdg-mime query default image/jpeg
 +display-im6.q16.desktop
 +</code>
 +
 +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 **/usr/share/applications/geeqie.desktop**.
 +  - Create the user's applications directory **$HOME/.local/share/applications/** and copy the **geeqie.desktop** file into it.
 +  - Update the user's mime database configuration file with the command **update-desktop-database $HOME/.local/share/applications/**
 +
 +Now you can verify that the MIME Type is correctly associated:
 +
 +<code>
 +xdg-mime query default image/jpeg
 +geeqie.desktop
 +</code>
 +
 +From now on, every XDG compliant program will use Geeqie to open an JPEG image.
  
 ===== Applet utili ===== ===== Applet utili =====
Line 25: Line 56:
 </file> </file>
  
-Con versioni più moderne del plugin (ad esempio xfce4-xkb-plugin 0.5.4.3-1+b1 e xfce4 4.8.0.3) è comunque possibile configurare il tasto compose dalle opzioni del plugin.+Con versioni più moderne del plugin (ad esempio xfce4-xkb-plugin 0.5.4.3 e xfce4 4.8.0.3) è comunque possibile configurare il tasto compose dalle opzioni del plugin **Settings** => **Keyboard**.
  
 ===== Shortcut problem with Konsole and other KDE applications ===== ===== Shortcut problem with Konsole and other KDE applications =====
Line 53: Line 84:
  
 I progammi utilizzabili sono in effetti definiti da file **.desktop** contenuti nella directory **/usr/share/applications/**, nell'esempio sopra si fa quindi riferimento al file **okularApplication_pdf.desktop**. I progammi utilizzabili sono in effetti definiti da file **.desktop** contenuti nella directory **/usr/share/applications/**, nell'esempio sopra si fa quindi riferimento al file **okularApplication_pdf.desktop**.
 +
 +
 +===== Notification Area Tooltips out of screen =====
 +
 +Some applets, like the **NetworkManager Applet**, will show an icon into the **Notification Area** item that can be added to a panel. That icons may show a tooltip when the mouse is placed over. In some cases the tooltip is displayed out of the screen, this is the case using an Xfce panel aligned to the bottom edge of the screen and the NetworkManager Applet.
 +
 +There are two workarounds for this problem:
 +
 +  * Open the **Notification Area** properties and set the **Maximum icon size (px)** to **30** or above.
 +  * Open the Xfce panel preferences and enable the **Don't reserve space on borders**. Whith this setting, a maximized window will have an edge hidden by the panel itself.
 +
 +See  **[[https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/203|Xfce issue #203]]**.
 +
doc/appunti/linux/tux/xfce.1585682324.txt.gz · Last modified: 2020/03/31 21:18 by niccolo