Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fluxbox questions
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
hudsonhauck
Apprentice
Apprentice


Joined: 16 May 2002
Posts: 182
Location: Albany, CA

PostPosted: Sat May 18, 2002 10:12 pm    Post subject: fluxbox questions Reply with quote

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
View user's profile Send private message
474
l33t
l33t


Joined: 19 Apr 2002
Posts: 714

PostPosted: Sun May 19, 2002 12:32 am    Post subject: Starting flux Reply with quote

I can answer your first question at least: https://forums.gentoo.org/viewtopic.php?t=2814
Back to top
View user's profile Send private message
hudsonhauck
Apprentice
Apprentice


Joined: 16 May 2002
Posts: 182
Location: Albany, CA

PostPosted: Sun May 19, 2002 12:49 am    Post subject: Reply with quote

Where is the .xinitrc file?
So, in place of "startkde", I would type "fluxbox"?
_________________
Matthew Hauck
http://matthauck.blogspot.com/
Back to top
View user's profile Send private message
FINITE
Guru
Guru


Joined: 10 May 2002
Posts: 449

PostPosted: Sun May 19, 2002 1:13 am    Post subject: Reply with quote

Are you not able to access fluxbox through the kdm login window?
Back to top
View user's profile Send private message
474
l33t
l33t


Joined: 19 Apr 2002
Posts: 714

PostPosted: Sun May 19, 2002 4:51 am    Post subject: Location of .xinitrc Reply with quote

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
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Sun May 19, 2002 5:28 am    Post subject: Reply with quote

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
View user's profile Send private message
hudsonhauck
Apprentice
Apprentice


Joined: 16 May 2002
Posts: 182
Location: Albany, CA

PostPosted: Sun May 19, 2002 7:21 am    Post subject: Reply with quote

Cool, cool. Now how about the tabbed windows?
_________________
Matthew Hauck
http://matthauck.blogspot.com/
Back to top
View user's profile Send private message
Guest






PostPosted: Sun May 19, 2002 8:24 am    Post subject: Reply with quote

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
n00b


Joined: 24 Apr 2002
Posts: 13
Location: Crewe, England

PostPosted: Sun May 19, 2002 11:23 am    Post subject: Reply with quote

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
View user's profile Send private message
Jeevz
Bodhisattva
Bodhisattva


Joined: 15 Apr 2002
Posts: 195
Location: Boston, MA

PostPosted: Sun May 19, 2002 2:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum