You are not logged in.

#1 2012-06-21 11:29:30

drtic_cz
Member
From: Prague, Czech Republic
Registered: 2012-06-21
Posts: 3

[SOLVED] Slim 1.3.2 & Xfce - shutdown buttons doesn't work

I'm running Xfce & Slim, and my Shutdown/restart/hibernate buttons are greyed out..

~/.xinitrc:

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

exec startxfce4 --with-ck-launch

I'm in group power, and I have dbus in damons section in rc.conf...

#ps aux |grep -i dbus

 ps aux |grep -i dbus
dbus       500  0.0  0.0  13724  1696 ?        Ss   11:45   0:01 /usr/bin/dbus-daemon --system
drtic     9311  0.0  0.0  20112   516 ?        S<   12:47   0:00 dbus-launch --autolaunch faf5e40fa2b384a828c369bb000001c0 --binary-syntax --close-stderr
drtic     9312  0.0  0.0  13092  1148 ?        S<s  12:47   0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
drtic     9329  0.0  0.0  20112   592 ?        S    12:47   0:00 /usr/bin/dbus-launch --sh-syntax --exit-with-session
drtic     9330  0.0  0.0  14480  1948 ?        Ss   12:47   0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
drtic     9928  0.1  0.0  13364  1576 ?        S    13:03   0:02 /usr/bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork --print-address 3
drtic    14037  0.0  0.0   8788  1052 pts/2    S+   13:27   0:00 grep -i dbus

any ideas?

Last edited by drtic_cz (2012-06-21 13:21:00)

Offline

#2 2012-06-21 11:56:58

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,557
Website

Re: [SOLVED] Slim 1.3.2 & Xfce - shutdown buttons doesn't work

Welcome to the forums.  Please search the forums before starting a new thread.  Most problems you may face in arch will likely have been already faced - and solved - by others.  This one in particular has a couple of dozen threads already.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2012-06-21 12:04:06

Terminator
Member
From: Belgium
Registered: 2012-05-07
Posts: 265

Re: [SOLVED] Slim 1.3.2 & Xfce - shutdown buttons doesn't work

Since it's your first post:
Change the final line of your .xinitrc into 'exec startxfce' (without the --with-ck-launch).

Offline

#4 2012-06-21 13:20:06

drtic_cz
Member
From: Prague, Czech Republic
Registered: 2012-06-21
Posts: 3

Re: [SOLVED] Slim 1.3.2 & Xfce - shutdown buttons doesn't work

Terminator wrote:

Since it's your first post:
Change the final line of your .xinitrc into 'exec startxfce' (without the --with-ck-launch).

Thanks, that worked for me.. I just read an article on archwiki, that ck-launch is not required since slim 1.3.3.
I'm using Slim 1.3.2, so I didn't try to remove it....

And of course, I searched a lot this forum, it occured after last upgrade, so I searched only few last  pages.

Thanks again, marking it as solved

Offline

#5 2012-06-21 13:30:02

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,557
Website

Re: [SOLVED] Slim 1.3.2 & Xfce - shutdown buttons doesn't work

Yes, perhaps I was harsh for a first post - I appologize for that.

There is an expectation that users will search the forum though.  Admittedly the forum's search function is pretty bad (unless recently improved).  But many search engines (eg google/duck-duck-go) can take site keywords.  Use "site:bbs.archlinux.org" or just "site:archlinux.org" after your keywords, and you'll quickly find the relevant threads.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB