Thread
:
Flip clock pre pre pre pre release
View Single Post
ciroip
2009-01-25 , 04:57
Posts: 334 | Thanked: 366 times | Joined on Nov 2008 @ Italy
#
183
ok qwerty12, great job. As I told you I had a lot of problems trying to make python understand where find the modules. the only way I was able to have somethine work for me is to add directly inside the main py (flipclock) the new syspath+flipclock.
https://garage.maemo.org/frs/downloa...00-n810.tar.gz
I read somewhere this sould make complatible the thing with the tablet, mac, linux and window.
Like usual there is the path to set for local and installed version. I could not resist to change again a module...
. I substitute the battery_status.py (dbus) with a more brutal query of the /dev/retu (and this should solve the annoyng duefault popup each minute when the charger is connected as pointed out by Rassilon7). The problem is that Im calling the external program kcbatt (great small program from KotCzarny) with the python:
kcbatt = ci.os.popen("./kcbatt ","r") in ci_battery.py
but Im not sure how hard can be to make a package out of this mess.
I finally fixed the tablet/sw_battery/sw_led/sw_lux thing. Now I check the tablet model (thanks again qwerty12) and it should automagically downgrade the clock for the n800s: no led, no lux, si batteryes si sound.
Let me know if something cause too trouble for the .debianizing Im sure I can find some alternative way to make the thing work.
Buonanotte e buona domenica
__________________
I can't do it. No one can help.
[SIGPIC][/SIGPIC]
Flip Alarm Clock
-
3DMania Theme
-
Synesthesia
- Deluxepain
http://ciroip.blogspot.com/
http://twitter.com/ciroippolito
Last edited by ciroip; 2009-01-25 at
05:00
.
Quote & Reply
|
The Following 2 Users Say Thank You to ciroip For This Useful Post:
Faz
,
qwerty12
ciroip
View Public Profile
Send a private message to ciroip
Find all posts by ciroip