Running an app on Blackbox login?
I want an application to start as soon as I login to Blackbox via XDM. Is this possible?
|
Yeap, just add it in your .xinitrc (or the global /etc/xinit/xinitrc.blackbox) file. Remember to add a & at the end and put the line before starting the window manager.
|
Try add it to your ~/.xinitrc, like
Code:
# do no forget the & [edit] as gbonvehi said :) |
http://blackboxwm.sourceforge.net/Bl...5e338c500db342
That says to use either .xinitrc or .Xsession. I read elsewhere that .xinitrc is used if you're starting X via a command line with 'startx'. |
Where else would the .xinitrc file be? I have no xinit directory under /etc.
|
Try put the command in ~/.xprofile
|
Doesn't exist.
|
create it, then (it is a file, not a directory)
|
And do what with it?
|
You create the file then you add your command
followed by a & as posted above |
So in that file, I'll only have the command I want to execute, followed by &?
In every other example, the commands you want to execute preceed the execution of whichever window manager you are booting into. Just making sure. |
Yes only your command, and if it is located
in an exotic place like /opt/chaos/bin, add its complete path to be sure |
Alright...
That worked, but it loaded the app BEFORE Blackbox loaded. After I closed it, then Blackbox loaded. |
That's why the & is important (to put the process in background)
|
I'm going to pretend like that never happened. :cool:
|
All times are GMT -5. The time now is 03:54 AM. |