![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Please help with computer name Solaris 5.8 | komputersman | SUN Solaris | 12 | 08-01-2007 11:53 AM |
| who - PC Computer name | gefa | UNIX for Advanced & Expert Users | 4 | 04-26-2007 06:11 AM |
| getting computer name | coredump2003 | High Level Programming | 2 | 02-17-2004 03:45 AM |
| can't acces ftp from my computer | TuMux | UNIX for Dummies Questions & Answers | 7 | 11-18-2003 10:41 AM |
| mailx sender address customisation | vasan_srini | UNIX for Dummies Questions & Answers | 1 | 09-10-2001 05:40 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Another shell customisation for my computer
Hey, this time, I want my rhythmbox to play a different playlist at a set time (about sleeping time). my shellcode works, since if i run it it works, but when i make crontab run it, nothing happens. I try appending commands to the code, such as cp a file, and that occurs, so I have no idea what is wrong. Any ideas? sorry if this is a newbie question, but I really want to customise my system (to tell me to sleep ^_^)
Code:
#kill current rhythmbox if ps ax | grep -v grep | grep "rhythmbox" > /dev/null then /usr/bin/rhythmbox --quit sleep 2 fi #load second profile - sleep profile /usr/bin/rhythmbox --rhythmdb-file=/home/david/.gnome2/rhythmbox/rhythmdb2.xml --toggle-hide & sleep 2 #play from that profile /usr/bin/rhythmbox --play & Last edited by davidY; 01-01-2007 at 05:40 AM. |
| Forum Sponsor | ||
|
|
|
|||
|
I recently found out how to redirect standard error - and it says that:
(rhythmbox:28057): Gtk-WARNING **: cannot open display: so obviously I need the program to do its job without using the display. I think iw ill ask the rhythmbox forums (if there is one). thanks |
|||
| Google The UNIX and Linux Forums |
| Thread Tools | |
| Display Modes | |
|
|