Fast screen rotate app

Tilman Baumann tilman at
Mon Nov 24 17:17:48 CET 2008

Carlo Minucci wrote:
> Tilman Baumann ha scritto:
>> Moritz Bitsch wrote:
> hi
> i have made a similar application, can you test on SHR for me? :)
> you can download from
> thank you

Sure. But I like to point out that I'm rather biased towards mortz's 
app, because he is my colleague and his app is only a hand full of C.
So i woud probably always dig his version.

I looked at your app. Here is what i found:

1. Problem
Not all Categories in .desktop files are shown. Which distro shows which 
Categories seems to be a moving target.
I changed your categories to
and the icon shows up in my launcher.
I don't know if these Categoreis are documented somewhere but this is at 
least what makes it work on SHR.

2. Problem
Your program is not Neo 1973 compatible.
root at om-gta01 ~ $
Traceback (most recent call last):
   File "/usr/bin/", line 16, in <module>
     fb = open("/sys/class/backlight/pcf50633-bl/actual_brightness", "r")
IOError: [Errno 2] No such file or directory: 

I guess framework has a interface which you could use here. That would 
be the only right thing to do on FSO and SHR. (Both using frameworkd)
You could ask the FSO guys what to do here.
I would have tested your app with the right backlight path 
(/sys/class/backlight/gta01-bl/actual_brightness), if it would have been 
a single variable in your script.
But it is all over the place. No thanks... ;)

3. The real problem
And I have t say, I find your idea of manipulating the .desktop file 
absolutely revolting. Sorry.
It seems to depend on being sliped by ruotami in the first place to get 
a grip on the current rotation.

I like the idea of blanking the screen while rotating. But this needs to 
be done in some other way.

Sorry, zero points for style. ;)

Drucken Sie diese Mail bitte nur auf Recyclingpapier aus.
Please print this mail only on recycled paper.

More information about the community mailing list