Beyond the Sky

The place where surface stop and share the experience of life

Subscribe to RSS feed

Posts tagged with "fluxbox"

Fluxbox svn src compilation failed, solution.

, ,

I have to write down this, reminder for me to compile fluxbox from source next time in future.

ake[2]: Leaving directory `/home/hkong/Dev/fluxbox_1.0rc3/fluxbox-devel/nls'
Making all in src
make[2]: Entering directory `/home/hkong/Dev/fluxbox_1.0rc3/fluxbox-devel/src'
make[2]: Circular defaults.hh <- Makefile dependency dropped.
Making all in FbTk
make[3]: Entering directory `/home/hkong/Dev/fluxbox_1.0rc3/fluxbox-devel/src/FbTk'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/hkong/Dev/fluxbox_1.0rc3/fluxbox-devel/src/FbTk'
make[3]: Entering directory `/home/hkong/Dev/fluxbox_1.0rc3/fluxbox-devel/src'
make[3]: Circular defaults.hh <- Makefile dependency dropped.
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I./FbTk   -g -O2  -DSHAPE  -I/usr/include/freetype2    -c main.cc
g++ -DHAVE_CONFIG_H -I. -I. -I..  -I./FbTk   -g -O2  -DSHAPE  -I/usr/include/freetype2    -c Slit.cc
make[3]: *** No rule to make target `defaults.', needed by `fluxbox'.  Stop.
make[3]: Leaving directory `/home/hkong/Dev/fluxbox_1.0rc3/fluxbox-devel/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/hkong/Dev/fluxbox_1.0rc3/fluxbox-devel/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hkong/Dev/fluxbox_1.0rc3/fluxbox-devel'
make: *** [all-recursive-am] Error 2


When getting error of defaults.hh, grep "defaults.hh" at src folder. It will leads you to the line at Makefile

# an extra dep for fluxbox
fluxbox.$(OBJEXT): defaults.hh


Some how OBJEXT is not define, thats the reason make fails.

Workaround:
export OBJEXT=o
make


Fluxbox 1.0rc3 svn 4840, tabs in title bar

, , ,

Tabs in Title bar

Click to enlarge and look at it precisely Fluxbox fans. Tabs in title bar, and the icons in tabs, clean, nice and efficient!

At the moment, I am using fluxbox 1.0rc3 svn 4840.

Fluxbox unsolves bug.

, , ,

I have play around a lots of fluxbox svn version over the weekend, and discover a bug on windows title, while display non-english characters while you login with en-UTF-8 locale.

fluxbox

Observed that the windows title, it could not recognize the font and display correctly, even I overlay it with chinese font in ~/.fluxbox/overlay. But in gtk part of space, observe the tab, it do works to display properly.

Any Chinese fluxbox user facing the same problem?
Probably not if you login as a zh locale, what if you login to en locale and need the windows title to display properly? In gnome, they do not have such problem, in fluxbox they have, who can fix it? which developer should I email to?

i have install fluxbox 1.0rc3

, ,

Fluxbox 1.0rc3

Click to view it in fullscreen.

20.02.07 snapshot

, ,

Hacking the code to gain some tweak of fluxbox

, ,

This is the first request of mine that can't be fulfill by just edit the configuration file. I need to hack the source code, lucky my fluxbox is compiled myself, so that can be done easily.

What is my requirement?
I need to maximize the windows when I double click on the title bar of the windows. By default, it will be shaded instead of maximize.Asking around in the #fluxbox channel, people throw me this
http://fluxbox-wiki.org/index.php/Howto_Make_dblclick_titlebar_maximize

Simply How?
The source code is in src folder. Edit Windows.cc, search for
frame().setOnClickTitlebar(shade_cmd, 1,true); // doubleclick with button 1

and replace it to
frame().setOnClickTitlebar(maximize_cmd, 1,true); // doubleclick with button 1


Save the file, and you now can configure, make and make install.

Refers to http://my.opera.com/mysurface/blog/i-recompile-my-fluxbox-from-source for compilation.

Nice Wallpaper: Urban Redevelopment by ~jstyle23

, , , ...



I like this wallpaper very much, you can have it from here

It looks cool with my Fluxbox, screenshot shows at bellow

Beautify your desktop with murrine

, , , ...

Computer user usually beautify their desktop when they just install a new OS, having free time, discover new themes etc. With murrine gtk2 cairo engine installed, you can make your desktop looks nice, and it is light weight.

Murrine have ability to change:
1. Menubar style
2. ListHeader style
3. Menubar Items
4. Style of the Glaze
5. Scrollbar Colors
6. Contrast

Murrine support:
1. Square all the theme
2. Animations ( on progress bar)

Screenshot?

This is one of the sample Murrina Kent uses murrine engine.

Ok, what should I install?
If you are using ubuntu, you can do as bellow:

wget http://malteo.homelinux.net/B54820BC.gpg -O- | sudo apt-key add -


Add the lines bellow to /etc/apt/sources.list
deb http://malteo.homelinux.net edgy-malteo all
deb-src http://malteo.homelinux.net edgy-malteo all


# sudo apt-get update
sudo apt-get install gtk2-engines-murrine


Ok, you need to download themes,
You can search around at http://gnome-look.org/ and http://xfce-look.org/ . Those themes uses murrine will usually have keyword murrina***

I find this nice too, but you need to do some modification, else it won't works.
(replace squaredstyle = 0 to roundness = 1)
http://www.kernow-webhosting.com/~bvc/theme/gtk/murrine/

Downloaded theme can extract at ~/.themes then to use apply the theme, can uses gnome-theme-manager. ( Simply goto system -> preference -> theme for gnome user.)

If you using fluxbox on top of ubuntu, add the line bellow to ~/.fluxbox/startup
gnome-settings-daemon &


What else?
You can modify the theme, its a text with options, edit the file gtkrc in the theme folder you have extract, search "murrine", and all the option can be configure easily. The author create a murrine configurator for easy configuration too, but some how the official murrine site cannot be access by my side. Thanks to linux toy, I able to download the murrine configurator at here

You wanna see all your results at once, with all the controls everything in one windows, use The Widget Factory.


Get it from http://linuxappfinder.com/package/thewidgetfactory

Have fun!

Fluxbox screenshot again

, ,



Fluxbox screenshot again! But this time, I am going to brief more about my fluxbox screenshot. Left down corner, I have gkrellm2 (with prime_23 theme). I have firefox 2.0 open the site http://lne.blodns.com/lbe. I have 2 gnome-terminal opened, One shaded, one showing some chinese word. (with fontconfig-voodoo -s zh_CN). Nautilus opened showing wallpapers.

Fluxbox 1.0rc2 with info
-DEBUG
EWMH
GNOME
IMLIB2
KDE
NLS
REMEMBER
RENDER
SHAPE
SLIT
TOOLBAR
XFT
-XINERAMA
XMB
XPM


Fluxbox style uses "bean" from http://tenr.de, installed murrine gtk engine and uses Murrina-Oliver ( hacked, changed to roundness = 1) http://gnomethemes.org/?p=52

Above the toolbar, I have nm-applet(gnome-network-manager), SCIM (scim-bridge), stardict (best dictionary tool) , Amarok, ktorrent.

What else? Oh wallpaper, my fav wallpaper blue-oren.JPG, photo taken at Sabah, can't see properly, been blocked, check out here.

I recompile my fluxbox from source

, ,

Fluxbox come with Ubuntu Edgy is the latest one, but it do not support imlib2 by default and it fails to display me information when i do

fluxbox -info


So I recompile the fluxbox and replace it. The fluxbox come with ubuntu edgy repo is installed at /usr/bin and /usr/lib. Fluxbox surce code configure by default is install in /usr/local/bin, do not support imlib2 too, no nls support either.

First I need X header and imlib dev stuff
apt-get install libimlib2-dev xlibs-dev libxrender-dev libxft2-dev


Then configure with nls and imlib support with correct prefix, so it will install at the same place when the current one.
./configure --enable-nls --enable-imlib2 --prefix=/usr


Observered the output of the configure, check whether nls and imlib2 is correct support, will appear at last few lines. Solves any dependencies if configure fail halfway.

Then? simple, make and sudo make install. Thats it!
Download here
Refers wiki here
-------

By the way, this is related but its another topic instead. I am just lazy to add another post, so I put it here.

If you like to edit your menu and key bindings in fluxbox with help of GUI, can check out this page
http://devaux.fabien.free.fr/flux/

It is helpful for beginners, but I prefer edit with vim myself, the key binding support control , alt and shift only, but fluxbox do not restrict you to use any key available on your keyboard.