View previous topic :: View next topic |
Author |
Message |
hudsonhauck Apprentice
Joined: 16 May 2002 Posts: 182 Location: Albany, CA
|
Posted: Sat May 18, 2002 10:12 pm Post subject: fluxbox questions |
|
|
I have some questions about fluxbox. I installed KDE, but I decided to switch over to Fluxbox.
1) What do you type to start Fluxbox? When I type fluxbox, it tells me that it can't get hold of the x window or something.
2) How do the tabbed windows work? _________________ Matthew Hauck
http://matthauck.blogspot.com/ |
|
Back to top |
|
|
474 l33t
Joined: 19 Apr 2002 Posts: 714
|
|
Back to top |
|
|
hudsonhauck Apprentice
Joined: 16 May 2002 Posts: 182 Location: Albany, CA
|
Posted: Sun May 19, 2002 12:49 am Post subject: |
|
|
Where is the .xinitrc file?
So, in place of "startkde", I would type "fluxbox"? _________________ Matthew Hauck
http://matthauck.blogspot.com/ |
|
Back to top |
|
|
FINITE Guru
Joined: 10 May 2002 Posts: 449
|
Posted: Sun May 19, 2002 1:13 am Post subject: |
|
|
Are you not able to access fluxbox through the kdm login window? |
|
Back to top |
|
|
474 l33t
Joined: 19 Apr 2002 Posts: 714
|
Posted: Sun May 19, 2002 4:51 am Post subject: Location of .xinitrc |
|
|
Quote: | Where is the .xinitrc file? |
It's in your home directory, and is therefore a per-user setting - the file itself doesn't necessarily exist until you've created it for the first time. As it is a "dotfile" you won't see it in your console unless you use ls -a. The example in the link I gave just moves you to your home dir before outputting text to the file, you can just as well use a text editor if you prefer, e.g. nano ~/.xinitrc. In your case just literally paste fluxbox (name of the window manager binary) on a single line in the file, save and startx will bring everything up fine. |
|
Back to top |
|
|
AutoBot l33t
Joined: 22 Apr 2002 Posts: 968 Location: Usually Out
|
Posted: Sun May 19, 2002 5:28 am Post subject: |
|
|
Assuming all you had in your ~/.xinitrc was exec startkde you can do this to change it:
Code: |
echo "exec fluxbox" > ~/.xinitrc
startx
|
All goes well with the startx you will be looking at fluxbox as your wm, I said if thats all that you have in ~/.xinitrc because the above command will overwrite your original. _________________ This message self destructed a long time ago. |
|
Back to top |
|
|
hudsonhauck Apprentice
Joined: 16 May 2002 Posts: 182 Location: Albany, CA
|
Posted: Sun May 19, 2002 7:21 am Post subject: |
|
|
Cool, cool. Now how about the tabbed windows? _________________ Matthew Hauck
http://matthauck.blogspot.com/ |
|
Back to top |
|
|
Guest
|
Posted: Sun May 19, 2002 8:24 am Post subject: |
|
|
Nevermind...When I put in "exec fluxbox" I don't get a login or anything. It just starts right up. I have some more questions:
1) is it possible to add other programs in the .xinitrc as well (such as slit programs)
2) why do all my settings disappear everytime I restart my computer: theme, menu settings, everything.
3) I used to have like 4 different desktops I could switch between, and now all of a sudden, I have 1! What happened? |
|
Back to top |
|
|
richyp n00b
Joined: 24 Apr 2002 Posts: 13 Location: Crewe, England
|
Posted: Sun May 19, 2002 11:23 am Post subject: |
|
|
The tabbed windows allow you to group windows together so they take up less space on the desktop. Try opeing a couple of xterms and with the middle mouse button drag the tab of one onto the other. You can drag then switch between them using the tabs
cheers
Rich |
|
Back to top |
|
|
Jeevz Bodhisattva
Joined: 15 Apr 2002 Posts: 195 Location: Boston, MA
|
Posted: Sun May 19, 2002 2:51 pm Post subject: |
|
|
Anonymous wrote: |
1) is it possible to add other programs in the .xinitrc as well (such as slit programs)
2) why do all my settings disappear everytime I restart my computer: theme, menu settings, everything.
3) I used to have like 4 different desktops I could switch between, and now all of a sudden, I have 1! What happened? |
Answers:
1) Yes it is. Just add the programs to your .xinitrc like this:
Code: | program1 &
program2 &
exec fluxbox |
This is a small example of an .xinitrc file for fluxbox:
Code: |
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
# merge in defaults and keymaps
if [ -f $userresources ]; then
xrdb -merge $userresources
fi
if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
bbkeys -w &
aterm &
galeon &
exec fluxbox
|
Most of your programs that run in the slit use the -w option (note the bbkeys call above).
This file opens Fluxbox with bbkeys in the slit, an aterm window and galeon my browser of choice.
2) First make sure you have a .fluxbox folder in your home directory. Then whenever you change your settings bring up your Fluxbox menu and select "Reconfigure".
3) Look at your ~/.fluxbox/init file. You should see a line:
Code: | session.screen0.workspaces: 4 |
In this case there are 4 workspaces. You may have a different number. Change it to 4 and see if that helps.
For more info check out the Fluxbox web site; especially the documentation section (read the FAQ). |
|
Back to top |
|
|
|