Run simple bash script to start applications at login
Posted
by
ganjan
on Ask Ubuntu
See other posts from Ask Ubuntu
or by ganjan
Published on 2011-03-01T13:00:30Z
Indexed on
2011/03/01
15:32 UTC
Read the original article
Hit count: 516
I want to run a simple bash script automatically when I log in. For example
#!/bin/bash
echo "start spotify"
gnome-terminal -e spotify --title spotify
When I run this command, one gnome-terminal
shows up and spotify
show up. I also want the gnome-terminal to popup "hidden" in a different virtual desktop. (one of the other four virtual desktops you can choose from taskbar)
I tried to add this to /home/me/.bash_login
or something, but that didn't work..
© Ask Ubuntu or respective owner