Skip navigation.
Home
Now Shipping Version 8.0

Loading Programs During Login

I posted this once, and I totally lost where I posted it. It disapeared with no warning. I downloaded a hotkeys package that lets me use my multimedia keyboard. That I need to open the Kernal and excute hotkeys before it will work. I was wondering if there is a way to run the command every time someone logs on?

If you want to do this at

If you want to do this at login, you could add commands to the end of ~/.bashrc for each user and do similarly for /etc/skel/.bashrc so you have that as a default for each added user.

It would be best, IMHO, to put the hotkeys invocation in it's own script, centralize the script in your filesystem....probably in /etc, mark its permissions as read-only and executable, and call the script from the ~/.bashrc file.



My occupation?
Well, computer geek-stuff, mostly. I could tell you all about it; but, then I would have to delete you.

Making the script file

No idea on how to make my own scrypt file, do I just add the line hotkeys -t sk2500 in kwrite and save it as a certian extention? And in the ~/.basgrc file, do I just add the line for the script or do I use a command like call or run then the script. Examples would be helpfull.

I added the command to the

I added the command to the file you told me to and now every time I load a konsole it runs the command. This is more anoying then having to run it every time I restart.

LOL...sorry, I screwed that

LOL...sorry, I screwed that one up.

Without looking deeper, my next take on it would be to add it to the /etc/X11/Xsession file, right before the line that reads: "exit 0"

I'll check into it more tomorrow.



My occupation?
Well, computer geek-stuff, mostly. I could tell you all about it; but, then I would have to delete you.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.