Olivier Duchateau <duchateau.olivier <at> gmail.com> writes:
> 2012/10/16 Warren Block <wblock <at> wonkity.com>:
> > On Mon, 15 Oct 2012, Olivier Duchateau wrote:
> >> How do you launch your session ? With xinitrc file provides by
> >> x11-wm/xfce4-session or with your own xinitrc.
> > My own .xinitrc, which is just
> > /usr/local/bin/startxfce4
> >> What's your login manager ? You must use login manager which supports
> >> sysutils/consolekit. Like x11/slim, x11/gdm (there's an issue with
> >> x11/xdm).
> > None, just startx. Aha, that is why people are using ck-launch-session.
> > Using that to run startxfce4, it works, and without sudo.
> Ok, you must add in your xinitrc file `ck-launch-session' before
> xfce4-session (don't use startxfce4).
> You can look at /usr/local/etc/xdg/xfce4/xinitrc file. It provides
> this case (line 84 to 107).
> You can test with xinitrc file provided by x11-wm/xfce4-session, and
> then adjust your own.
> > Thank you!
I think the right way to 'startx' is with:
$ cat .xinitrc
exec startxfce4 --with-ck-launch
$ cat `which startxfce4`
$ cat /usr/local/etc/xdg/xfce4/xinitrc
# check if we start xfce4-session with ck-launch-session. this is only
# required for starting from a console, not a login manager
if test "x$XFCE4_SESSION_WITH_CK" = "x1"; then
if which ck-launch-session >/dev/null 2>&1; then
With the above, and a *working* moused configuration:
$ cat /etc/rc.conf
$ cat /usr/local/etc/X11/xorg.conf
Option "AutoAddDevices" "false"
I tried to make suspend work with:
# cp /usr/ports/x11-wm/xfce4-session/files/pkg-message.in /usr/local/etc/polkit-
and removing comment lines, and editing it to
The suspend worked; pressing power button restored the X desktop, with working
external USB mouse, but blocked built-in PS/2 mouse.
So, how to fix the resume from suspend so that mouses work again ?
email@example.com mailing list
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"