mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: Aug. 07 2006,03:27 |
|
Quote | Was I supposed to do anything else besides go to the end, press enter, and type that one line? |
Yes. If you add it to the end of .xinitrc the command will never run. The "exec" command that starts the window manager replaces the current process (.xinitrc) with a new process (the window manager), so .xinitrc is finished at this point and will run no more commands.
Any commands that you want to run along with the window manager should be added above the part that starts the window manager. In the DSL .xinitrc, this would be before the "case $DESKTOP in" part. An exception to this would be if you want to run a command with a specific window manager (see where "fluxter" is added in relation to fluxbox).
Also, most of these commands should be followed by "&" so they will be run in the background and allow .xinitrc to continue to the next command. Exceptions to this would be a few programs that are built to run in the background by default (most daemons), and programs that run in such a short time that running them in the background isn't necessary (such as xsri and xset).
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|