Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kdm: User login should start only one application
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
BobBraumeister
n00b
n00b


Joined: 12 Jul 2006
Posts: 15

PostPosted: Wed Apr 02, 2008 12:29 am    Post subject: kdm: User login should start only one application Reply with quote

Hi guys. My gentoo box runs at the moment kde 3.5 and kdm. I usually login with my main user in kdm and use kde.
Now I want another user (named music) which will only load amarok at login. When he closes amarok he should logout. He should not have any possibility to switch to an "real" kde desktop.

My first try was just typing amarok in his .xinitrc and run startx (for testing). But then there was no window design and amarok was not in fullscreen mode. Does I need a lightwight windowmanager in the background? Or any ideas how to do that? I maybe just need a few keywords should be enough.

Thanks in advance
_________________
Don't wonder about the name, it's pronounced german ;)
Back to top
View user's profile Send private message
baeksu
l33t
l33t


Joined: 26 Sep 2004
Posts: 609
Location: Seoul, Korea

PostPosted: Wed Apr 02, 2008 1:07 am    Post subject: Reply with quote

If you don't need a background, you can just put this in your .xinitrc:
Code:
kwin &
amarok


That will close X after you close amarok.

If you want kde to manage your desktop (and background), add 'kdesktop &' above the line with kwin.
_________________
Gnome:
1. A legendary being.
2. A never ending quest to make unix friendly to people who don't want unix and excruciating for those that do.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum