Jump to content

Recommended Posts

Posted

Hi,

 

Does anyone know where I put a login script in Gnome2 ?

I don't mean a .bashrc. I need something that runs as a script for the logged in user when they log in to gnome.

 

Startup applications just puts a .desktop file into .config/autostart.

I suppose I could link the .desktop file to a script but what is a more elegant solution please ?

 

TIA

Posted

I think I fixed it. It seems .bashrc does work on gnome login, not just when running a bash shell as I presumed.

I had mistakenly set the login shell to /bin/sh which is where I got confused.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...