Search
j0ke.net Open Build Service
>
Projects
>
GFS
>
powersave
> powersave-start-thinkpad-applet-on-fnf7.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File powersave-start-thinkpad-applet-on-fnf7.patch of Package powersave
Index: scripts/thinkpad_acpi_events =================================================================== --- scripts/thinkpad_acpi_events (revision 2947) +++ scripts/thinkpad_acpi_events (working copy) @@ -110,8 +110,13 @@ ;; 4102) HOTKEY="Fn+F6" ;; 4103) HOTKEY="Fn+F7" - ACTION="swap monitors" - echo video_switch > /proc/acpi/ibm/video + if [ -x /opt/thinkpad/pd/onscreen_pd.sh ] ; then + run_on_xserver "/opt/thinkpad/pd/onscreen_pd.sh start" & + ACTION="start onscreen_pd applet" + else + echo video_switch > /proc/acpi/ibm/video + ACTION="swap monitors" + fi ;; 4104) HOTKEY="Fn+F8" ACTION="toggle lvds"