You are not logged in.

#1 2009-04-07 02:09:54

ShadowKyogre
Member
From: Hell! XP No... I'm not telling
Registered: 2008-12-19
Posts: 476
Website

Is thinking of Openbox: Logging out and locking?

I was thinking of having Openbox as my main desktop environment...and I've been stumped on how to have a command that will lock the desktop and allow one to switch users (will be using GDM) and how to make Openbox's "Exit" Menu entry simply log the user out and bring them back to GDM. How do I do that?


For every problem, there is a solution that is:
Clean
Simple and most of all...wrong!
Github page

Offline

#2 2009-04-07 02:23:37

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Is thinking of Openbox: Logging out and locking?

ShadowKyogre wrote:

I was thinking of having Openbox as my main desktop environment...and I've been stumped on how to have a command that will lock the desktop and allow one to switch users (will be using GDM) and how to make Openbox's "Exit" Menu entry simply log the user out and bring them back to GDM. How do I do that?

xlock and/or slock will enable you to lock the desktop. and the regular Openbox exit command should get you back to gdm if you have spawned it from inittab

Last edited by Inxsible (2009-04-07 02:39:54)


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2009-04-07 02:36:20

ShadowKyogre
Member
From: Hell! XP No... I'm not telling
Registered: 2008-12-19
Posts: 476
Website

Re: Is thinking of Openbox: Logging out and locking?

(for the exit command) Weirdly it did not when I tried after spawning it from the inittab. Maybe I should try again ^^;

Last edited by ShadowKyogre (2009-04-07 02:36:44)


For every problem, there is a solution that is:
Clean
Simple and most of all...wrong!
Github page

Offline

#4 2009-04-07 02:40:18

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Is thinking of Openbox: Logging out and locking?

ShadowKyogre wrote:

(for the exit command) Weirdly it did not when I tried after spawning it from the inittab. Maybe I should try again ^^;

did you reboot after making the change?


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#5 2009-04-07 05:14:53

froli
Member
From: Germany
Registered: 2008-06-17
Posts: 455

Re: Is thinking of Openbox: Logging out and locking?

You should try this

And then you can add something like that in your menu.xml

            <item label="Exit">
                <action name="Execute">
                    <execute>
                        python ~/Documents/scripts/shutdown_box/shutdown.py
                    </execute>
                </action>
            </item>

Edit: I missread... this script don't really solve your problem, but maybe you'll have some interest in it.

Last edited by froli (2009-04-07 07:09:28)


archlinux on Macbook Pro 10,1

Offline

Board footer

Powered by FluxBB