Thursday, October 21, 2010

default gcc

http://ubuntuforums.org/showthread.php?t=29449

irst, let us go to the right directory

> cd /usr/bin

Let us check the default gcc version

> gcc --v

It should say 3.3.5

Now let us delete the old symbolic links

> sudo rm cpp gcc g++

Now let us change the symbolic links to 3.4

> sudo ln -s g++-3.4 g++
> sudo ln -s gcc-3.4 gcc
> sudo ln -s cpp-3.4 cpp

Wednesday, October 20, 2010

Yast auto-exiting

See:

http://forums.opensuse.org/english/get-help-here/applications/416230-yast-software-manager-auto-exit.html



There's an even more beautiful feature, though I don't know if it's already in 11.1:
In Yast go to System - /etc/sysconfig editor
Search for "PKGMGR", if PKGMGR_ACTION_ON_EXIT is found you can change it's value to "summary" (without the quotes). The software installer will not only give you a "Back" and a "Finish" button, it will also give you a summary of your latest actions.

Friday, October 8, 2010

Problems with DNS

I had a terrible problems with setting a DNS on OpenSuse. Eventually I solve the problem.

I tried to modify /etc/resolve.conf (doesn't matter)

Eventually, what worked:
yast -> network settings

Tab: global options: seletected: user controlled with networkedmanager
checked enabled ipv6
tab: hostname/DNS was the key
hostname: sartorius
domain name: site

the key think was that I checked assigned hostname to loopback Ip

and then it worked. I wasted almost 2 hours to figure it out. I knew that other protocols worked e.g. Skype. I could ping ip, I could not ping names.
But that was a nightmare

Thursday, October 7, 2010

The era of OpenSuse 11.3

  1. Problems with wireless, eventually overcome but actually I do not know how.
  2. The legacy grub is installed originally.

Friday, May 7, 2010

bluetooth

kbluetooth doesn't work with my nokia 3555b. The error message from kbluetooth was: 'Sorry your Bluetooth Device does not support input service.'
I removed it and installed gnome-bluetooth. It worked like a charm.

If your shutdown/logout window in KDE4 is invisible ...

Try to change fonts: System Settings -> Appearance -> Fonts
and then ADjust all fonts, check fonts, select Dejavu Sans.
And it should fix the problem,

Modifying grub

  1. Goto to /etc/default/grub
  2. sudo nano /etc/default/grub
  3. sudo update-grub
  4. GRUB_DEFAULT=”Ubuntu, with Linux 2.6.31-21-generic”
  5. It will update /boot/grub blah blah

I upgraded to Kubuntu 10.4 Lucid

I had problems with
  1. wireless network - see lspci, dmesg, /var/log/syslog; I uninstalled network-manager and installed wicd. It helped. I can have at university my wireless network. but still I don't have at home.
  2. I have problems with my big Dell 2407WFPb screen at school on the newest kernel 2.32-21. I have to use 2.31.

Removing running plasmoids in KDE4

The symptom: I can see running plasmoids in the 'running' but I have no way to remove it.

The solution is: go to your home directory (after logging out, in the command line) ;and then:
.kde/share/config/

Look in plasmarc files but more probably in plasma-desktop-appletsrc and remove those plasmoids from this file. Now login to your kde session and they should be no anymore in the running plasmoids.

Wednesday, February 24, 2010

Ripping audio books

1. take audio track from the cd
2. use k3b:
optionally: sudo cdparanoia -B
This will rip your audiobook CD, into the current directory, splitting each track into it's own WAV file.

Read more: http://www.brighthub.com/computing/linux/articles/41095.aspx#ixzz0d1TIm0K2
3. lame -b 64 input-file.wav output-file.mp3
or lame --preset voice input-file.wav output-file.mp3

if you have multiple mp3. mp3wrap output-file.mp3 *.mp3