Skip to content

Instantly share code, notes, and snippets.

@orschiro
Created March 2, 2018 11:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save orschiro/97b1beb77a05b8214148316ef82d0eef to your computer and use it in GitHub Desktop.
Save orschiro/97b1beb77a05b8214148316ef82d0eef to your computer and use it in GitHub Desktop.
Recipe to change brightness on GNOME
# ~/.local/share/applications/decrease-brightness.desktop
[Desktop Entry]
Version=1.1
Type=Application
Name=Decrease brightness
Icon=~/.icons/decrease-brightness.png
Exec=gdbus call --session --dest org.gnome.SettingsDaemon.Power --object-path /org/gnome/SettingsDaemon/Power --method org.gnome.SettingsDaemon.Power.Screen.StepDown
Actions=
# ~/.local/share/applications/increase-brightness.desktop
[Desktop Entry]
Version=1.1
Type=Application
Name=Increase brightness
Icon=~/.icons/increase-brightness.png
Exec=gdbus call --session --dest org.gnome.SettingsDaemon.Power --object-path /org/gnome/SettingsDaemon/Power --method org.gnome.SettingsDaemon.Power.Screen.StepUp
Actions=
@orschiro
Copy link
Author

orschiro commented Mar 2, 2018

increase-brightness.png

increase-brightness

decrease-brightness.png

decrease-brightness

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment