I write this post mainly as a reminder, but it might be also usefull for some people.
Requirements : openssh client
Continue reading »
Here is the apt-get command to install a basic lamp environment on ubuntu hardy 8.04 with some “quick start help” commands. Continue reading »
Yesterday, my boss asked me if I could install ubuntu gutsy on his old unika laptop. Almost everything went fine, but the wifi. Even the kill switch wasn’t working and, typing in a terminal:
iwconfig eth1
always outputs “radio: off”. I had also in dmesg this error:
ipw2200: failed to send TX_POWER command
So, the base of the problem was to have a working kill switch button. Here what I did:
sudo modprobe rfkill
sudo modprobe rfkill_input
then I hit the killswitch button and, yay ! it worked.
To make this permanent I had to put these lines into /etc/modules :
rfkill
rfkill_input
and to have the led working, I created a file in /etc/modprobe.d called ipw2200 where I put this line:
options led=1
et voila
The only annoying thing left is that the wifi is always desactivated at boot.
Phosphor is a nice screensaver (at least, I love it) that scrolls a text on the screen in a old school 80’s style. On Ubuntu 7.10, it comes with xscreensaver-data-extra from universe repository.
I wrote a bash script to generate the text choosing a random fortunes from a folder ~/fortunes where I save the fortunes in a text file (the script doesn’t depends from fortune app) :
My laptop screen is sometimes not bright enough and I have reach the top of the brightness according to the brightness control that is on the keyboard. The gnome applet brightness control has never worked either.
But today I’ve found an utility (which was on all my previous linux distrib, I guess) : xgamma.
Now I can adjust my brightness with this command:
xgamma -gamma 1.4
1.4 is a number between 0.100 and 10.000, default value is 1.
To make this modification permanent, you have to add a line to Monitor section of xorg configuration file (/etc/X11/xorg.conf) :
Gamma 1.04
with your correct value instead of this 1.04.
Finally, i did it only 3 days after it has been released
I said switched and not upgraded, because I’ve done a fresh install. Incredibely fast ! About 1 hour to have my new system operational with (almost) all my apps/configs/tweaks.
The boot is also really fast compare to feisty.
ATM, the only tweak I miss a lot is the MacMenu Bar
Here’s a common problem :
When you use gnome icon browser and don’t find the icon you want in the default pixmaps that the browser shows, you try to use the “browse” button and then you browse directories searching the icon you want.
But even if you are sure there is icons in the directory that you have selected, you can’t see them and hihlight the one you want. Normal. The “browse” button is just here to select a directory where the icons are, then you can see them in the icon browser and pick the one you want.
Two people in two days ask me the same question, and I’ve seen many people with this problem before (even me few years ago). So should we consider this as a bug and post it to gnome devs ?
Because it avoids to have 2 browser windows open, and because it allows to work off line.
That are the good reasons for me to test posting on my blog using a local application. I choose drivel.
I report later if I find it useful or not.
I found another one (but last version from 2005-01, abandonned ?) which is called blogtk
edit : I finally gave a try to blogtk which was apt-get able for ubuntu feisty fawn (the linux distro I use). It seems to have a more complete GUI (especially toolbars).
Screen is an application that allow to create as many as you want virtual terminals on one physical terminal.
Very useful in remote mode (with ssh for example).
If you want to have scrollbar ou pgup/pgdown working in screen embed windows, you need to edit (or create a screen configuration file in your home directory.
gedit ~/.screenrc
(or whatelse is your prefered editor)
and insert this line :
termcapinfo xterm ti@:te@
that does the trick.
english
français