Gnome-screensaver in openbox

I just switched from gnome back to openbox, but I'd like to keep using gnome-screensaver. I've searched the forums and see people just recommending others in my position to use xscreensaver, but that's not what I want. xlockmore has much more than I need, and slock is painfully slow to unlock and turn my screen back on. I like how gnome-screensaver works in gnome, and I like the ctrl alt L command. Is there anyone here that has this setup?
/edit
Can a mod move this to Desktop Environments, I must have forgotten how to read.
Last edited by Sjoden (2009-01-08 20:01:34)

As I understand it, if you want to use gnome-screensaver, you need to load gnome-settings-daemon and perhaps gnome-settings-daemon-helper
I don't have an Arch box around to test, but I believe this will go ahead and load Nautilus on you as well, which will draw the desktop and handle your background, fonts, gtk, etc. I've read you're able to turn this behaviour off with gconftool-2 -s -t bool /apps/nautilus/preferences/show_desktop false
The screensaver config dialog is started with the command gnome-screensaver-preferences

Similar Messages

  • Gnome screensaver keeps starting in openbox

    I don't know what config is starting it, but it is driving me crazy (It tries to run when I'm playing games).  I couldn't find it in ~/.config/openbox/* or in any of the ~./X* files.  I use kdm for logging on (my gf would panic if she ever saw a terminal login)
    pstree:
    init─┬─6*[agetty]
    ├─console-kit-dae───63*[{console-kit-dae}]
    ├─crond
    ├─cupsd
    ├─3*[dbus-daemon]
    ├─2*[dbus-launch]
    ├─dcopserver
    ├─ddclient
    ├─gconfd-2
    ├─gnome-screensav
    ├─gnome-settings-───{gnome-settings-}
    ├─gvfs-fuse-daemo───3*[{gvfs-fuse-daemo}]
    ├─gvfsd
    ├─hald───hald-runner─┬─hald-addon-acpi
    │ ├─hald-addon-inpu
    │ └─2*[hald-addon-stor]
    ├─kded
    ├─kded4
    ├─kdeinit───klauncher
    ├─kdeinit4─┬─kio_file
    │ └─klauncher
    ├─kdm─┬─X
    │ └─kdm───openbox─┬─firefox───5*[{firefox}]
    │ ├─xterm───dash
    │ └─xterm───pstree.x11
    ├─mpd───3*[{mpd}]
    ├─ntpd
    ├─portmap
    ├─privoxy
    ├─rpc.mountd
    ├─rpc.statd
    ├─sshd
    ├─start_kdeinit
    ├─syslog-ng
    └─udevd

    As I understand it, if you want to use gnome-screensaver, you need to load gnome-settings-daemon and perhaps gnome-settings-daemon-helper
    I don't have an Arch box around to test, but I believe this will go ahead and load Nautilus on you as well, which will draw the desktop and handle your background, fonts, gtk, etc. I've read you're able to turn this behaviour off with gconftool-2 -s -t bool /apps/nautilus/preferences/show_desktop false
    The screensaver config dialog is started with the command gnome-screensaver-preferences

  • Inhibit gnome-screensaver

    I want to inhibit gnome-screensaver from starting while I run mplayer.   There is a command "gnome-screensaver-command --inhibit" which should work but even with that running I still have gnome-screensaver starting.  I also can't get any dbus based commands/scripts to stop it. 
    I am running XFCE.  Does that command work other XFCE users? How about GNOME users?

    Allan wrote:
    I want to inhibit gnome-screensaver from starting while I run mplayer.   There is a command "gnome-screensaver-command --inhibit" which should work but even with that running I still have gnome-screensaver starting.  I also can't get any dbus based commands/scripts to stop it. 
    I am running XFCE.  Does that command work other XFCE users? How about GNOME users?
    Though I use xscreensaver, I just installed gnome-screensaver to see what was up. I tested your python DBUS script, and it seems to work fine here. The inhibit cookie is being created (I threw in a print statement just to see the value), and it is being observed until the selected video finishes. As soon as the video finishes, mplayer exits and the screensaver kicks in as expected.
    I'm not sure why you are getting different results, but you can run this from the command line or in a script as it might be helpful for testing:
    dbus-send --session --dest=org.gnome.ScreenSaver --type=method_call --print-reply --reply-timeout=20000 /org/gnome/ScreenSaver org.gnome.ScreenSaver.Inhibit string:"MPlayer" string:"Watching video"
    It's pretty much the command-line version of what you have in your python DBUS-object code.
    By the way, I only passed the 'file' argument to the script when testing, meaning I did not pass mplayer any other options via the python script. I don't know if that is relevant or not.
    The gnome-screensaver command-line worked as well:
    gnome-screensaver-command -i -n mplayer -r test
    MPlayer used to have a command that simulated activity (−heartbeat−cmd) but it doesn't seem to be available anymore (at least not in the Arch version). Also, if you used xscreensaver, MPlayer's '-stop-xscreensaver' command is available.
    Of course other alternatives could include simply killing gnome-screensaver and then restarting it via a script, though that may not be as elegant as using built-in commands or DBUS signals.
    Edit:
    Tested with gnome + openbox here. I only have XFCE-WM4 installed (not the full XFCE desktop) and I didn't test that yet.
    Last edited by MrWeatherbee (2008-01-24 15:06:25)

  • Gnome-screensaver crash

    Gnome-screensaver crashes with this error:
    $ gnome-screensaver
    process 8439: arguments to dbus_connection_add_filter() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 4954.
    This is normally a bug in some application using the D-Bus library.
    /usr/lib/libdbus-1.so.3 [0xb7a5ccde]
    /usr/lib/libdbus-1.so.3 [0xb7a5c0c7]
    /usr/lib/libdbus-1.so.3 [0xb7a505d6]
    /usr/lib/libdbus-1.so.3(dbus_connection_add_filter+0x1e0) [0xb7a29ae0]
    gnome-screensaver(gs_listener_acquire+0x150) [0x8053af0]
    gnome-screensaver(gs_monitor_start+0x66) [0x8050286]
    gnome-screensaver(main+0xff) [0x805002f]
    /lib/libc.so.6(__libc_start_main+0xe0) [0xb7641390]
    gnome-screensaver [0x804fec1]
    Aborted
    I'm in openbox (exec openbox-session in .xinitrc) and dbus is in my deamons array. Is this a bug in the gnome-screensaver package?

    bendany wrote:need to add dbus to rc.conf DAEMONS array. default installation didn't add this. so everytime start gnome will cause a crash.
    That worked for me... Thanks!

  • Gnome-screensaver doesn't autolock the screen in gnome 2.26 in testing

    Under gnome 2.26 in testing, gnome screensaver no longer auto locks the screen after the specified time. The screensaver doesn't even come up either. I have to manually switch off the monitor.
    Anyone else seeing this bug? How can I find out what's going wrong?
    Last edited by hussam (2009-03-31 04:46:48)

    Just start gnome-screensaver on a terminal (it starts up in daemon mode by default).
    That's it.For a test you can set screensaver time to 1 min.
    A random discovery I am happy for
    Last edited by nema.arpit (2010-01-11 17:28:09)

  • GNOME screensaver won't start!@!$%

    for some time now I have not been able to launch gnome-screen-saver, either from a gnome-panel or from the command line.  from the command line one sees the following error:
    ** (gnome-screensaver:2468): WARNING **: Failed to get session presence proxy: Could not get owner of name 'org.gnome.SessionManager': no such name
    I suspect that whatever is causing the problem (presumably with gnome-session) is also causing loss of update sounds in terminal windows (i.e.  pine getting a new message in the inbox used to play a system beep sort of sound, now does nothing.)  I don't care so much about the gnome screensaver, but the window sounds are incredibly useful and I'd really like to get them back.

    for some time now I have not been able to launch gnome-screen-saver, either from a gnome-panel or from the command line.  from the command line one sees the following error:
    ** (gnome-screensaver:2468): WARNING **: Failed to get session presence proxy: Could not get owner of name 'org.gnome.SessionManager': no such name
    I suspect that whatever is causing the problem (presumably with gnome-session) is also causing loss of update sounds in terminal windows (i.e.  pine getting a new message in the inbox used to play a system beep sort of sound, now does nothing.)  I don't care so much about the gnome screensaver, but the window sounds are incredibly useful and I'd really like to get them back.

  • Gnome-screensaver 2.30.0-1 : Can't unlock the screen

    Starting about two weeks ago, I haven't been able to unlock my screen after the screensaver kicks in.  When I move the mouse, the desktop background image flashes for a split second, the mouse cursor is visible, and then the screensaver resumes: the prompt to unlock the screen never appears.  The only way to get back to the desktop is to kill gnome-screensaver.  I've tried re-installing it, and all of it's dependancies (with the exception of libgl as it conflicts with the nvidia package).  As I expected, no luck there, but I didn't know what else to do...
    Here's the output of "gnome-screensaver --no-daemon --debug"
    http://pastebin.com/1B4UZaDj
    I don't know if this helps, but here's some interesting output from LD_DEBUG=libs gnome-screensaver:
    7559: /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so: error: symbol lookup error: undefined symbol: g_module_unload (fatal)
    7559: /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so: error: symbol lookup error: undefined symbol: gtk_module_display_init (fatal)
    7559: /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so: error: symbol lookup error: undefined symbol: g_module_unload (fatal)
    7559: /usr/lib/gio/modules/libgvfsdbus.so: error: symbol lookup error: undefined symbol: g_module_check_init (fatal)
    7559: /usr/lib/gio/modules/libgvfsdbus.so: error: symbol lookup error: undefined symbol: g_module_unload (fatal)
    I hope that doesn't steer anyone in the wrong direction; I just learned about LD_DEBUG last night so I don't know if it's of any help. 
    Any help will be appreciated.

    My gtk2 was already up to date (gtk2 2.20.1-2).  I tried removing it, re-installing it, and then running ldconfig, but the issue is still present.

  • Gnome-screensaver && slim archlinux theme

    Hi all,
    I'm using SLIM + the archlinux theme as my login manager. I like the very simple but beautifull layout.
    As screensaver (read: as window-lock-application) I'm using xscreensaver, but I'm tired of the ugly interface. I mean, we live in 2009, not back in the nineties where those ugly interfaces were a common thing! Gnome-screensaver is a better-looking screensaver/screenlocker, but with the background and the grey login window + buttons it's still not that nice.
    As you all can guess; is there a way to get gnome-screensaver having an interface just like the SLIM loginmanager + archlinux theme? The black screen + nice logo + just a simple password-field?
    I would love this!
    Regards

    Wonder is likely correct; these are tumultuous times for GNOME fans.  If KDE fans thought they had it bad during the transition to version 4, in many ways I think the jump to GNOME 3 and gnome-shell has been even more severe. With KDE, many of missing features were at least expected to be reinstated in subsequent versions; for GNOME 3, many of the features, as we know them, will simply disappear.
    Last edited by thayer (2011-05-29 17:17:20)

  • Mplayer and gnome-screensaver

    How do I disable gnome-screensaver while mplayer is running?  I did a google search and found  http://bugs.archlinux.org/task/5371 which says it should be happening already...

    Yeah, that annoys me, too. I just looked arround  after reading you post and found in ~/.mplayer/gui.conf to set
    stopxscreensaver = "yes"
    seems fixed it half. The screensaver doesn't start, but before not starting he fades out anyway
    But i don't want to disable the fadeout, because i find it useful on other occasions.
    Edit: some collateral Damage -- the screensaver doesn't start anymore although mplayer isn't running anymore (but it still fades out ). Perhaps X restart fixes this, will try later.
    Last edited by kakTuZ (2007-11-14 21:01:16)

  • Gnome screensaver

    I just installed gnome-screensaver and it seemed to set up just fine. Hoiwever, it does not come on at the specified inactive period irrespective of which particular flavor I am using. Any suggestions?

    Do you have a user session of dbus running? If not, try changing "exec gnome-session" to "exec dbus-launch --exit-with-session gnome-session" in your .xinitrc, or putting this (ripped right from the dbus-launch man page) in your .bashrc:
    if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
    eval `dbus-launch --sh-syntax --exit-with-session`
    echo "D-BUS per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS"
    fi
    (The third line is optional.)
    GDM launches a dbus session without any configuration though, so if you use GDM the problem must be something else.

  • Gnome-screensaver "leave message" button gone?

    A recent update seems to have removed the "leave message" feature from the screen lock dialog box of gnome-screensaver.  Was this removed on purpose, and if so, whose decision was it?  Vengeance shall be mine.
    Last edited by futuremonkey (2010-08-25 04:29:31)

    I still have there too
    gnome-screensaver 2.30.0-2

  • Gnome-screensaver ignores input when fading to black

    Hi,
    I'm experiencing the following bug:
    https://bugzilla.gnome.org/show_bug.cgi?id=594082
    It looks like it's now fixed in Fedora. Anyone having the same problem?
    Thanks.

    Fair enough but it's not clear from that if it got fixed by a Fedora dev or upstream... either way, bug reports should go to gnome-screensaver bugzilla.
    Also see this:
    https://bugzilla.redhat.com/show_bug.cgi?id=629419
    https://bugzilla.redhat.com/show_bug.cgi?id=626472
    Would be nice to know if Fedora applied any patches in F11, but I don't get where to look that up atm (stopped here.
    Something else, what graphics are you using? nvidia proprietary here.
    typo
    Last edited by hokasch (2010-09-03 13:34:12)

  • Can't unlock gnome-screensaver, dialog won't come up.

    Hi all,
    I'm having an issue with gnome-screensaver, when the computer locks, it won't unlock, 4 times out of 5. The unlock dialog never appears, it acts as if I don't even send any input. In order to get past the screensaver, I need to switch to tty1, log in, and killall gnome-screensaver. It does occasionally give me the unlock dialog, and I'm not sure why it does that 20% of the time. My issue seems to be a duplicate of this, although I don't want to bump an old thread.
    $ gnome-screensaver --debug --no-daemon 2>&1 | tee gnome-screensaver.txt
    http://pastebin.com/aZmLK3yF
    Edit: I should say, this started a few weeks ago, seemingly without reason; I was using gnome-screensaver 2.30.0-?, but yesterday pacman updated gnome-screensaver to 2.30.0-5, and this issue is still occurring.
    Any help or suggestions would be appreciated.
    Last edited by sargk (2010-09-29 15:16:39)

    Ok, so does it only happen when it times out or if you issue the command xscreensaver-command -lock?
    Which screensaver do you have running?
    I was just thinking that perhaps another program is being run when the screensaver activates that is stealing that focus from the screensaver. 
    I know that there are some that you have to move the mouse to a certain corner or press a certain key combination in order for it to release it's lock.  (can't think of any names though. )

  • Mplayer doesn't stop gnome screensaver

    Hi !
    I'm using the option stop-xscreensave="yes" in mplayer config but after about 5 minutes of playing the movie the screen fades away and i have to login in order to get to mplayer again
    How can i stop this from happening ?
    Thanks a lot !

    Here's my tv watching script.. 
    #!/bin/sh
    # inhibit the screensaver and output to the tv (display 0.2)
    # gnome-screensaver-command -i -r "Watching Videos" &
    xscreensaver-command -exit
    DISPLAY=:0.2 mplayer -fs "$@"
    # killall gnome-screensaver-command
    xscreensaver -no-splash &
    You'ld probably want something more like
    #!/bin/sh
    # inhibit the screensaver and output to the tv
    gnome-screensaver-command -i -r "Watching Videos" &
    mplayer -fs "$@"
    killall gnome-screensaver-command
    Not sure if it is the most efficient way, but I believe it worked.
    You would just copy that to a file named tv.sh (or tv or watch or foo), make the file executable (chmod 755 tv.sh), put it in your path somewhere (/usr/local/bin if that's in your path), and then type tv.sh filename  to start watching  (but I imagine you already knew all that).
    If you use a graphical player.  I dunno.  The player might have an option?  Or else just run the `gnome-screensaver-command -i -r "Watching Videos"` part in a term and kill it when your done.  Or run it from an Alt-F2 dialog with & and kill it when your done might work.  Something to tinker with..

  • How does one configure gnome-screensaver under xfce4

    How does one set the time delay of inactivity gnome-screensaver should wait before activating under xfce4?

    How does one set the time delay of inactivity gnome-screensaver should wait before activating under xfce4?

Maybe you are looking for

  • How to change font size in a call-out tool box?

    Hi, the other day i inserted a call-out tool box in a PDF document, however i cannot find anything that can change the font size of the letters i input in that box. could anyone help? Thanks. Sherman

  • Adobe Acrobat pro ver 10.1.3 Crashes on open or use

    After the update to Acrobat 10.1.3, now Acrobat crashes as soon as I hit any tab drop down.  It works converting if I convert to PDF a website page or use it during a program to convert to the the printer driver to PDF.  But once that opens and I cli

  • Need to send some notifications by mail (not all notif)

    Hi! We run workflow embeded into EBS (11.5.10.2 4RUP). We have a custom workflow that uses Role (WF_LOCAL_ROLES) connected to employee register (ORIG_SYSTEM = 'PER' and orig_system_id = (person_id in per_all_people_f). we get the Role in the db packa

  • Patch failes??

    hai when i applied localization patch(india) everything complted but message thrown out as FAILED APPLYING OBJECTS. i see the metalink doc is 433764.1 . in that doc issue2 was found for me. actually ja_top tables are created in apps schema. so i want

  • Large datasets...paste a formula into entire column

    I have a large data set....>40,000 How do I past a formula to an entire column? e.g. Score a value using "if/then" logic to the entire dataset thanks Ryan