hello all,
I've been able to write a basic script that opens a terminal and echo's a lil message
my issue, i want it to open its pseudoterminal as soon as i log into GUI
the script:
Code:
#!/bin/bash
if [ $1 = "start" ]
then
echo `gnome-terminal -x bash -c "echo 'standard daemon modified' ; bash"`
sleep 4
elif [ $1 = "stop" ]
then
echo "standard daemon executed"
sleep 4
elif [ $1 = "restart" ]
then
echo "standard daemon resurrected"
sleep 4
fi
ive tried putting it in /usr/bin as an .sh file
while simultaneously adding it to the /user/share/gnome/autostart dir
also, editing the .bashrc and or .bash_profile (s) in /home/*user*
and other locations only once yeilded my chosen echo, and that only after i had opened the pseudo terminal manually.
any and all help is most appreciated, im not looking for a handout, but nudges are good!
(note, the script is chmod'd to 755, and hence, executable by root or reg users. thx)