You are not logged in.

#1 2010-12-24 12:20:22

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

running gnome-screensaver on lxde/openbox

What's the trick to getting gnome-screensaver to run under LXDE? 
*I ran gnome-screensaver-preferences and defined the idle time to active.
*I added it to /etc/xdg/lxsession/LXDE/autostart
*I see it running via a ps aux | grep screen

EDIT: if I start it manually I get:

$ gnome-screensaver

** (gnome-screensaver:4839): WARNING **: Failed to get session presence proxy: Could not get owner of name 'org.gnome.SessionManager': no such name

Googling on this didn't bring up anything useful.  Looks like something is missing a "org.gnome.SessionManager" tag or..?

I did find this thread but I already have gnome-session installed.

Last edited by graysky (2010-12-24 12:55:20)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2010-12-24 23:25:33

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: running gnome-screensaver on lxde/openbox

Made some progress... if I load gnome-session from /etc/xdg/lxsession/LXDE/autostart I am able to use gnome-screensaver.  A side effect of running gnome-session however is that the damn default gnome menus appear on top of my lxde ones upon loading gnome-session!  I deleted one and set the other to auto hide which is kind of lame.  Suggestions are welcomed!

EDIT: this method causes another bad side effect: a big fat error message , "Could not acquire name on session bus."  Upon clicking "Close" (the only option), the CPU usage spikes until dropping out of X.

screenshot1ti.png

Last edited by graysky (2010-12-25 01:31:00)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2010-12-25 00:38:29

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: running gnome-screensaver on lxde/openbox

Is there a reason you want gnome-screensaver specifically? There are other apps for screensavers and/or screen locking.

Offline

#4 2010-12-25 01:08:04

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: running gnome-screensaver on lxde/openbox

Xscreensaver is problematic with the applications I'm running.  Gnome-screensaver is a peach by comparison.

I think I got it!

1) Remove @gnome-session from /etc/xdg/lxsession/LXDE/autostart
2) Add a link in ~/.config/autostart to /usr/share/xsessions/openbox-gnome.desktop

Everything seems to be working.  Now the only challenge I'm seeing is how to disable the auto startup of all this gnome crap that apperantly gets called somehow with the openbox-gnome-session:

$ ps aux | grep gnome-
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
facade    1668  0.0  0.1 177104  4568 ?        Sl   20:34   0:00 /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
facade    1673  0.0  0.1 201452  6460 ?        Sl   20:34   0:00 gnome-session --default-session-key /desktop/gnome/session/openbox_session
facade    1718  0.1  0.2 259452  9340 ?        Ssl  20:34   0:00 /usr/bin/gnome-settings-daemon
facade    1723  0.2  0.3 357444 13052 ?        Sl   20:34   0:00 gnome-panel
facade    1740  0.0  0.2 317568  8420 ?        Sl   20:34   0:00 /usr/lib/gnome-panel/wnck-applet
facade    1742  0.1  0.3 430620 15616 ?        Sl   20:34   0:00 /usr/lib/gnome-panel/clock-applet
facade    1744  0.0  0.1 208448  7220 ?        Sl   20:34   0:00 gnome-power-manager
facade    1746  0.0  0.1 140540  6448 ?        S    20:34   0:00 /usr/lib/gnome-disk-utility/gdu-notification-daemon
facade    1758  0.0  0.0 146584  2576 ?        Ss   20:34   0:00 gnome-screensaver
facade    1809  0.0  0.0   8152   964 pts/0    S+   20:34   0:00 grep --color=auto gnome-

Thoughts?

Last edited by graysky (2010-12-25 01:41:52)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB