LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   twm / blackbox (https://www.linuxquestions.org/questions/linux-newbie-8/twm-blackbox-155912/)

vladimir-dk 03-10-2004 12:33 PM

twm / blackbox
 
My default window manager is TWM right now.

I have just run "apt-get install BlackBox"

Reading Package Lists... Done
Building Dependency Tree... Done
Blackbox is already the newest version.
0 upgraded, 0 newly installad, 0 removed and 0 not upgraded.

It is installed now but when i run "startx" it is still twm that is my default window manager ?? How do i change that ??

Plz explain it so i can understand it. I'm a newbie in Linux.... thx

acid_kewpie 03-10-2004 12:41 PM

Code:

echo exec blackbox > ~/.xinitrc

vladimir-dk 03-10-2004 12:51 PM

damn i love you !! when i type "startx" it works!!!

Will it work for all users i create now ?

vladimir-dk 03-10-2004 02:22 PM

what does this command do ?
echo exec blackbox > ~/.xinitrc

skel 03-10-2004 02:59 PM

it puts the text:
exec blackbox

into the .xinitrc file in your home directory

type:
man startx

from a terminal

acid_kewpie 03-10-2004 05:16 PM

it won't work for all default users no, but if you copy that .xinitrc file to /etc/skel then it should be given correctly to each new user. it is also possible to edit the X start scripts to use blackbox as a default if you want to, can't rememebr quite where that is noramlly taken care of though... you may well have an existing global xinitrc at /etc/X11/xinit/


All times are GMT -5. The time now is 01:55 PM.