View previous topic :: View next topic |
Author |
Message |
Cyberian-ZH Apprentice
Joined: 24 Jan 2005 Posts: 288
|
Posted: Tue Mar 29, 2005 5:00 am Post subject: fluxbox [SOLVED] |
|
|
*newbie alert*
I just finished emerging fluxbox and this is my first time installing Gentoo.
How do I get fluxbox to start when I start X? _________________ 2.6.11-gentoo-r5 // Xorg // Fluxbox
*NEWBIE ALERT!* Please be gentle to this user.
Last edited by Cyberian-ZH on Sun Apr 03, 2005 1:22 am; edited 2 times in total |
|
Back to top |
|
|
Given M. Sur l33t
Joined: 03 Feb 2004 Posts: 648 Location: No such file or directory
|
Posted: Tue Mar 29, 2005 5:14 am Post subject: |
|
|
There's multiple ways
1. edit /etc/rc.conf and set XSESSION to XSESSION="fluxbox"
2. edit (or create) ~/.xinitrc and add the line Code: | exec /usr/bin/fluxbox |
3. when you run startx do it like this Code: | XSESSION="fluxbox" startx |
4. see the next post
Last edited by Given M. Sur on Tue Mar 29, 2005 6:31 am; edited 1 time in total |
|
Back to top |
|
|
lamaistres Apprentice
Joined: 17 Dec 2002 Posts: 268 Location: Seattle
|
Posted: Tue Mar 29, 2005 6:24 am Post subject: |
|
|
Add "startfluxbox" to your ~/.xinitrc
Code: | echo startfluxbox > .xinitrc |
|
|
Back to top |
|
|
Cyberian-ZH Apprentice
Joined: 24 Jan 2005 Posts: 288
|
Posted: Tue Mar 29, 2005 7:54 am Post subject: |
|
|
Can someone please copy-and-paste their .xinitrc? I would like to see a full example.
I tried writing my own .xinitrc, and X would not start properly when I add extra programmes; it starts up with 3 Xterm and the analog clock on the upper-right corner.
Speaking of clock, how do I set my clock on the lower-right corner to 4 digits and 24 hours (not AM/PM)? _________________ 2.6.11-gentoo-r5 // Xorg // Fluxbox
*NEWBIE ALERT!* Please be gentle to this user. |
|
Back to top |
|
|
Given M. Sur l33t
Joined: 03 Feb 2004 Posts: 648 Location: No such file or directory
|
Posted: Tue Mar 29, 2005 6:07 pm Post subject: |
|
|
Try it without a .xinitrc. I don't have one. I just have XSESSION="enlightenment" (you'll, of course, want fluxbox not enlightenment). So, try it that way. |
|
Back to top |
|
|
JROCK2004 Guru
Joined: 02 Mar 2004 Posts: 450 Location: PA
|
Posted: Tue Mar 29, 2005 6:10 pm Post subject: |
|
|
This is it. that is my .xinitrc
when you type startx what happens? Do you get an error message?
Also did you emerge xorg-x11 and configure it? |
|
Back to top |
|
|
lamaistres Apprentice
Joined: 17 Dec 2002 Posts: 268 Location: Seattle
|
Posted: Tue Mar 29, 2005 7:00 pm Post subject: |
|
|
Add applications to ~/.fluxbox/startup if you're using "startfluxbox" in .xinitrc. Example
Fluxbox Startup Applications How-To
To change to 24 Hrs, open "~/.fluxbox/init" and change this line; (change l to k)
Code: | session.screen0.strftimeFormat: %l:%M
to
session.screen0.strftimeFormat: %k:%M |
Read date manual for all options (too many too list)
HTH |
|
Back to top |
|
|
Cyberian-ZH Apprentice
Joined: 24 Jan 2005 Posts: 288
|
Posted: Wed Mar 30, 2005 5:56 am Post subject: |
|
|
I have succesfully edited the time format in the desktop, but failed in the init file.
startup and init failed to take effect. Is there something I have to do to it to make it active?
I have 'startfluxbox' in .xinitrc, and when I 'startx' fluxbox is all I get.
Note that this is my first time getting a Gentoo to work, I may have missed out a few things that newbies are common to miss.
Please further help. _________________ 2.6.11-gentoo-r5 // Xorg // Fluxbox
*NEWBIE ALERT!* Please be gentle to this user. |
|
Back to top |
|
|
Cyberian-ZH Apprentice
Joined: 24 Jan 2005 Posts: 288
|
Posted: Thu Mar 31, 2005 7:22 pm Post subject: |
|
|
Hi again. The above have been solved. Thanks all who have helped.
I have some new questions:
1. How do I set up a wallpaper? I did this in startup.
Code: | bsetbg -f ~/cycustom/mars1280.jpg |
And it still doesn't work. Location is correct.
2. How do I prevent windows from covering my task bar? I want the taskbar to overlap everything else in the same region.
3. How do I change the font of my current style? _________________ 2.6.11-gentoo-r5 // Xorg // Fluxbox
*NEWBIE ALERT!* Please be gentle to this user. |
|
Back to top |
|
|
meozi n00b
Joined: 22 Mar 2005 Posts: 20
|
Posted: Thu Mar 31, 2005 9:35 pm Post subject: |
|
|
Cyberian-ZH wrote: | Hi again. The above have been solved. Thanks all who have helped.
Code: | bsetbg -f ~/cycustom/mars1280.jpg |
|
I'm a newb myself, but shouldn't it be fbsetbg? |
|
Back to top |
|
|
Cyberian-ZH Apprentice
Joined: 24 Jan 2005 Posts: 288
|
Posted: Fri Apr 01, 2005 6:40 am Post subject: |
|
|
Returned with this error:
Code: | fbsetbg: I can't find an app to set the wallpaper with. You can install one in
many many ways but I will give you some simple advice: install Eterm and
you're set. Eterm provides Esetroot and thats a great wallpaper setter. I
recommend you install the package provided by your distro. |
According to ~/.fluxbox/startup:
Code: |
# You can set your favourite wallpaper here if you don't want
# to do it from your style.
#
# bsetbg -f ~/pictures/wallpaper.png
#
# This sets a black background
bsetbg -f ~/cycustom/mars1280.jpg |
I don't know how to do it from styles. So I did it in startup. _________________ 2.6.11-gentoo-r5 // Xorg // Fluxbox
*NEWBIE ALERT!* Please be gentle to this user. |
|
Back to top |
|
|
steve_d555 Guru
Joined: 07 Nov 2004 Posts: 458 Location: Belmont, Massachusetts
|
Posted: Fri Apr 01, 2005 6:48 am Post subject: |
|
|
You should try fbsetbg and look at the switches. I think it comes with the fluxbox installation. _________________ rubyforums | blog | boxwhore |
|
Back to top |
|
|
Cyberian-ZH Apprentice
Joined: 24 Jan 2005 Posts: 288
|
Posted: Fri Apr 01, 2005 10:03 am Post subject: |
|
|
What are switches? _________________ 2.6.11-gentoo-r5 // Xorg // Fluxbox
*NEWBIE ALERT!* Please be gentle to this user. |
|
Back to top |
|
|
meozi n00b
Joined: 22 Mar 2005 Posts: 20
|
Posted: Fri Apr 01, 2005 1:00 pm Post subject: |
|
|
I got that error yesterday. I emerged feh and it worked. So you would do
and it should work. |
|
Back to top |
|
|
meozi n00b
Joined: 22 Mar 2005 Posts: 20
|
Posted: Fri Apr 01, 2005 1:05 pm Post subject: |
|
|
Cyberian-ZH wrote: |
According to ~/.fluxbox/startup:
Code: |
# You can set your favourite wallpaper here if you don't want
# to do it from your style.
#
# bsetbg -f ~/pictures/wallpaper.png
#
# This sets a black background
bsetbg -f ~/cycustom/mars1280.jpg |
I don't know how to do it from styles. So I did it in startup. |
after you emerge feh you should put
Code: |
fbsetbg -f ~/cycustome/mars1280.jpg &
|
with your other startup applications. At least that is what worked for me. If you check out that link that lamaistres posted it will help you a bunch. That is how I got mine to work. |
|
Back to top |
|
|
steve_d555 Guru
Joined: 07 Nov 2004 Posts: 458 Location: Belmont, Massachusetts
|
Posted: Fri Apr 01, 2005 9:51 pm Post subject: |
|
|
Cyberian-ZH wrote: | What are switches? |
Like when you run a program i.e. fbsetbg -f (--fullscreen) are switches, telling the program what to do. _________________ rubyforums | blog | boxwhore |
|
Back to top |
|
|
dswissmiss Guru
Joined: 23 May 2004 Posts: 498 Location: New York
|
Posted: Fri Apr 01, 2005 10:14 pm Post subject: |
|
|
If you're going to go with feh, make sure you put this in your .xinitrc so it will load your last used wallpaper on startup:
Code: | exec `cat ~/.fehbg` & |
_________________ screenshots |
|
Back to top |
|
|
Cyberian-ZH Apprentice
Joined: 24 Jan 2005 Posts: 288
|
Posted: Sun Apr 03, 2005 12:04 am Post subject: |
|
|
Okay, thanks. I got my wallpaper working.
But the below questions remains. I would greatly appreciate it if anyone would continue to help me.
2. How do I prevent windows from covering my task bar? I want the taskbar to overlap everything else in the same region.
3. How do I change the font of my current style? _________________ 2.6.11-gentoo-r5 // Xorg // Fluxbox
*NEWBIE ALERT!* Please be gentle to this user. |
|
Back to top |
|
|
dswissmiss Guru
Joined: 23 May 2004 Posts: 498 Location: New York
|
Posted: Sun Apr 03, 2005 12:10 am Post subject: |
|
|
Not sure about the first one, it kind of played around with the settings and it just worked.
I do have Layer = Desktop in my menu options, but I'm not sure if that is the one.
As for your second question, it gets a bit annoying. You have to go into your styles folder and look for a theme.cfg file and edit that. I installed my themes in ~/.fluxbox/styles, so I would do nano ~/.fluxbox/styles/themename/theme.cfg
The lines to look for in most styles I use are:
Code: | menu.title.font:
menu.frame.font:
toolbar.clock.font:
toolbar.workspace.font:
toolbar.iconbar.focused.font:
toolbar.iconbar.unfocused.font:
window.font: |
_________________ screenshots |
|
Back to top |
|
|
Cyberian-ZH Apprentice
Joined: 24 Jan 2005 Posts: 288
|
Posted: Sun Apr 03, 2005 1:08 am Post subject: |
|
|
Silly me, I thought 'Dock Above' meant dock on top of the screen.
Thanks! All questions solved. _________________ 2.6.11-gentoo-r5 // Xorg // Fluxbox
*NEWBIE ALERT!* Please be gentle to this user. |
|
Back to top |
|
|
|