VectorLinux
December 21, 2014, 04:56:57 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: How to have different startup scripts per user?  (Read 1378 times)
Stokstaartje
Member
*
Posts: 36


« on: March 10, 2008, 03:23:58 pm »

I would like to have different tasks to run at start-up depending on which user is logging in on the machine. To my understanding this rules out using /etc/rc.d/rc.local for storing these tasks. Or does it?
Logged

----------------------------------
I hope I didn't brain my damage!
Triarius Fidelis
Vecteloper
Vectorian
****
Posts: 2399


Domine, exaudi vocem meam


WWW
« Reply #1 on: March 10, 2008, 04:12:53 pm »

logging in where? on the console? in kdm?

That must be known first
Logged

"Leatherface, you BITCH! Ho Chi Minh, hah hah hah!"

Formerly known as "Epic Fail Guy" and "Döden" in recent months
rbistolfi
Packager
Vectorian
****
Posts: 2291


« Reply #2 on: March 10, 2008, 04:13:24 pm »

rc.local is executed before any user is logged, what kind of commands do you want to run?

Epic was faster.
Logged

"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!
Stokstaartje
Member
*
Posts: 36


« Reply #3 on: March 10, 2008, 04:33:11 pm »

That would be kdm.

For example, whenever I login I have signify generate a random signature. This signature gets used in Thunderbird. Different users have their own set of signatures to pick from.

Does this clarify it a bit better?
Logged

----------------------------------
I hope I didn't brain my damage!
Triarius Fidelis
Vecteloper
Vectorian
****
Posts: 2399


Domine, exaudi vocem meam


WWW
« Reply #4 on: March 10, 2008, 04:45:42 pm »

On 5.9 Standard, at any rate, KDE's Xsession sources ~/.bash_profile (which in turn sources ~/.bashrc). You could run signify there perhaps.
Logged

"Leatherface, you BITCH! Ho Chi Minh, hah hah hah!"

Formerly known as "Epic Fail Guy" and "Döden" in recent months
The Headacher
Louder than you
Global Moderator
Vectorian
*****
Posts: 1553


I like the bass to go BOOM!


WWW
« Reply #5 on: March 11, 2008, 12:26:18 pm »

There's a KDE specific HOWTO thingy here: http://en.opensuse.org/SDB:Applications_autostart_in_KDE

I knew about the ~/.kde/Autostart dir, but I was unsure how to use it. Looks easy enough though.
Logged

Most music on my soundcloud page was arranged in programs running on VL.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!