![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
A Carafe of Ubuntu
![]() Join Date: Nov 2005
Beans: 83
|
fluxbox how-to (compiling from source the latest version) plus tips & tricks
I'm a big fan of fluxbox. It is highly and easily customizable. It's wicked fast and it's very pretty. FLuxbox is in the ubuntu repositories but they are two versions behind and are missing a lot of handy features like fluxbox-generate_menu. Also, the package in the repositories loads really slow wich should not be the case for a window manager that's supposed to be really fast.
In this how-to I'm going to sum up all the info I have collected and add a few of my own customization tricks. Most of what's here I found on other threads, but this info should be in one well organized place so here goes. 1: Download the source tar ball of the latest development version. The stable version is too old and not supported anymore and the development version is the one the devs recommend. They actually state "The latest stable release is v0.1.14. Development version of Fluxbox can be found here. Please note that 0.1.14 is actually fairly dated (and unmaintained) now, and the development series is quite stable. It is mainly waiting on translation and documentation work before it becomes stable. " Get the source tarball here 2: Get the tools to compile from source Code:
sudo apt-get install build-essential checkinstall xlibs-dev Code:
tar xvzf fluxbox-0.9.14.tar.gz 5: Type Code:
./configure --enable-kde --enable-gnome --disable-xmb 6: Type make . 7: Type sudo checkinstall. This builds the package and puts it in /usr/local/bin 8: There are two ways to be able start fluxbox a) A .xsession file in your home directory. you may have it or not. if you dont create it.in the terminal type nano ~/.xsession and put this in there Code:
exec /usr/local/bin/fluxbox Code:
exec /usr/local/bin/fluxbox -log ~/.fluxbox/log 9: Now to enter kde,gnome or any other window manager I use GDM. It comes standard in Ubuntu. I know how to make an entry for fluxbox in GDM, I do not know how to do it in the others. To make an entry for fluxbox in GDM in a terminal type Code:
cd /usr/share/xsessions Code:
[Desktop Entry] Encoding=UTF-8 Name=Fluxbox Comment=This is fluxbox Exec=/home/(username)/.fluxbox/startup 10: Logout. Now when you go to GDM there will be a fluxbox entry in the session menu. Enter fluxbox. If it works, you are done with the installation. To access the menu just right click anywhere in the desktop. I know that what you have now is pretty bare. But the rest is just customization. Customization Tips and Tricks Fluxbox is all about minimalism. I like to use light apps to keep everything really fast so thats the type of tricks I know so here goes. 1: To get backround image, open a terminal and type sudo apt-get install feh then locate the image you want to use as wallpaper. in my case my backrounds are in a directory called wallpapers in my home directory so to set a backround I type at the command line Code:
fbsetbg wallpapers/wallpaperofmychoice.png Code:
nano ~/.fluxbox/startup Code:
fbsetbg -l 2: Apps you want to have upon start up are set at the ~/.fluxbox/startup file. Here's my startup file as an example: Code:
# fluxbox startup-script: # # Lines starting with a '#' are ignored. fbsetbg -l gkrellm & gnome-volume-manager & xscreensaver -nosplash & I know many more tips and tricks and other users probably know more than I do. I would like this thread to have all the nice things you can do in fluxbox so plz if you know any customization tricks, post them. This was my first how-to so point out any mistakes. I will correct them. Fluxbox is a great window manager. I think the main reason its not so famous amongst the ubuntu community is because the package in the repositories is just worng. my Fully customized desktop edit- fixed the checkinstall typo. Last edited by otake-tux; February 28th, 2006 at 09:26 AM.. |
|
|
|
|
|
#2 |
|
Just Give Me the Beans!
![]() |
Re: fluxbox how-to (compiling from source the latest version) plus tips & tricks
Very cool, thanks! The difference is impressive. I think it reduced the time it took to log in from nearly a minute to 10 seconds (this is a very slow machine).
Thanks again, very helpful. Groet, Erik |
|
|
|
|
|
#3 |
|
5 Cups of Ubuntu
![]() Join Date: Jul 2005
Beans: 34
|
Re: fluxbox how-to (compiling from source the latest version) plus tips & tricks
I know this isn't a big problem, but just to avoid confusion, you might want to change "sudo check install" to "sudo checkinstall"
Thanks for the guide though, I didn't actually realize I had such an old version of fluxbox installed :O |
|
|
|
|
|
#4 |
|
Ubuntu Espresso Roast
![]() Join Date: Nov 2004
Beans: 177
Dapper Drake
|
Re: fluxbox how-to (compiling from source the latest version) plus tips & tricks
Thanks for your HowTo!
__________________
Linux user #392733 ------------------------------------- You want to know what a computer really is, try Linux! |
|
|
|
|
|
#5 | |
|
Fresh Brewed Ubuntu
![]() Join Date: Sep 2005
Location: Bellingham, WA
Beans: 1,532
Ubuntu Jaunty Jackalope (testing)
|
Re: fluxbox how-to (compiling from source the latest version) plus tips & tricks
Quote:
How do I change the GTK themes?
__________________
This space intentionally left blank. |
|
|
|
|
|
|
#6 |
|
Just Give Me the Beans!
![]() Join Date: Feb 2005
Location: Portland, OR, USA
Beans: 61
Ubuntu 9.04 Jaunty Jackalope
|
Re: fluxbox how-to (compiling from source the latest version) plus tips & tricks
Thank you. I've been meaning to try fluxbox for a while (I was waiting to reformat my laptop, but then after I reformatted I forgot about trying it
I got it working, but I had a problem (I'm not an ubuntu master, which is probably why I hit a problem. so bear with me, please). My problem was based around steps 8 and 9. For step 8, I decided to first do option b. I had installed everything in a directory I created: /home/myname/fluxbox/ . So for step 8 I renamed the directory to /home/myname/.fluxbox. Then I did as you suggested: nano ~/.fluxbox/startup and pasted in the line from b. I added the fluxbox.desktop file. Logged out, chose fluxbox, and then received an error telling me that /home/myname/.fluxbox/startup was not found, and so xsessions couldn't start. I'm guessing my mistake is a basic one, but I'm just not seeing it. I created the /home/myname/.fluxbox/startup file -- it is there -- so why's it saying it's not? I got it to work by following option a. in step 8. I created a file called .xsession in the home directory. However, when logging in I received the same error (except this time saying it couldn't find /home/myname/.xsession -- and then it asked if I wanted to proceed with my default session (gnome), I said okay, and lo, it didn't send me to gnome, but sent me to fluxbox. Weird, but for now I'm happy. Perhaps I'm not creating files in the correct manner. Or I'm creating them in the wrong location. But man, fluxbox is so fast and simple. I love having zero clutter. All I need to do is customize little toolbar, and I'm good to go. Thanks! |
|
|
|
|
|
#7 |
|
A Carafe of Ubuntu
![]() Join Date: Oct 2005
Beans: 104
|
Re: fluxbox how-to (compiling from source the latest version) plus tips & tricks
You have to
Code:
chmod +x ~/.fluxbox/startup |
|
|
|
|
|
#8 |
|
Skinny Soy Caramel Ubuntu
![]() |
Re: fluxbox how-to (compiling from source the latest version) plus tips & tricks
That is brilliant. I thought that XFCE is fast but I changed my opinion.
Thanks a lot.
__________________
Help Us To Free the Bulgarian medics in Lybia!!! |
|
|
|
|
|
#9 | |
|
Just Give Me the Beans!
![]() Join Date: Feb 2005
Location: Portland, OR, USA
Beans: 61
Ubuntu 9.04 Jaunty Jackalope
|
Re: fluxbox how-to (compiling from source the latest version) plus tips & tricks
Quote:
I tend to go through periods where I rarely use the terminal, and then I forget basic things. |
|
|
|
|
|
|
#10 |
|
5 Cups of Ubuntu
![]() Join Date: Jun 2005
Beans: 33
Kubuntu 6.10 Edgy
|
Re: fluxbox how-to (compiling from source the latest version) plus tips & tricks
Excellent Howto. I never realized the Breezy package was so outdated. After reading your guide I decided to try something out. Instead of compiling myself, I changed all the "breezy"s in my /etc/apt/sources.list to "dapper" and did
Code:
sudo apt-get update && sudo apt-get install fluxbox Last edited by evs; February 9th, 2006 at 08:34 AM.. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|