Skip navigation.

Beyond the Sky

The place where surface stop and share the experience of life

Posts tagged with "ubuntu"

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.

ubuntu beryl

, , ,

Indeed it shows the capabilities of berly, and it is a very fancy desktop. But I just can't use this kind of desktop, its full of eye candy and I will get bored after using it for long and find it irritating.

Anyway, it is cool to show off to friends who actually bought windows vista or think of buying windows vista.

http://www.youtube.com/watch?v=YKEcz_OTTBk

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.

Firefox 2.0.0.1 for Ubuntu

, , , ...


Ubuntu do not upgrade your firefox, at least until now still no update from my repository. Firfox released 2.0.0.1 which fix some security bugs, which I think is important. Luckly, you can download from firefox official website, and it works nice.

Pick your preferal language and download it from http://www.mozilla.com/en-US/firefox/all.html

For simple steps after download, you can do it with gnome terminal

sudo tar -zxvf firefox-2.0.0.1.tar.gz -C /opt/


Try out the new firefox first, check the version.
/opt/firefox/firefox


If it is working fine with all your data, now backup the old symlink and create a new symlink to your new firefox
sudo mv /usr/bin/firefox{,-old}
sudo ln -s /opt/firefox/firefox /usr/bin/firefox


If your firefox is not under /usr/bin, check it out where it come from
which firefox


Check whether is it symlink
ls -l `which firefox`


References:
Check out more command line examples at http://lne.blogdns.com/lbe
Symlink example - http://lne.blogdns.com/lbe/archives/19/how-to-create-symlink/
which example - http://lne.blogdns.com/lbe/archives/category/common/which/

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!

Movie subtitle editor, ksubtile

, , , ...


I was wasting all my time yesterday night, trying to find a way to correct the subtitle of a french movie. Some of us may always need subtitle, but sometimes the downloaded movie (oops!) do not sync well with subtitle we can obtain from the net which usually rip from DVD.

My case was, I need subtitle coz i can't understand french. I have few subtitle, which one of them is in correct sync, means the timing is correct. But unfortunately, the one is not english subtitle. I search from the net try to find alternatives subtitle which I can't find the ONE that sync.

Therefore, first thing come into my mind is, write a bash script to copy the correct timing from one subtitle file and copy the english subtitle from another then pasted one new file. I failed to do that, because the sequence of the line skipping is not always the same. (Donno what am I talking about? Forget about it, main point is I failed.)

At last, I search for subtitle editor, I should have done first! I find a good tool, "ksubtile". Okay, the name is funny, and it is KDE based application. But it works! because I just want to change the timing. There is a gnome app for that too, but I couldn't find it in my repo, so give up.

Try ksubtile, its easy! I have correct my subtitle timing less then 5 seconds with ksubtile.

Bellow are imported screenshot, not mine, I am using fluxbox :smile:

skype do not cope well with scim

, , , ...

If you use scim for input, and you want to work with skype, you need to get skype-static. Skype will not work, you will get core dump if you default input is scim! I just wanna cut it short, if your default input is scim, download skype-static from http://www.skype.com/go/getskype-linux-static

You will get a file with filename such as skype_staticQT-1.3.0.53-generic.tar.bz2, then unzip it and do as follow:

Extract to a location, example
sudo tar xjvf skype_staticQT-1.3.0.53-generic.tar.bz2 -C /opt


Make a symlink
sudo ln -s /opt/skype-1.3.0.53/skype /usr/bin/skype


Thats it!
November 2009
S M T W T F S
October 2009December 2009
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30