LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-16-2003, 09:25 PM   #1
MediaTracker
LQ Newbie
 
Registered: Oct 2003
Location: Quebec City
Distribution: Slackware
Posts: 3

Rep: Reputation: 0
Launch commands at BlackBox startup


Hello everyone,

I use BlackBox as my window manager and I want to launch a few commands when I log in to my account. On my home PC I simply use a .xsession file in which I put those commands, and then the command to launch the window manager itself, but over here at school there is no "default" option in KDM, so blackbox is launched without executing .xsession or .xinitrc (there's a "Blackbox" option in KDM).

I've been searching the BlackBox docs and the Web for an hour now, does anyone know if BlackBox has an option to launch a command upon startup ? I know style files have such an option, but that's not their purpose, I don't want to use that.

thanks a lot!
Herb
 
Old 10-16-2003, 10:00 PM   #2
littis
LQ Newbie
 
Registered: Dec 2002
Location: usa
Distribution: LMDE
Posts: 22

Rep: Reputation: 15
I have this in my .xinitrc and it works fine with blackbox:

/usr/sbin/numlockx on &
/usr/X11R6/bin/xscreensaver -no-splash &
/usr/bin/gkrellm &

# Start the window manager:
exec /usr/X11R6/bin/blackbox
 
Old 10-16-2003, 11:12 PM   #3
MediaTracker
LQ Newbie
 
Registered: Oct 2003
Location: Quebec City
Distribution: Slackware
Posts: 3

Original Poster
Rep: Reputation: 0
Hey, thanks for the reply.

As I said I don't use a .xinitrc. As I understand it, for X to execute the .xinitrc or .xsession file, you must either use "startx" or select "default" on the login manager. My school's login manager does not have a "default" option, but has a "blackbox" option...

If there's any way I can fall back to the .xsession way of doing things it'd solve my problem too.

thanks
Herb

Last edited by MediaTracker; 10-17-2003 at 12:02 AM.
 
Old 10-16-2003, 11:51 PM   #4
littis
LQ Newbie
 
Registered: Dec 2002
Location: usa
Distribution: LMDE
Posts: 22

Rep: Reputation: 15
Aahh, sorry....missed that point. I'm not sure how to help you now
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to launch a program as a defined user at startup. Linux.tar.gz Linux - Software 2 03-20-2005 12:28 PM
Howto launch script at startup sendas4 Linux - Newbie 2 03-10-2005 11:51 AM
Have Firefox Launch X on startup Johnathan4 Linux - Software 1 02-12-2005 11:02 AM
Is there a simple way to launch commands on other machines? BrianK Linux - Networking 3 01-04-2004 05:30 PM
blackbox start programm on startup ichbinesderelch Linux - General 2 12-15-2002 09:37 PM


All times are GMT -5. The time now is 01:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration