LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-10-2002, 11:24 AM   #1
jamaso
Member
 
Registered: Oct 2001
Location: brasil
Distribution: mdrk 8.0,redht7.1,debianpotato
Posts: 615

Rep: Reputation: 30
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 .
 
Old 05-10-2002, 11:36 AM   #2
trusouthrnplaya
Member
 
Registered: Jun 2001
Location: (Cashville) Nashville, TN
Distribution: CentOS 4.0, Slackware 10.2,
Posts: 223

Rep: Reputation: 30
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
 
Old 05-10-2002, 04:03 PM   #3
Rashkae
Member
 
Registered: May 2002
Distribution: Slackware
Posts: 125

Rep: Reputation: 15
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.
 
Old 05-10-2002, 05:12 PM   #4
jamaso
Member
 
Registered: Oct 2001
Location: brasil
Distribution: mdrk 8.0,redht7.1,debianpotato
Posts: 615

Original Poster
Rep: Reputation: 30
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?
 
Old 05-10-2002, 05:16 PM   #5
jamaso
Member
 
Registered: Oct 2001
Location: brasil
Distribution: mdrk 8.0,redht7.1,debianpotato
Posts: 615

Original Poster
Rep: Reputation: 30
can you also tell me about changing the background on BB ? thanks a lot for the help
 
Old 05-10-2002, 09:54 PM   #6
zelgadis
Member
 
Registered: Apr 2002
Location: Venezuela
Distribution: slackware 8.0
Posts: 67

Rep: Reputation: 15
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows manager nin881 Debian 5 12-03-2005 10:49 AM
startx/graphical login manager darkleaf Linux - Security 18 10-10-2004 09:11 AM
startx with window manager ... supermatt Linux - Newbie 4 11-24-2003 09:57 PM
Which windows manager? Chauncemaster Linux - Software 5 08-25-2003 05:49 PM
windows manager... doonam Linux - Newbie 1 08-18-2003 08:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration