Page MenuHomeFreeBSD

D1305.id2730.diff
No OneTemporary

D1305.id2730.diff

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 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//FreeBSD//DTD XHTML 1.0 Transitional-Based Extension//EN"
+"http://www.FreeBSD.org/XML/share/xml/xhtml10-freebsd.dtd"
+[
+<!ENTITY title "The FreeBSD Xfce Project">
+<!ENTITY xfce.url "http://www/xfce.org/">
+<!ENTITY wiki.url "https://wiki.freebsd.org/Xfce">
+<!ENTITY email "freebsd-xfce">
+<!ENTITY forum.url "https://forums.freebsd.org">
+<!ENTITY forum.wm "forums/other-window-managers.31/">
+]>
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>&title;</title>
+
+ <cvs:keyword xmlns:cvs="http://www.FreeBSD.org/XML/CVS">$FreeBSD$</cvs:keyword>
+ </head>
+
+ <body class="navinclude.developers">
+ <p><a href="&xfce.url;">Xfce</a> is a complete graphical desktop
+ environment based on the GTK+ toolkit. It aims to be fast, lightweight
+ and easy-to-use.</p>
+
+ <p>Any questions regarding Xfce on FreeBSD should be addressed to the <a
+ href="mailto:&email;@FreeBSD.org">&email;</a> mailing list, or <a
+ href="&forum.url;/&forum.wm;">FreeBSD forums</a> (<em>Other Window
+ Managers</em> subforum).</p>
+
+ <h2>Resources</h2>
+ <ul>
+ <li><a href="&xfce.url;">Xfce project</a></li>
+ <li><a href="../ports/xfce.html">Available ports...</a></li>
+ <li><a href="&wiki.url;">The FreeBSD Xfce wiki page</a></li>
+ </ul>
+
+ <h2>Frequently Asked Questions</h2>
+ <h3>Contents</h3>
+ <ol>
+ <li><a href="#q01">How to install the Xfce package?</a></li>
+ <li><a href="#q02">Running Xfce?</a></li>
+ <li><a href="#q03">Localization?</a></li>
+ <li><a href="#q04">How to use unified theme wiht GTK3 and GTK2
+ applications?</a></li>
+ <li><a href="#q05">How to launch xfdashboard at start time?</a></li>
+ <li><a href="#q06">How to change keyboard shortcuts (e.g., Thunar,
+ xfce4-terminal)?</a></li>
+ <li><a href="#q07">How to activate compositor effect?</a></li>
+ <li><a href="#q08">How to hide item in menu applications?</a></li>
+ <li><a href="#q09">How to hide panel with full screen
+ applications?</a></li>
+ <li><a href="#q10">How to disable PulseAudio?</a></li>
+ </ol>
+
+ <h3>Full text</h3>
+ <ol>
+ <li>
+ <a name="q01"></a>
+ <h4>How to install the Xfce package?</h4>
+
+ <p>There are two ways to install <strong>Xfce</strong>. One way is to
+ use pkg(8) utility:</p>
+
+ <pre># pkg install xfce4</pre>
+
+ <p>More information on using pkg(8) is available in the <a
+ href="../doc/en_US.ISO8859-1/books/handbook/pkgng-intro.html">FreeBSD
+ Handbook</a>.</p>
+
+ <p>The other way, is to use <a
+ href="../doc/en_US.ISO8859-1/books/handbook/ports-using.html">ports</a>:</p>
+
+ <pre>
+# cd /usr/ports/x11-wm/xfce4
+# make install clean
+ </pre>
+ </li>
+
+ <li>
+ <a name="q02"></a>
+ <h4>Running Xfce?</h4>
+
+ <p>There are several different ways to start Xfce:</p>
+
+ <ul>
+ <li>Using <tt>startx</tt> from a text console.</li>
+ <li>Using display manager (e.g., SLiM, Xdm, ...)</li>
+ </ul>
+
+ <p>Firstly, <tt>.xinitrc</tt> file must be
+ created.</p>
+ <p><strong>Note:</strong> <tt>x11-wm/xfce4-session</tt> already
+ provides this file.</p>
+
+ <pre>
+% cp /usr/local/etc/xdg/xfce4/xinitrc ~/.xinitrc
+ </pre>
+
+ <p>Using <tt>startx</tt> or Xdm, <tt>.xsession</tt> file is also
+ required.</p>
+
+ <pre>
+% ln -sf ~/.xinitrc ~/.xsession
+ </pre>
+
+ <p>If you would like to use Xdm, you must apply the following <a
+ href="dot.xinitrc.diff">patch</a>. It's well known bug (<a
+ href="https://bugzilla.xfce.org/show_bug.cgi?id=8841">bug #8841</a>,
+ <a
+ href="https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191296">PR191296</a>).</p>
+
+ <pre>
+% patch --posix &lt; dot.xinitrc.diff
+ </pre>
+ </li>
+
+ <li>
+ <a name="q03"></a>
+ <h4>Localization?</h4>
+
+ <p>Xfce supports differents languages (internationalization). Even
+ if you have already <a
+ href="../doc/en_US.ISO8859-1/books/handbook/l10n.html">configure
+ your system</a>, we need to add localization settings in
+ <tt>.xinitrc</tt> file.</p>
+
+ <p>The variables, <tt>LANG</tt> and <tt>LC_CTYPE</tt> control locale
+ settings.</p>
+
+ <p>For instance, for French users using latin-9 encoding, these
+ environments variables will be defined like that:</p>
+
+ <pre>
+#!/bin/sh
+
+export LANG="fr_FR.ISO8859-15"
+export LC_CTYPE="fr_FR.ISO8859-15"
+
+[...]
+ </pre>
+
+ <p>Users with no UTF-8 encoding, must also define new variable,
+ <tt>G_FILENAME_ENCODING</tt> (avoid warning in some GTK
+ applications).</p>
+
+ <p>Add following lines in your <tt>.xinitrc</tt>.</p>
+
+ <pre>
+[...]
+
+# 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
+
+[...]
+ </pre>
+ </li>
+
+ <li>
+ <a name="q04"></a>
+ <h4>How to use unified theme wiht GTK3 and GTK2 applications?</h4>
+
+ <p>Install <tt>x11-themes/gnome-themes-standard</tt>, and change
+ value of <tt>/Net/ThemeName</tt> property:</p>
+
+ <pre>
+% xfconf-query -c xsettings -p /Net/ThemeName -t string -s Adwaita
+ </pre>
+
+ <p>Or use <tt>xfce4-appearance-settings</tt>.</p>
+ </li>
+
+ <li>
+ <a name="q05"></a>
+ <h4>How to launch xfdashboard at start time?</h4>
+
+ <p><tt>Xfdashboard</tt> comes from <tt>x11/xfce4-dashboard</tt>.</p>
+
+ <p>Launch <tt>xfce4-session-settings</tt>, and go to
+ <strong>Application Autostart</strong> tab. Select
+ <tt>Xfdashboard</tt>.</p>
+
+ <p>Or copy <tt>xfdashboard-autostart.desktop</tt> file in your own
+ <tt>autostart/</tt> directory (make sure it exists).</p>
+
+ <pre>
+% cp /usr/local/etc/xdg/autostart/xfdashboard-autostart.desktop ~/.config/autostart
+ </pre>
+
+ <p>Now, you can define keyboard shortcut. Launch
+ <tt>xfce4-keyboard-settings</tt>, and go to <strong>Application
+ Shortcuts</strong> tab.</p>
+ </li>
+
+ <li>
+ <a name="q06"></a>
+ <h4>How to change keyboard shortcuts (e.g., Thunar,
+ xfce4-terminal)?</h4>
+
+ <p><tt>/Gtk/CanChangeAccels</tt> must be enabled.</p>
+
+ <p>To check its value:</p>
+
+ <pre>
+% xfconf-query -c xettings -p /Gtk/CanChangeAccels
+ </pre>
+
+ <p>If it is <strong>false</strong>, value must be changed.</p>
+
+ <pre>
+% xfconf-query -c xettings -p /Gtk/CanChangeAccels -T
+ </pre>
+
+ <p>When item menu is active (highlighted), by passing the mouse
+ over, you can directly define new keyboard shortcuts.</p>
+ </li>
+
+ <li>
+ <a name="q07"></a>
+ <h4>How to activate compositor effect?</h4>
+
+ <p>Launch <tt>xfwm4-tweaks-settings</tt>, and go to
+ <strong>Compositor</strong> tab.</p>
+
+ <p>Or change value of <tt>/general/use_compositing</tt>:</p>
+
+ <pre>
+% xfconf-query -c xfwm4 -p /general/use_compositing -t bool -s true
+ </pre>
+
+ <p>Or</p>
+
+
+ <pre>
+% xfconf-query -c xfwm4 -p /general/use_compositing -T
+ </pre>
+ </li>
+
+ <li>
+ <a name="q08"></a>
+ <h4>How to hide item in menu applications?</h4>
+
+ <p>Launch <tt>xfce4-appfinder</tt> and right click on one item (in right
+ pane), then select <strong>Hidden</strong>.</p>
+ </li>
+
+ <li>
+ <a name="q09"></a>
+ <h4>How to hide panel with full screen applications?</h4>
+
+ <p>Sometime, when applications are in full screen mode, panels are
+ not hidden. You can change value of <tt>disable-struts</tt>.</p>
+
+ <pre>
+% xfconf-query -c xfce4-panel -p /panels/panel-<em>id</em>/disable-struts \
+-n -t bool -s true
+ </pre>
+
+ <p>Where <em>id</em> is integer (usually 0 or 1).</p>
+ </li>
+
+ <li>
+ <a name="q10"></a>
+ <h4>How to disable PulseAudio?</h4>
+
+ <p>In <tt>~/.config/pulse/client.conf</tt> file replace these lines:</p>
+
+ <pre>
+; autospawn = yes
+; daemon-binary = /usr/local/bin/pulseaudio
+ </pre>
+
+ <p>By</p>
+ <pre>
+autospawn = no
+daemon-binary =
+ </pre>
+ </li>
+ </ol>
+ </body>
+</html>

File Metadata

Mime Type
text/plain
Expires
Tue, Feb 10, 10:03 AM (12 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28620419
Default Alt Text
D1305.id2730.diff (10 KB)

Event Timeline