Showing posts with label kde. Show all posts
Showing posts with label kde. 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, June 2, 2009

Force Skype to use qt4 theme

I use skype for chatting and online talk with my friends and family back home. However, every time I use skype I hate that even though it is a qt4 app (now), it still does not honour my kde settings.

So, I did some research (read googling) and found out the following way would easily solve the problem.

When starting skype, just use the switch "--disable-cleanlook" and it should pick up the theme which is selected in the kde4 settings. Or if you want to use a particular style then you can pass the theme name as "--style .

skype --disable-cleanlooks

Hope it helps some one... enjoi...