LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   startx + windows manager ? (https://www.linuxquestions.org/questions/slackware-14/startx-windows-manager-20656/)

jamaso 05-10-2002 11:24 AM

startx + windows manager ?
 
I have this brazilian magazine (revista do linux) and it often refers to conectiva linux . there`s this article (which window manager?) , they talk about .wm_style inside /home of each user . i looked for it but no sucess .it is said that it contains one line telling which wm to enter when you startx . can anyone tell me me anything about it please ? i am trying to get black box to initialize when i startx . BTW i spent the last three days trying to configure blackbox and i did it , now i have my own Menu , and a clean and cool desktop . when i run top i can clearly see the difference from KDE output. One more question ,does anyone know how to change background on blackbox ? thanks in advance .

trusouthrnplaya 05-10-2002 11:36 AM

to get BB to start when typing startx you have to edit the xinitrc file using a editor.
change what ever is there to....(exec blackbox) and save

Rashkae 05-10-2002 04:03 PM

Distro?
 
I can provide details for Slackware, but you failed to indicate which Distro your talking about (though you posted in the Slackware forum).

Go to /etc/X11/xinit directory. If xinitrc.blackbox does not exist, copy one of the others, (like xinitrc.kde) to xinitrc.blackbox and edit it with a text editor to replace the start-kde with blackbox.

To make this the default for all users, copy or symlink the file to xinitrc

If you want to this to be the default for certain users only, copy the file to .xinitrc in that user's home directory.

jamaso 05-10-2002 05:12 PM

I`m using slackware . I found the file :
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f $userresources ]; then
xrdb -merge $userresources
fi
if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
# Start the window manager:
startkde

___________________________________________________________________-
Is this one i should change to startblacbox or exec blackbox ?
does it matter the rest of the file


at /etc/X11/Xinit i have this :
xinitrc
xinitrc.e
xinitrc.fvwm2
fvwm95
gnome
kde
openwin
sawfish
twm
wmaker


which one should i edit , please?

jamaso 05-10-2002 05:16 PM

can you also tell me about changing the background on BB ? thanks a lot for the help

zelgadis 05-10-2002 09:54 PM

To change background I use bbrb, you can find it at:

http://sourceforge.net/projects/bbrb

also there are other cools utilities for blackbox in:

http://bbtools.windsofstorm.net/

to monitor the system i recomend gkrellm:

http://web.wt.net/~billw/gkrellm/gkrellm.html


To start blackbox with the command startx I add the following lines in the file ~/.xinitrx:

gkrellm -w &
bbkeys -w -t &
exec /usr/x11R6/bin/blackbox


All times are GMT -5. The time now is 12:14 AM.