Index: en_US.ISO8859-1/htdocs/Makefile =================================================================== --- en_US.ISO8859-1/htdocs/Makefile +++ en_US.ISO8859-1/htdocs/Makefile @@ -73,6 +73,7 @@ SUBDIR+= security SUBDIR+= snapshots SUBDIR+= support +SUBDIR+= xfce .if !defined(WEB_ONLY) || empty(WEB_ONLY) SUBDIR+= doc SUBDIR+= ports Index: en_US.ISO8859-1/htdocs/xfce/Makefile =================================================================== --- en_US.ISO8859-1/htdocs/xfce/Makefile +++ en_US.ISO8859-1/htdocs/xfce/Makefile @@ -0,0 +1,12 @@ +# $FreeBSD$ + +.if exists(../Makefile.conf) +.include "../Makefile.conf" +.endif +.if exists(../Makefile.inc) +.include "../Makefile.inc" +.endif + +DOCS+= index.xml + +.include "${DOC_PREFIX}/share/mk/web.site.mk" Index: en_US.ISO8859-1/htdocs/xfce/Makefile.inc =================================================================== --- en_US.ISO8859-1/htdocs/xfce/Makefile.inc +++ en_US.ISO8859-1/htdocs/xfce/Makefile.inc @@ -0,0 +1,4 @@ +# $FreeBSD$ + +WEBBASE?= /data/xfce +DOC_PREFIX?= ${.CURDIR}/../../../.. Index: en_US.ISO8859-1/htdocs/xfce/dot.xinitrc.diff =================================================================== --- en_US.ISO8859-1/htdocs/xfce/dot.xinitrc.diff +++ en_US.ISO8859-1/htdocs/xfce/dot.xinitrc.diff @@ -0,0 +1,38 @@ +--- .xinitrc.orig ++++ .xinitrc +@@ -87,6 +87,17 @@ + # load local modmap + test -r $HOME/.Xmodmap && xmodmap $HOME/.Xmodmap + ++# Use dbus-launch if installed. ++if test x"$DBUS_SESSION_BUS_ADDRESS" = x""; then ++ if which dbus-launch >/dev/null 2>&1; then ++ eval `dbus-launch --sh-syntax --exit-with-session` ++ # some older versions of dbus don't export the var properly ++ export DBUS_SESSION_BUS_ADDRESS ++ else ++ echo "Could not find dbus-launch; Xfce will not work properly" >&2 ++ fi ++fi ++ + # run xfce4-session if installed + if which xfce4-session >/dev/null 2>&1; then + +@@ -124,17 +135,6 @@ + + ################## + +-# Use dbus-launch if installed. +-if test x"$DBUS_SESSION_BUS_ADDRESS" = x""; then +- if which dbus-launch >/dev/null 2>&1; then +- eval `dbus-launch --sh-syntax --exit-with-session` +- # some older versions of dbus don't export the var properly +- export DBUS_SESSION_BUS_ADDRESS +- else +- echo "Could not find dbus-launch; Xfce will not work properly" >&2 +- fi +-fi +- + # this is only necessary when running w/o xfce4-session + xsetroot -solid black -cursor_name watch + Index: en_US.ISO8859-1/htdocs/xfce/index.xml =================================================================== --- en_US.ISO8859-1/htdocs/xfce/index.xml +++ en_US.ISO8859-1/htdocs/xfce/index.xml @@ -0,0 +1,283 @@ + + + + + + + +]> + + +
+Xfce is a complete graphical desktop + environment based on the GTK+ toolkit. It aims to be fast, lightweight + and easy-to-use.
+ +Any questions regarding Xfce on FreeBSD should be addressed to the &email; mailing list, or FreeBSD forums (Other Window + Managers subforum).
+ +There are two ways to install Xfce. One way is to + use pkg(8) utility:
+ +# pkg install xfce4+ +
More information on using pkg(8) is available in the FreeBSD + Handbook.
+ +The other way, is to use ports:
+ ++# cd /usr/ports/x11-wm/xfce4 +# make install clean ++
There are several different ways to start Xfce:
+ +Firstly, .xinitrc file must be + created.
+Note: x11-wm/xfce4-session already + provides this file.
+ ++% cp /usr/local/etc/xdg/xfce4/xinitrc ~/.xinitrc ++ +
Using startx or Xdm, .xsession file is also + required.
+ ++% ln -sf ~/.xinitrc ~/.xsession ++ +
If you would like to use Xdm, you must apply the following patch. It's well known bug (bug #8841, + PR191296).
+ ++% patch --posix < dot.xinitrc.diff ++
Xfce supports differents languages (internationalization). Even + if you have already configure + your system, we need to add localization settings in + .xinitrc file.
+ +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 that:
+ ++#!/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).
+ +Add following lines in your .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" + export G_FILENAME_ENCODING +fi + +[...] ++
Install x11-themes/gnome-themes-standard, and change + value of /Net/ThemeName property:
+ ++% xfconf-query -c xsettings -p /Net/ThemeName -t string -s Adwaita ++ +
Or use xfce4-appearance-settings.
+Xfdashboard comes from x11/xfce4-dashboard.
+ +Launch xfce4-session-settings, and go to + Application Autostart tab. Select + Xfdashboard.
+ +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 ++ +
Now, you can define keyboard shortcut. Launch + xfce4-keyboard-settings, and go to Application + Shortcuts tab.
+/Gtk/CanChangeAccels must be enabled.
+ +To check its value:
+ ++% xfconf-query -c xettings -p /Gtk/CanChangeAccels ++ +
If it is false, value must be changed.
+ ++% 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.
+Launch xfwm4-tweaks-settings, and go to + Compositor tab.
+ +Or change value of /general/use_compositing:
+ ++% xfconf-query -c xfwm4 -p /general/use_compositing -t bool -s true ++ +
Or
+ + ++% xfconf-query -c xfwm4 -p /general/use_compositing -T ++
Launch xfce4-appfinder and right click on one item (in right + pane), then select Hidden.
+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 ++ +
Where id is integer (usually 0 or 1).
+In ~/.config/pulse/client.conf file replace these lines:
+ ++; autospawn = yes +; daemon-binary = /usr/local/bin/pulseaudio ++ +
By
++autospawn = no +daemon-binary = ++