You are not logged in.

#1 2010-02-22 19:49:50

tyndallc
Member
From: Manitoba, Canada
Registered: 2010-02-20
Posts: 20

Logoff Command

I am new to Archlinux and I am in the process of setting up openbox using obmenu.  What is the command that I would use to logout of the openbox session and return to the login screen (using slim for login manager)?

Thanks.

Offline

#2 2010-02-22 19:55:51

hw-tph
Member
Registered: 2006-11-01
Posts: 149

Re: Logoff Command

openbox --exit works, but you could use this instead:

<item label="Logout">
  <action name="Exit">
    <prompt>yes</prompt>
  </action>
</item>

Compare with the example files in /etc/xdg/openbox/ or in the Openbox wiki.

Offline

#3 2010-02-22 19:56:47

tyndallc
Member
From: Manitoba, Canada
Registered: 2010-02-20
Posts: 20

Re: Logoff Command

Where do I put that code?

Offline

#4 2010-02-22 20:26:25

jimburnettva
Member
From: Virginia, USA
Registered: 2010-02-12
Posts: 48
Website

Re: Logoff Command

In obmenu it would be a "New Item" under the system menu.

I use an action of "exit"

or you can add this in the menu.xml file.

<menu id="root-menu" label="Openbox 3">
                <menu id="apps-menu"/>
                <menu id="system-menu"/>
                <separator/>
                <item label="Log Out">
                        <action name="Exit">
                                <prompt>
                                        yes
                                </prompt>
                        </action>
                </item>
        </menu>


in ~/.config/openbox/menu.xml


My Linux & Progamming Blog - Jimmy Burnett

Offline

#5 2010-02-22 21:19:05

hw-tph
Member
Registered: 2006-11-01
Posts: 149

Re: Logoff Command

I suggest reading the Arch wiki article on Openbox. Also, the Openbox documentation is very clear and easy to follow.

Welcome to Arch Linux. Hope you enjoy it.

Offline

Board footer

Powered by FluxBB