You are not logged in.
Running kde4 on slower machines can be helped by a trick which comes with qt4.
This is the ability to choose a different method to render things.
in general every application which uses qt4 toolkit comes with an option: "--graphicssystem"
It's parameter can be: native, raster and opengl.
The faster is opengl, but it is very buggy and it's like to corrupt kde icon cache sometimes, the default one is native, slower than raster, but has good performance over network (freenx, ssh -Y benefits from it) , that's the reason because kde devs choose to use it.
Raster is slower than opengl, but stable, and faster than native on localhost; other drawbacks of raster graphics system is that it doesn't seems to support subpixel AA very well (if not at all, can't say for sure).
By the way, i wrote some scripts which switch kde applications to raster/native.
I run them every time a kde package is updated, here they comes.
netbook kokonicki # cat /usr/local/bin/goraster.sh
#changing plasma-desktop is up to you, expect uglier fonts:
#makeraster.sh /usr/share/autostart/plasma-desktop.desktop
for file in $(ls /usr/share/applications/kde4/*.desktop) ; do
makeraster.sh $file
done
#don't do on kfmclient
for file in $(ls /usr/share/applications/kde4/kfmclien*.desktop) ; do
makenative.sh $file
done
#write exceptions here:
# makenative.sh /usr/share/applications/kde4/konsole.desktop
netbook kokonicki # cat /usr/local/bin/gonative.sh
#!/bin/bash
makenative.sh /usr/share/autostart/plasma-desktop.desktop
for file in $(ls /usr/share/applications/kde4/*.desktop) ; do
makenative.sh $file
done
netbook kokonicki # cat /usr/local/bin/makeraster.sh
#!/bin/bash
EXEC="Exec="
RASTER="--graphicssystem raster"
#unset raster:
sed -i "s/$RASTER//g" $1
#set raster again:
sed -i "s/$EXEC.*/& $RASTER/g" $1
#remove double spaces
sed -i "s/ / /g" $1
#do again :p
sed -i "s/ / /g" $1
netbook kokonicki # cat /usr/local/bin/makenative.sh
#!/bin/bash
EXEC="Exec="
RASTER="--graphicssystem raster"
#unset raster:
sed -i "s/$RASTER//g" $1
Now issuing (as root): /usr/local/bin/goraster.sh
and restarting kde, should give you a nice speed boost in most kde applicazions.
Try yourself with okular (zooming in/out), gwenview or resizing a plasma widget.
to go back, just run (as root) /usr/local/bin/gonative.sh
Have fun!
Last edited by kokoko3k (2010-05-02 13:46:39)
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
Useful, thanks!
zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)
Offline
nice, thanks!
Offline
I feel like I'm doing something really stupid... But I copied all the files over, and tried to run, and I get this:
[root@xps ~]# /usr/local/bin/goraster.sh
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 6: makeraster.sh: command not found
/usr/local/bin/goraster.sh: line 10: makenative.sh: command not found
/usr/local/bin/goraster.sh: line 10: makenative.sh: command not found
/usr/local/bin/goraster.sh: line 10: makenative.sh: command not found
/usr/local/bin/goraster.sh: line 10: makenative.sh: command not found
edit: looks ok now, had to put the whole path in the goraster file for the makeraster and makenative scripts
Last edited by heleos (2010-08-22 03:51:22)
Offline
Offline