Showing posts with label kde4. Show all posts
Showing posts with label kde4. Show all posts

Wednesday, March 3, 2010

Replace krfb with vino in kde4

I use kde4 on my server box due to some audio problem with gnome. In gnome I am not getting any audio. I broke my head for long time, installing, removing and configuring pulse audio to no avail.

So, I moved to kde4 and it was easy enough and my audio started working without pulse. I do not want pulse as there is no ac3 pass thru support which I need for home teather.

I used to run vino on gnome to remotely access my comp. KDE has krfb, so I used to do auto start it when I login.

Problem with krfb is that it hogs the system when you are remotely accessing, cpu spikes to 100% and system kind of becomes unusable with lot lag.

I loved vino so I did the following and now I can use vino on KDE.

1. Stop krfb

2. Remove krfb from startup.

3. open konsole.

4. type vino-preferences

5. Configure vino and you are all set.

I am assuming you have vino installed, else install it from your repository.

Now no more lag, and no more cpu spike when using remote desktop :-)

=-=-=-=-=
Powered by Bilbo Blogger

Thursday, January 21, 2010

Reduce Memory Usage Ubuntu/Kubuntu

So, I have one of my machine which has 1GB RAM... I know it is good enough for the work I do, but still being that fanatic of getting more RAM for my work, I did the following changes to increase the free RAM.

1. Disable unnecessary services. There are two places this needs to be done as some services use upstart and other are still using init.

2. Disable upstart processes. Browse to /etc/init and rename the files ending .conf to something else and that service would not start. Remember not all services should be disabled.

This is the screen shot of the services I have disabled. I have appended a ".no" to the file name.

3. Next is to install the software sysv-rc-conf.

Run it as root in a terminal and remove the check marks for those services which you do not need.

I generally remove bluetooth, blrtty, portmap, samba. Do not remove

bluetooth - if you are going to use bluetooth on your computer.

blrtty - if you are going to use the assistive technology features of the OS.

portmap - if you have done any port mapping on the computer.

samba - if you are going to share using samba with some windows computer.

After doing this, my memory consumption in KDE4 is 198 MB... went down from some 300MB odd which was earlier. Suprisingly, KDE4 is taking lot less memory compared to gnome. May be the new GDM is taking lot of memory.

I keep shuttling between KDE and Gnome from time to time, but off late have been using KDE4 for its widgets and cool features.

Tuesday, November 17, 2009

Silence GTK Sound In KDE4

I switched to kde4 as like its sleek modern looking UI. However, I was not able to move or find alternate for firefox.

Every now and then firefox alert used to give this annoying bell like sound, it is really frustrating. I found a solution for this annoyance.

Open up ~/.gtkrc or ~/.gtkrc-kde4 in your favourite editor. Add the following two lines to the file.

gtk-enable-event-sounds= 0
gtk-error-bell=0

Now log out and login. And you are all set.. the annoying sound is gone.