|
2013-08-20
, 20:07
|
|
Posts: 283 |
Thanked: 276 times |
Joined on Aug 2011
@ uk or @Pai,Mae Hong Son, Thailand
|
#2
|
|
2013-08-20
, 20:14
|
Posts: 2,290 |
Thanked: 4,133 times |
Joined on Apr 2010
@ UK
|
#3
|
|
2013-08-20
, 20:37
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#4
|
|
2013-08-23
, 08:00
|
|
Posts: 283 |
Thanked: 276 times |
Joined on Aug 2011
@ uk or @Pai,Mae Hong Son, Thailand
|
#5
|
The easiest way I can think of is a small application written in Qt.
You can map the rocker keys to code in the application and you could move the icons off the desktop into the apps MainWindow.
|
2013-08-23
, 11:12
|
Posts: 2,290 |
Thanked: 4,133 times |
Joined on Apr 2010
@ UK
|
#6
|
Anyone here care to give me some guidance on how to do this
please, please, please...
|
2013-08-25
, 08:47
|
|
Posts: 283 |
Thanked: 276 times |
Joined on Aug 2011
@ uk or @Pai,Mae Hong Son, Thailand
|
#7
|
If you provide more information on what your buttons do and how you control the pi, maybe I can help.
Do you have experience with Qt?
[Desktop Entry] Encoding=UTF-8 Version=0.1 Type=Application Terminal=false Name=omx vol up Exec=/usr/local/sbin/up.sh Icon=up_rgm X-App-Loading-Image=none
echo /usr/local/sbin/up.sh | nc localhost 22000 >/dev/null 2>&1 run-standalone.sh dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteInfoprint string:"uk sound up 3db"
echo -n + >/home/richard/omfifo
|
2013-08-30
, 12:16
|
|
Posts: 283 |
Thanked: 276 times |
Joined on Aug 2011
@ uk or @Pai,Mae Hong Son, Thailand
|
#8
|
|
2013-08-30
, 12:46
|
Posts: 2,290 |
Thanked: 4,133 times |
Joined on Apr 2010
@ UK
|
#9
|
I have icons on the N900 to play media/tv, change channels/tracks etc.
Instead of using volume up/down icons I would really control the server 'volume' via the N900's 'rocker' volume/zoom switch.
I am not sure if what I am trying to do is easily possible. Just
want the code to call my shell script volume up/down in addition to
what it does now.
Is this possible?
Last edited by macey; 2013-08-25 at 10:04. Reason: typo