Index: index.xml =================================================================== --- index.xml +++ index.xml @@ -1,14 +1,17 @@ - + - + + + ]> @@ -15,19 +18,19 @@ &title; - $FreeBSD$ + + $FreeBSD$ +

Xfce is a complete graphical desktop - environment based ont the GTK+ toolkit. It aims to be fast, - lightweight and easy-to-use. -

+ environment based ont the GTK+ toolkit. It aims to be fast, + lightweight and easy-to-use.

-

Any questions regarding Xfce on FreeBSD should be address to +

Any questions regarding Xfce on &os; should be address to the freebsd-xfce mailing list, or - FreeBSD forums + &os; forums (Other Window Manager subforum).

Resources

@@ -34,7 +37,7 @@ @@ -44,103 +47,103 @@
  • How is Xfce installed?
  • How is Xfce started?
  • What about localization?
  • -
  • How can unified themes be used with GTK3 and - GTK2?
  • -
  • How can keyboard shortcuts be changed in - GTK2 applications ?
  • +
  • How can unified themes be used with + GTK3 and GTK2?
  • +
  • How can keyboard shortcuts be changed + in GTK2 applications?
  • How can menu items be hidden?
  • -
  • How can the panel be hidden with fullscreen - applications?
  • -
  • How can double title bars be removed in some - applications?
  • -
  • How is windows preview displayed in TabWin - widget?
  • -
  • How are elements displayed in TabWin - widget?
  • -
  • How is zoom effect enabled?
  • -
  • How can we adopt the same behavior as Thunar - in GtkFileChooserDialog widget?
  • -
  • How can xfdashboard be lauched at - startup?
  • -
  • How can PulseAudio be disabled?
  • +
  • How can the panel be hidden with + fullscreen applications?
  • +
  • How can double title bars be removed in + some applications?
  • +
  • How can shadows be removed in additional + panels
  • +
  • How is windows preview displayed in + TabWin widget?
  • +
  • How are elements displayed in TabWin + widget?
  • +
  • How is zoom effect enabled?
  • +
  • How can we adopt the same behavior as + Thunar in GtkFileChooserDialog widget?
  • +
  • How can xfdashboard be lauched at + startup?
  • +
  • How can grayscale colors of quicklaunch + icons be changed in xfdashboard?
  • +
  • How can PulseAudio be disabled?
  • Full text

    -
      -
    1. - -

      How is Xfce installed?

      +
        +
      1. + +

        How is Xfce installed?

        -

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

        -
        # pkg install xfce
        +

        There are two ways to install Xfce. Using pkg(8):

        +
        # pkg install xfce
        -

        More information on using pkg(8) is available in the FreeBSD - Handbook.

        +

        More information is available in the &os; + Handbook.

        -

        The other way is to use ports: -

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

        The other way is to use ports:

        +
        # cd /usr/ports/x11-wm/xfce4
        +# make clean-depends
        + -
      3. - -

        How is Xfce started?

        +
      4. + +

        How is Xfce started?

        -

        There are several different ways to start Xfce:

        -
          -
        • Using startx from a text console.
        • -
        • Using display manager (e.g., SLiM, Xdm, ...)
        • -
        +

        There are several different ways to start Xfce:

        +
          +
        • Using startx from a text console.
        • +
        • Using display manager (e.g., SLiM, Xdm, ...)
        • +
        +

        Firstly, .xinitrc file must be created.

        -

        Firstly, .xinitrc file must be created.

        +

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

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

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

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

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

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

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

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

        To use Xdm, apply the following patch. It fixes a well-known bug + PR191296.

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

        To use Xdm, apply the following patch. It fixes a well-known bug - PR191296. -

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

        What about localization?

        -
      7. - -

        What about localization?

        +

        Xfce supports different languages (internationalization). + Even if the system has already been configured for + localization, additional settings must be added to + .xinitrc.

        -

        Xfce supports different langages (internationalization). - Even if the system has already been configured - for localization, additional settings must be added to - .xinitrc file.

        +

        The variables, LANG and LC_CTYPE control + locale settings.

        -

        The variables, LANG and LC_CTYPE - control locale settings.

        +

        For instance, for French users using latin-9 encoding, these + environments variables will be defined like:

        +
        #!/bin/sh
         
        -	

        For instance, for French users using latin-9 encoding, - these environments variables will be defined like:

        -
        #!/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 - applications).

        +

        Users with no UTF-8 encoding must also define new variable + G_FILENAME_ENCODING (avoid warning in some GTK + applications).

        -

        Add following lines in .xinitrc file.

        -
        [...]
        +				

        Add following lines in .xinitrc.

        +
        [...]
         # set $G_FILENAME_ENCODING to @locale and/or UTF-8.
         if test "x$G_FILENAME_ENCODING" = "x"; then
           G_FILENAME_ENCODING="@locale,UTF-8"
        @@ -147,178 +150,216 @@
           export G_FILENAME_ENCODING
         fi
         [...]
        -
      8. + -
      9. - -

        How can unified themes be used with GTK3 and GTK2?

        +
      10. + +

        How can unified themes be used with GTK3 and GTK2?

        -

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

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

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

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

        Or use xfce4-appearance-settings.

        -
      11. +

        Or use xfce4-appearance-settings.

        + -
      12. - -

        How can keyboard shortcuts be changed in GTK2 - applications?

        +
      13. + +

        How can keyboard shortcuts be changed in GTK2 + applications?

        -

        /Gtk/CanChangeAccels must be enabled.

        +

        /Gtk/CanChangeAccels must be enabled.

        -

        To check its value:

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

        To check its value:

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

        If it is false, value must be changed.

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

        If it is false, the value must be + changed.

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

        When the item menu is active (hightlighted), keyboard - shortcut can be directly changed by pressing the desired key - combination. -

        +

        When the item menu is active (hightlighted), keyboard + shortcut can be directly changed by pressing the desired key + combination.

        -

        Note: This settings is deprecated since - GTK >= 3.10.

        -
      14. +

        Note: This settings is deprecated since + GTK >= 3.10.

        + -
      15. - -

        How can menu items be hidden?

        +
      16. + +

        How can menu items be hidden?

        -

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

        -
      17. +

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

        + -
      18. - -

        How can the panel be hidden with fullscreen - applications?

        +
      19. + +

        How can the panel be hidden with fullscreen + applications?

        -

        Sometimes when applications are in full-screen mode, panels - are not hidden. The value of autohide-behavior can - be changed.

        -
        % xfconf-query -c xfce4-panel -p /panels/panels-id/autohide-behavior -n -t int -s 1
        +

        Sometimes when applications are in full-screen mode, panels + are not hidden. The value of autohide-behavior can + be changed.

        -

        Possible values are:

        -
          -
        • 0 → never hide
        • -
        • 1 → intelligently autohide
        • -
        • 2 → autohide
        • -
        - -

        Where id is integer, it represents panel.

        +

        Possible values are:

        +
          +
        • 0 → never hide
        • +
        • 1 → intelligently autohide
        • +
        • 2 → autohide
        • +
        -

        Or go to Panel Preferences.

        -
      20. +

        For example:

        +
        % xfconf-query -c xfce4-panel -p /panels/panels-id/autohide-behavior -n -t int -s 1
        -
      21. - -

        How can double title bars be removed in some - applications?

        +

        Where id is integer, it represents panel number.

        -

        They appear often with GTK3 applications, because they use - a new method for decorating windows, calls - CSD.

        +

        Or go to Panel Preferences.

        +
      22. -

        To avoid this artifact, compositing must be enabled.

        +
      23. + +

        How can double title bars be removed in some + applications?

        -

        Launch xfwm4-teaks-settings, and go to the - Compositor tab.

        +

        They appear often with GTK3 applications, because they use + a new method for decorating windows, calls + CSD.

        -

        Or change the value of - /general/use_compositing:

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

        To avoid this artifact, compositing must be enabled.

        -
      25. - -

        How is windows preview displayed in TabWin widget?

        +

        Launch xfwm4-teaks-settings, and go to the + Compositor tab.

        -

        TabWin widget is little window which appears, when we - toggle between open applications (Alt+Tab).

        +

        Or change the value of + /general/use_compositing:

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

        The value of /general/cycle_preview can be - changed, if compositing is enabled.

        -
        % xfconf-query -c xfwm4 -p /general/cycle_preview -T
        +
      27. + +

        How can shadows be removed in additional panels?

        -

        Note: If the value of - /general/cycle_tabwin_mode is 1 - previews are not displayed.

        -
      28. +

        With some additional panels like deskutils/cairo-dock, + x11/tint, or x11/plank shadows appear.

        -
      29. - -

        How are elements displayed in TabWin widget?

        +

        Launch xfwm4-tweaks-settings and go to + Compositor tab, uncheck Show shadows + under dock windows option.

        -

        By default in TabWin widget, open applications are - symbolized by previews list.

        +

        Or

        +
        % xfconf-query -c xfwm4 -p /general/show_dock_shadow -n -t bool -s false
        +
      30. -

        Another view is also possible (like in Xfce <= 4.10).

        -
        % xfconf-query -c xfwm4 -p /general/cycle_tabwin_mode -n -t int -s 1
        +
      31. + +

        How is windows preview displayed in TabWin widget?

        -

        Possible values are:

        -
          -
        • 0 → previews list
        • -
        • 1 → grid (icons)
        • -
        -
      32. +

        TabWin widget is little window which appears, when we + toggle between open applications (Alt+Tab).

        -
      33. - -

        How is zoom effect enabled?

        +

        The value of /general/cycle_preview can be + changed, if compositing is enabled.

        +
        % xfconf-query -c xfwm4 -p /general/cycle_preview -T
        -

        If compositing is enabled and the value of - /general/zoom_desktop is true. - Zoom effect is active.

        -
        % xfconf-query -c xfwm4 -p /general/zoom_desktop
        +

        Note: If the value of + /general/cycle_tabwin_mode is 1 + previews are not displayed.

        +
      34. -

        Alt+Scroll-wheel to zoom in/out anywhere inside desktop.

        - +
      35. + +

        How are elements displayed in TabWin widget?

        -
      36. - -

        How can we adopt the same behavior as Thunar in - GtkFileChooserDialog widget?

        +

        By default in TabWin widget, open applications are + symbolized by previews list.

        -

        By default, Thunar displays directories first, then - files. This behaviour is managed by - /misc-folders-first property.

        +

        Another view is also possible (like in Xfce <= 4.10).

        +
        % xfconf-query -c xfwm4 -p /general/cycle_tabwin_mode -n -t int -s 1
        -

        To adopt the same behavior when GTK3 applications use - GtkFileChooserDialog widget, the value of - sort-directories-first must be changed.

        +

        Possible values are:

        +
          +
        • 0 → previews list
        • +
        • 1 → grid (icons)
        • +
        +
      37. -
        % gsettings set org.gtk.Settings.FileChooser sort.directories-first true
        - +
      38. + +

        How is zoom effect enabled?

        -
      39. - -

        How can xfdashboard be launched at startup?

        +

        If compositing is enabled and the value of + /general/zoom_desktop is true. + Zoom effect is active.

        +
        % xfconf-query -c xfwm4 -p /general/zoom_desktop
        -

        Launch xfce4-session-settings, and go to - Application Autostart tab. Select - xfdashboard.

        +

        Alt+Scroll-wheel to zoom in/out anywhere inside desktop.

        +
      40. -

        To define keyboard shortcuts, launch - xfce4-keyboard-settings, and go to - Application Shortcuts tab.

        - +
      41. + +

        How can we adopt the same behavior as Thunar in + GtkFileChooserDialog widget?

        -
      42. - -

        How can PulseAudio be disabled?

        +

        By default, Thunar displays directories first, then + files. This behaviour is managed by + /misc-folders-first property.

        -

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

        -
        ; autospawn = yes
        +				

        To adopt the same behavior when GTK3 applications use + GtkFileChooserDialog widget, the value of + sort-directories-first must be changed.

        +
        % gsettings set org.gtk.Settings.FileChooser sort.directories-first true
        +
      43. + +
      44. + +

        How can xfdashboard be launched at startup?

        + +

        Launch xfce4-session-settings, and go to + Application Autostart tab. Select + xfdashboard.

        + +

        To define keyboard shortcuts, launch + xfce4-keyboard-settings, and go to + Application Shortcuts tab.

        +
      45. + +
      46. + +

        How can grayscale colors of quicklaunch icons be changed + in xfdashboard?

        + +

        Since 0.3.2 release, a new feature was introduced, based on ClutterDesaturateEffect.

        + +

        Launch xfdashboard-settings and go to + Themes tab. Select one among list.

        + +

        To display current theme:

        +
        % xfconf-query -c xfdashboard -p /theme
        + +

        For example, if it is xfdashboard-blue. Copy + its content into ~/.themes/xfdashboard-blue/.

        +
        % cp -R /usr/local/share/themes/xfdashboard-blue/* ~/.themes/xfdashboard-blue/
        + +

        Edit effects.xml, and change the value + (between 0.0 and 1.0) of factor property.

        +
      47. + +
      48. + +

        How can PulseAudio be disabled?

        + +

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

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

        by

        -
        autospawn = no
        +				

        by

        +
        autospawn = no
         daemon-binary =
        -
      49. -
      +
    2. +