Date: Mon, 30 Jun 2014 12:54:11 +0200 From: Marko =?UTF-8?B?Q3VwYcSH?= <marko.cupac@mimar.rs> To: mexas@bris.ac.uk Cc: freebsd-ports@freebsd.org Subject: Re: large pkg installs - experience Message-ID: <20140630125411.d426e175ab329884f4135b65@mimar.rs> In-Reply-To: <201406301031.s5UAVBed086456@mech-cluster241.men.bris.ac.uk> References: <201406301031.s5UAVBed086456@mech-cluster241.men.bris.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 30 Jun 2014 11:31:11 +0100 (BST) Anton Shterenlikht <mexas@bris.ac.uk> wrote: > 2. Xfce install required some tweaking, I think not all > packages were available from the default repo. In addition, > I had to amend .xsession mentioned in the manual: >=20 > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html > echo "exec /usr/local/bin/startxfce4" >> ~/.xsession >=20 > to this: >=20 > if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then > exec ck-launch-session dbus-launch /usr/local/bin/startxfce4 > else > exec dbus-launch /usr/local/bin/startxfce4 > fi You can run system-wide dbus (by adding dbus_enable=3D"YES" to rc.conf), and start xfce with startxfce4 --with-ck-launch. Personally, as only user of my laptop I am autologging by appending the following to /etc/gettytab (pacija is the username of autologged user): # Autologin by pacija pacija:\ :ht:np:sp#115200:al=3Dpacija: Next, I am modifying line in /etc/ttys: #ttyv1 "/usr/libexec/getty Pc" xterm on secure ttyv1 "/usr/libexec/getty pacija" xterm on secure And finally, appending the following to .tcshrc (assuming my default shell is tcsh, and copying .cshrc to .tcshrc if it does not exist): if ($tty =3D=3D ttyv1) then startxfce4 --with-ck-launch logout endif Very happy with Xfce here, haven't look back at gnome for 4 years. --=20 Marko Cupa=C4=87
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140630125411.d426e175ab329884f4135b65>