|
2010-02-09
, 21:54
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#2
|
The Following User Says Thank You to qwerty12 For This Useful Post: | ||
|
2010-02-09
, 22:00
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#3
|
|
2010-04-06
, 01:15
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#4
|
|
2010-04-06
, 07:39
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#5
|
I then edited the .desktop files for ATI85 and Free42 so that the Exec lines ran the wrapper (placed in /usr/bin with appropriate permissions) with the original command line (quoted if necessary) as the first argument. However, it does not work properly, for some reason. If I launch it from the menu (Catorize), it will run the application, but vibration feedback will not be enabled; if I run the identical command as the Exec line manually from the shell, it works perfectly.
|
2010-04-06
, 08:13
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#6
|
Just curious: Do the desktop files for these programs contain a "X-Osso-Service" line?
|
2010-04-06
, 08:20
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#7
|
|
2010-04-06
, 08:24
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#8
|
With that line in place, hildon-desktop ignores the Exec field of your application. Look in /usr/share/dbus-1/services/ for the program's corresponding .service file and edit the Exec field found there.
If that doesn't work, you have two options:
- Comment out the X-Osso-Service field from the program's desktop file and edit the Exec field.
- Write a daemon that listens for the NameOwnerChanged signal with the first argument - a string one - containing the service name of your program.
|
2010-04-08
, 03:33
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#9
|
#!/bin/sh gconftool -t bool /system/osso/dsm/vibra/touchscreen_vibra_enabled -s true $1 gconftool -t bool /system/osso/dsm/vibra/touchscreen_vibra_enabled -s false
The Following User Says Thank You to For This Useful Post: | ||
Tags |
calculator, script, vibration, wrapper |
|
Any pointers would be appreciated.
Thanks,