Index: index.xml =================================================================== --- index.xml +++ index.xml @@ -37,19 +37,17 @@

Frequently Asked Questions

Contents

    -
  1. How to install the Xfce package?
  2. -
  3. Running Xfce?
  4. -
  5. Localization?
  6. -
  7. How to use unified theme wiht GTK3 and GTK2 - applications?
  8. -
  9. How to launch xfdashboard at start time?
  10. -
  11. How to change keyboard shortcuts (e.g., Thunar, - xfce4-terminal)?
  12. -
  13. How to activate compositor effect?
  14. -
  15. How to hide item in menu applications?
  16. -
  17. How to hide panel with full screen - applications?
  18. -
  19. How to disable PulseAudio?
  20. +
  21. How is Xfce installed?
  22. +
  23. How is Xfce started?
  24. +
  25. What about localization?
  26. +
  27. How can unified thems be used with GTK3 and GTK2?
  28. +
  29. How can xfdashboard be lauched at startup?
  30. +
  31. How can keyboard shortcuts be changed for programs + like Thunar and xfce4-terminal?
  32. +
  33. How is compositing enabled?
  34. +
  35. How can menu items be hidden?
  36. +
  37. How can the panel be hidden with fullscreen applications?
  38. +
  39. How can PulseAudio be disabled?

Full text

@@ -56,9 +54,9 @@
  1. -

    How to install the Xfce package?

    +

    How is Xfce installed?

    -

    There are two ways to install Xfce. One way is to +

    There are two ways to install Xfce. One way is to use pkg(8) utility:

    # pkg install xfce4
    @@ -67,18 +65,16 @@ href="../doc/en_US.ISO8859-1/books/handbook/pkgng-intro.html">FreeBSD Handbook.

    -

    The other way, is to use The other way is to use ports:

    -
    -# cd /usr/ports/x11-wm/xfce4
    -# make install clean
    -				
    +
    # cd /usr/ports/x11-wm/xfce4
    +# make install clean
  2. -

    Running Xfce?

    +

    How is Xfce started

    There are several different ways to start Xfce:

    @@ -92,16 +88,12 @@

    Note: x11-wm/xfce4-session already provides this file.

    -
    -% cp /usr/local/etc/xdg/xfce4/xinitrc ~/.xinitrc
    -				
    +
    % cp /usr/local/etc/xdg/xfce4/xinitrc ~/.xinitrc

    Using startx or Xdm, .xsession file is also required.

    -
    -% ln -sf ~/.xinitrc ~/.xsession
    -				
    +
    % ln -sf ~/.xinitrc ~/.xsession

    If you would like to use Xdm, you must apply the following patch. It's well known bug (PR191296).

    -
    -% patch --posix < dot.xinitrc.diff
    -				
    +
    % patch --posix < dot.xinitrc.diff
  3. -

    Localization?

    +

    What about localization?

    Xfce supports differents languages (internationalization). Even if you have already For instance, for French users using latin-9 encoding, these environments variables will be defined like that:

    -
    -#!/bin/sh
    +				
    #!/bin/sh
     
     export LANG="fr_FR.ISO8859-15"
     export LC_CTYPE="fr_FR.ISO8859-15"
     
    -[...]
    -				
    +[...]

    Users with no UTF-8 encoding, must also define new variable, G_FILENAME_ENCODING (avoid warning in some GTK @@ -145,8 +133,7 @@

    Add following lines in your .xinitrc.

    -
    -[...]
    +				
    [...]
     
     # set $G_FILENAME_ENCODING to @locale and/or UTF-8.
     if test "x$G_FILENAME_ENCODING" = "x"; then
    @@ -154,20 +141,17 @@
       export G_FILENAME_ENCODING
     fi
     
    -[...]
    -				
    +[...]
  4. -

    How to use unified theme wiht GTK3 and GTK2 applications?

    +

    How can unified themes be used with GTK3 and GTK2 applications?

    Install x11-themes/gnome-themes-standard, and change value of /Net/ThemeName property:

    -
    -% xfconf-query -c xsettings -p /Net/ThemeName -t string -s Adwaita
    -				
    +
    % xfconf-query -c xsettings -p /Net/ThemeName -t string -s Adwaita

    Or use xfce4-appearance-settings.

  5. @@ -174,7 +158,7 @@
  6. -

    How to launch xfdashboard at start time?

    +

    How can xfdashboard be lauched at startup?

    Xfdashboard comes from x11/xfce4-dashboard.

    @@ -185,9 +169,7 @@

    Or copy xfdashboard-autostart.desktop file in your own autostart/ directory (make sure it exists).

    -
    -% cp /usr/local/etc/xdg/autostart/xfdashboard-autostart.desktop ~/.config/autostart
    -				
    +
    % cp /usr/local/etc/xdg/autostart/xfdashboard-autostart.desktop ~/.config/autostart

    Now, you can define keyboard shortcut. Launch xfce4-keyboard-settings, and go to Application @@ -196,22 +178,18 @@

  7. -

    How to change keyboard shortcuts (e.g., Thunar, - xfce4-terminal)?

    +

    How can keyboard shortcuts be changed for programs like Thunar + and xfce4-terminal?

    /Gtk/CanChangeAccels must be enabled.

    To check its value:

    -
    -% xfconf-query -c xettings -p /Gtk/CanChangeAccels
    -				
    +
    % xfconf-query -c xettings -p /Gtk/CanChangeAccels

    If it is false, value must be changed.

    -
    -% xfconf-query -c xettings -p /Gtk/CanChangeAccels -T
    -				
    +
    % xfconf-query -c xettings -p /Gtk/CanChangeAccels -T

    When item menu is active (highlighted), by passing the mouse over, you can directly define new keyboard shortcuts.

    @@ -219,7 +197,7 @@
  8. -

    How to activate compositor effect?

    +

    How is compositing enabled?

    Launch xfwm4-tweaks-settings, and go to Compositor tab.

    @@ -226,21 +204,16 @@

    Or change value of /general/use_compositing:

    -
    -% xfconf-query -c xfwm4 -p /general/use_compositing -t bool -s true
    -				
    +
    % xfconf-query -c xfwm4 -p /general/use_compositing -t bool -s true

    Or

    - - -
    -% xfconf-query -c xfwm4 -p /general/use_compositing -T
    -				
    + +
    % xfconf-query -c xfwm4 -p /general/use_compositing -T
  9. -

    How to hide item in menu applications?

    +

    How can menu items be hidden?

    Launch xfce4-appfinder and right click on one item (in right pane), then select Hidden.

    @@ -248,15 +221,12 @@
  10. -

    How to hide panel with full screen applications?

    +

    How can the panel be hidden with fullscreen applications?

    Sometime, when applications are in full screen mode, panels are not hidden. You can change value of disable-struts.

    -
    -% xfconf-query -c xfce4-panel -p /panels/panel-id/disable-struts \
    --n -t bool -s true
    -				
    +
    % xfconf-query -c xfce4-panel -p /panels/panel-id/disable-struts -n -t bool -s true

    Where id is integer (usually 0 or 1).

  11. @@ -263,20 +233,16 @@
  12. -

    How to disable PulseAudio?

    +

    How can PulseAudio be disabled?

    In ~/.config/pulse/client.conf file replace these lines:

    -
    -; autospawn = yes
    -; daemon-binary = /usr/local/bin/pulseaudio
    -				
    +
    ; autospawn = yes
    +; daemon-binary = /usr/local/bin/pulseaudio

    By

    -
    -autospawn = no
    -daemon-binary =
    -				
    +
    autospawn = no
    +daemon-binary =