Tuesday, December 30, 2008

Lost wireless - Wicd

1. It occurred that I lost the ability to connect wirelessly on my work network. I tried different combinations but it just didn't work. Finally I googled and found that there is a program called Wicd. It doesn't work with network-manager and network-manager-applet or something. So when I installed Wicd on my laptop I managed without any problem connect to the work network but installation Wicd uninstalls network-manager and network-manager-something. Anyway, now I can again connect to my network.

Monday, September 29, 2008

Switching displays workaround Fn-F7

Original text:

http://mcphersonz.wordpress.com/2008/03/21/switching-displays-with-a-lenovo-t60-ubuntu-710-gutsy-gibbon/

xrandr –output VGA –auto # Autodetect the VGA
xrandr –output LVDS –auto # Autodetect the laptop display
xrandr –output LVDS –mode 1024×768 # Specify the laptop display resolution
xrandr –output VGA –left-of LVDS # Extend the VGA to the left of the laptop
xrandr –output VGA –right-of LVDS # Extend the VGA to the left of the laptop

xrandr -q # displays current configuration

Useful commands

If you want to get some information about your laptop:

root@arrow:~# dmidecode -s system-manufacturer
LENOVO
root@arrow:~# dmidecode -s system-product-name
6371EXU
root@arrow:~# dmidecode -s system-version
ThinkPad T60

Friday, September 19, 2008

No sound

Probably missing
linux-modules

cross against audio control and message:

'No volume control GStreamer plugins and/or devices found.'

Installed linux-ubuntu-modules. Hopes it helps.

Friday, August 22, 2008

when your wireless icon goes somewhere

Then try:
On the panel add: Add to Panel -> Notification Area

And you have again your wireless indicator in the panel

T60 and wireless

1. Installed
http://www.ngsys.eti.br/pub/miscelaneous/patch-wireless.deb
2. /compat-wireless-2008-08-06$ sudo checkinstall make install
but errors

(Reading database ... 136579 files and directories currently installed.)
Unpacking compat-wireless-2008-08 (from .../compat-wireless-2008-08_06-1_i386.deb) ...
dpkg: error processing /home/magg/dwnl/compat-wireless-2008-08-06/compat-wireless-2008-08_06-1_i386.deb (--install):
trying to overwrite `/usr/sbin/b43load', which is also in package patch-wireless
Errors were encountered while processing:
/home/magg/dwnl/compat-wireless-2008-08-06/compat-wireless-2008-08_06-1_i386.deb

3. removed patch-wireless.deb
4. compat-wireless-2008-08-06$ sudo dpkg -i compat-wireless-2008-08_06-1_i386.deb

5. /compat-wireless-2008-08-06$ sudo make load

6. I installed linux-backports-modules-hardy

Tuesday, July 8, 2008

89. Setting Keyboard layout

I my Ubuntu 8.04 I have problems with remembering the keyboard layout. I want to have the Polish layout but unfortunately every time I restart my laptop I need to go to System -> Preferences -> Keyboard -> Layout Tab and select the Polish layout, etc. Then it works.

https://help.ubuntu.com/xubuntu/desktopguide/C/switch-keyboard-layout.html

I will try this above that is:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.BACKUP

Find the section that looks like this:

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Change "us" to whatever language code you prefer. Next, type this from a terminal:

setxkbmap

And ... it looks as it works.



Friday, May 9, 2008

90. Era of 8.04 Ubuntu - adding skype

Yesterday I installed on my computers 8.04 Ubuntu. So from now all refers to problems with 8.04 Ubuntu. Still switching monitors, non-working mouse on my laptop doesn't work.

From: https://help.ubuntu.com/community/Skype
  1. Add the Skype repository*: deb http://download.skype.com/linux/repos/debian/ stable non-free

  2. Reload or update the package information

  3. Install the skype package.

And it works!

Friday, April 4, 2008

91. Ubuntu logs me out after a while

So my problem is that Ubuntu logs me out after an idle while. It is 'by accident' similar or the same amount of time as execution of my screensaver. The session is totally lost. All programs are shut down, all work is lost.

I googled and it looks as people have problems occasionally with it. And they blame different guys such as Eclipse, Firefox, movie players, KDE, etc. Maybe it is true. However, I have also have found out that the problem may arise from the screensaver that uses OpenGL or whatever. So I told Ubuntu not to run screensaver any more. I will check if it works.

Wednesday, January 2, 2008

92. Grub Error 15: File not found

This error occurs when something is messed up with the grub files.

Googling I found something like this:

http://forum.notebookreview.com/archive/index.php/t-162896.html

1. I press 'c' for command line in grub
2. Then I tried to find the menu.lst file. I used the command in the grub shell:
find /boot/grub/menu.lst

You can use 'TAB' to display directories.

I got the output
(hd0,6)

I remember that number.

3. Then I exited the grub with the reboot command
4. Then I press 'e' to edit the boot sequence.
My first line was:
root (hd0,7)

I changed this line to (hd0,6) with the 'e' key.

5. And now grub Ubuntu 7.10 rebooted.

6. Now I want to make this change permanent. Then after successful rebooting first I made a copy of the menu.lst file and then changed the

root (hd0,7) to root (hd0,6)

in each booting configuration.

7. I rebooted it and ... it works!