Index: index.xml =================================================================== --- index.xml +++ index.xml @@ -1,249 +1,306 @@ - + + + - - - - - + ]> - - &title; - - $FreeBSD$ - + + &title; - -

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

+ $FreeBSD$ + -

Any questions regarding Xfce on FreeBSD should be addressed to the &email; mailing list, or FreeBSD forums (Other Window - Managers subforum).

+ +

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

-

Resources

- - -

Frequently Asked Questions

-

Contents

-
    -
  1. How is Xfce installed?
  2. -
  3. How is Xfce started?
  4. -
  5. What about localization?
  6. -
  7. How can unified thems be used with GTK3 and GTK2?
  8. -
  9. How can xfdashboard be lauched at startup?
  10. -
  11. How can keyboard shortcuts be changed for programs - like Thunar and xfce4-terminal?
  12. -
  13. How is compositing enabled?
  14. -
  15. How can menu items be hidden?
  16. -
  17. How can the panel be hidden with fullscreen applications?
  18. -
  19. How can PulseAudio be disabled?
  20. -
+

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

-

Full text

-
    -
  1. - -

    How is Xfce installed?

    - -

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

    - -
    # pkg install xfce4
    +

    Resources

    + -

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

    - -

    The other way is to use ports:

    +

    Frequently Asked Questions

    +

    Contents

    +
      +
    1. How is Xfce installed?
    2. +
    3. How is Xfce started?
    4. +
    5. What about localization?
    6. +
    7. How can unified themes be used with GTK3 and + GTK2?
    8. +
    9. How can keyboard shortcuts be changed in + GTK2 applications ?
    10. +
    11. How can menu items be hidden?
    12. +
    13. How can the panel be hidden with fullscreen + applications?
    14. +
    15. How can double title bars be removed in some + applications?
    16. +
    17. How is windows preview displayed in TabWin + widget?
    18. +
    19. How are elements displayed in TabWin + widget?
    20. +
    21. How is zoom effect enabled?
    22. +
    23. How can xfdashboard be lauched at + startup?
    24. +
    25. How can PulseAudio be disabled?
    26. +
    -
    # cd /usr/ports/x11-wm/xfce4
    -# make install clean
    -
  2. +

    Full text

    +
      +
    1. + +

      How is Xfce installed?

      -
    2. - -

      How is Xfce started

      +

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

      +
      # pkg install xfce
      -

      There are several different ways to start Xfce:

      +

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

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

      The other way is to use ports: +

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

      Firstly, .xinitrc file must be - created.

      -

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

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

      How is Xfce started?

      -

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

      +

      There are several different ways to start Xfce:

      +
        +
      • Using startx from a text console.
      • +
      • Using display manager (e.g., SLiM, Xdm, ...)
      • +
      -
      % ln -sf ~/.xinitrc ~/.xsession
      +

      Firstly, .xinitrc file must be created.

      -

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

      +

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

      +
      % cp /usr/local/etc/xdg/xfce4/xinitrc ~/.xinitrc
      -
      % patch --posix < dot.xinitrc.diff
      -
    5. - -
    6. - -

      What about localization?

      +

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

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

      Xfce supports differents languages (internationalization). Even - if you have already configure - your system, we need to add localization settings in - .xinitrc file.

      +

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

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

      The variables, LANG and LC_CTYPE control locale - settings.

      +
    8. + +

      What about localization?

      -

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

      +

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

      -
      #!/bin/sh
      +	

      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
      +
       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 your .xinitrc.

      - -
      [...]
      -
      +	

      Add following lines in .xinitrc file.

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

      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
      +
    11. -

      Or use xfce4-appearance-settings.

      - +
    12. + +

      How can unified themes be used with GTK3 and GTK2?

      -
    13. - -

      How can xfdashboard be lauched at startup?

      +

      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
      -

      Xfdashboard comes from x11/xfce4-dashboard.

      +

      Or use xfce4-appearance-settings.

      +
    14. -

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

      +
    15. + +

      How can keyboard shortcuts be changed in GTK2 + applications?

      -

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

      +

      /Gtk/CanChangeAccels must be enabled.

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

      To check its value:

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

      Now, you can define keyboard shortcut. Launch - xfce4-keyboard-settings, and go to Application - Shortcuts tab.

      -
    16. +

      If it is false, value must be changed.

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

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

      +

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

      -

      /Gtk/CanChangeAccels must be enabled.

      +

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

      +
    18. -

      To check its value:

      +
    19. + +

      How can menu items be hidden?

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

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

      +
    20. -

      If it is false, value must be changed.

      +
    21. + +

      How can the panel be hidden with fullscreen + applications?

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

      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
      -

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

      -
    22. +

      Possible values are:

      + + +

      Where id is integer, it represents panel.

      -
    23. - -

      How is compositing enabled?

      +

      Or go to Panel Preferences.

      +
    24. -

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

      +
    25. + +

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

      -

      Or change value of /general/use_compositing:

      +

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

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

      To avoid this artifact, compositing must be enabled.

      -

      Or

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

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

      -
    27. - -

      How can menu items be hidden?

      +

      Or change the value of + /general/use_compositing:

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

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

      - +
    29. + +

      How is windows preview displayed in TabWin widget?

      -
    30. - -

      How can the panel be hidden with fullscreen applications?

      +

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

      -

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

      +

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

      +
      % xfconf-query -c xfwm4 -p /general/cycle_preview -T
      -
      % xfconf-query -c xfce4-panel -p /panels/panel-id/disable-struts -n -t bool -s true
      +

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

      +
    31. -

      Where id is integer (usually 0 or 1).

      - +
    32. + +

      How are elements displayed in TabWin widget?

      -
    33. - -

      How can PulseAudio be disabled?

      +

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

      -

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

      +

      Another view is also possible.

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

      Possible values are:

      +
        +
      • 0 → icons list
      • +
      • 1 → grid
      • +
      +
    34. + +
    35. + +

      How is zoom effect enabled?

      + +

      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
      + +

      Alt+Scroll-wheel to zoom in the window manager.

      +
    36. + +
    37. + +

      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.

      +
    38. + +
    39. + +

      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 =
      -
    40. -
    - + +
+