Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 329549 - xfce-guide should advise "xfce4-session" instead of "startxfce4" for ck-launch-session
Summary: xfce-guide should advise "xfce4-session" instead of "startxfce4" for ck-launc...
Status: RESOLVED INVALID
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Docs Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-23 08:20 UTC by Samuli Suominen (RETIRED)
Modified: 2010-08-05 21:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2010-07-23 08:20:08 UTC
The xfce-guide.xml says:

Note: If you have ConsoleKit installed, your ~/.xinitrc should instead contain exec ck-launch-session startxfce4. Otherwise, some of your applications may stop working. You'll also need to add consolekit to the default runlevel by running the following command as root: rc-update add consolekit default. 

But I don't think you can run "ck-launch-session" on a script (startxfce4 is a script). I'm pretty sure the correct syntax is:

exec ck-launch-session xfce4-session

That's also what I'm using to get xfce4-power-manager / upower working...
Comment 1 nm (RETIRED) gentoo-dev 2010-07-23 09:40:29 UTC
(In reply to comment #0)
> But I don't think you can run "ck-launch-session" on a script (startxfce4 is a
> script). I'm pretty sure the correct syntax is:
> 
> exec ck-launch-session xfce4-session
> 
> That's also what I'm using to get xfce4-power-manager / upower working...

Sure you can; please try it. Works perfectly for me here, which was why I added the updated launcher command. :)

Now, if the "proper" way of doing it is to use "ck-launch-session xfce4-session" for all systems, then I'll update the guide accordingly.

Is xfce4-session or startxfce4 canonical?

CCing the Xfce team for their feedback, too.
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-07-31 03:12:46 UTC
(In reply to comment #1)

> CCing the Xfce team for their feedback, too.

I'm not a CK user, sorry. No feedback from me. 

Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-08-05 21:58:23 UTC
closing (at least for now...)