Added sudo to op_bright and op_cpuspeed desktop files to make them actually work
authorMichael Mrozek <EvilDragon@openpandora.org>
Tue, 6 Apr 2010 22:46:54 +0000 (00:46 +0200)
committerMichael Mrozek <EvilDragon@openpandora.org>
Tue, 6 Apr 2010 22:46:54 +0000 (00:46 +0200)
recipes/pandora-system/pandora-scripts/op_bright.desktop
recipes/pandora-system/pandora-scripts/op_cpuspeed.desktop

index 5fe3a91..99fe690 100644 (file)
@@ -2,7 +2,7 @@
 Name=Set Backlight Brightness
 Comment=Set the brightness of the backlight.
 StartupNotify=false
 Name=Set Backlight Brightness
 Comment=Set the brightness of the backlight.
 StartupNotify=false
-Exec=/usr/pandora/scripts/op_bright.sh
+Exec=sudo /usr/pandora/scripts/op_bright.sh
 Icon=Terminal
 Terminal=false
 Type=Application
 Icon=Terminal
 Terminal=false
 Type=Application
index 611a692..5232834 100644 (file)
@@ -2,7 +2,7 @@
 Name=Set CPU speed
 Comment=Under or overclock your OpenPandora CPU.
 StartupNotify=false
 Name=Set CPU speed
 Comment=Under or overclock your OpenPandora CPU.
 StartupNotify=false
-Exec=/usr/pandora/scripts/op_cpuspeed.sh
+Exec=sudo /usr/pandora/scripts/op_cpuspeed.sh
 Icon=Terminal
 Terminal=false
 Type=Application
 Icon=Terminal
 Terminal=false
 Type=Application