SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-08-19 16:51:01

krax
New Member
Registered: 2011-08-19
Posts: 8

Openbox + LXsession

I set up jsut with openbox. I want to use lxsession with openbox but i am fuzzy in topology of things?
If i use the lxsession, should i lose ~/.xinitrc and if that is the case how should i do that?
Or even if it is possible; is it the newest way to handle things in openbox or it is deprecated?
I know that basically lxsession is being used for logout?
in this combination what should i do with Display-Manager?
Be kind as always and help and i am appreciating the help in advance.... lol

Offline

Be excellent to each other!

#2 2011-08-19 17:00:54

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,825
Website

Re: Openbox + LXsession

Basically, the openbox-logout-script(-basic) is used for logout. The lxsession "application" I personally find completely useless, at least it didn't bring anything in the past and I simply don't use it.

The openbox-logout-script has gdm as dependency, whereas openbox-logout-script-basic doesn't depend on gdm.

Is it possible you mean LXDE as desktop environment? This could be chosen from the Sessions menu in gdm after installing with sudo apt-get install lxde an optional packages.


Sweaty lads picking up the soap | I love the new "Ignore user" button

Offline

#3 2011-08-19 17:41:27

krax
New Member
Registered: 2011-08-19
Posts: 8

Re: Openbox + LXsession

machinebacon, thanks
I am souly concern with open-box nothing more. but as you know it is the nature of openbox to need separate application to handle certain parts or tasks. no matter what I want the best software for the job.
first of all you tell me that GDM is the basis of the logout script. but what if i use LIGHTDM (Display-Manager)? what script should I use? (could you direct me to the script for logout?)

AND if i use lxsession: Is lxsession the displaymanager like GDM or it just handles the logout part?
if yes how could I use it with lightDm

Offline

#4 2011-08-19 17:57:18

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,825
Website

Re: Openbox + LXsession

the lxsession should actually do 'basic session management' but I never heard a clear statement what is really does, and I remember many users reported that it actually does - nothing. Of course you can call lxsession in the autostart.sh file, that's where it is located by #! default.

About the logout scripts, I have just checked, *both* depend on gdm, the not-basic one needs gnome-power-manager.
For you it means you need to use a script to exit openbox and add the command into your openbox menu. But, IIRC there is an "Exit" in the openbox default menu (not in the #! modification). I can't remember, but it maybe is just a 'killall openbox'

About the session start: Basically you need to create the .xinitrc file, in which you solely put exec openbox-session - this script will be called by the login manager. (No 100% satisfaction guarantee, maybe there needs to be exec dbus-launch openbox-session)

After installing the lightgdm, you will need to use "sudo dpkg-reconfigure lightdm" or whatever the application is called and choose it to be the login manager #1, if you keep gdm installed on your system.

Last edited by machinebacon (2011-08-19 17:58:51)


Sweaty lads picking up the soap | I love the new "Ignore user" button

Offline

#5 2011-08-19 22:14:35

krax
New Member
Registered: 2011-08-19
Posts: 8

Re: Openbox + LXsession

again thank you mate.
What about OBlogout??
is it dependent to GDM?
as far as I can tell is not. but I am confuzed to how I should tweak it to work with openbox+ LightDM

Last edited by krax (2011-08-19 22:45:52)

Offline

#6 2011-08-20 13:59:59

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 3,267
Website

Re: Openbox + LXsession

machinebacon wrote:

the lxsession should actually do 'basic session management' but I never heard a clear statement what is really does, and I remember many users reported that it actually does - nothing.

My feelings too, at least with Crunchbang. If you set up its necessary config files you can use it to set up the processes you need to have running for your desktop setup, something like openbox's autostart.sh

IIRC there is an "Exit" in the openbox default menu (not in the #! modification) ... it maybe is just a 'killall openbox'

Yes, it drops you back either to a gdm login, if gdm's running, or a cli interface.

About the session start: Basically you need to create the .xinitrc file, in which you solely put exec openbox-session - this script will be called by the login manager. (No 100% satisfaction guarantee, maybe there needs to be exec dbus-launch openbox-session)

This is deep water. Once you make an .xinitrc file the default actions that would be triggered by 'startx' are disabled, and you have to figure it all out youself and put it in that file. consolekit, dbus...

An interesting topic though. This laptop I'm posting from now has gdm disabled (with bum, prior to removing it) and a startx command in my .profile file. No .xinitrc though, so Debian's startup scripts take care of all that messy stuff. Details here


John     Please help us keep your forums manageable.
--------------------
( a boring Japan blog , idle twitterings  and GitStuff )
#! forum moderator

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo