|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
execute commands from xinitrc
I was playing with different wm and came across flwm which is based on wm2. As it do not provide any configuration, I was wondering is there a way to execute commands from my xinitrc. Commands such as for setting desktop backgrounds, starting conky and xscreensaver.
I tried Code:
exec /usr/local/bin/feh --bg-scale /usr/home/user/Pictures/wall.jpg exec /usr/local/bin/conky |
|
|||
hmmmm..........
ya I tried '&' too. but didn't worked, but now its working. I thought we need to start wm first then need to execute the rest of the commands. Which don't seems to be the case. Thanks |
|
||||
it's just a shell script, so you can do basically anything you can in sh.
my own system works off an initialization script, amounting to psetbg& pidgin& gkrellm& ... blackbox
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
Tags |
xinitrc |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
No DRI + GLX commands? | Hrr4 | FreeBSD General | 5 | 21st September 2008 10:05 AM |
Execute a command during login | rex | FreeBSD General | 4 | 12th September 2008 08:09 PM |
ruby execute commands remotely | Dr_Death_UAE | Programming | 0 | 18th August 2008 11:23 AM |
Cron won't execute a perl script | ivanatora | FreeBSD General | 4 | 17th August 2008 07:53 AM |
Cisco IOS commands ?? | jb_daefo | Off-Topic | 7 | 5th June 2008 01:53 AM |