SparkyLinux Forums

Software & hardware support => Applications => Topic started by: way12go on April 07, 2015, 07:04:28 AM

Title: [ Solved ] Laptop brightness keys
Post by: way12go on April 07, 2015, 07:04:28 AM
I've installed sparkylinux 4 RC on both desktop and laptop and the icons are awesome.

Previously I used  Mate and I could access laptop brightness keys etc also I was getting visual effects for the keys and now in LXDE the keys are no longer working. What is the app for it?
Title: Re: Laptop brightness keys
Post by: pavroo on April 07, 2015, 01:52:13 PM
Install 'xbacklight' package.
Edit the file:
~HOME/.config/openbox/lxde-rc.xml
Before :
</keyboard>
paste the text:
<keybind key="XF86MonBrightnessDown">
      <action name="Execute">
        <command>xbacklight -20</command>
        <startupnotify>
          <enabled>yes</enabled>
          <name>Decrease screen brightness</name>
        </startupnotify>
      </action>
    </keybind>
  <keybind key="XF86MonBrightnessUp">
      <action name="Execute">
        <command>xbacklight +20</command>
        <startupnotify>
          <enabled>yes</enabled>
          <name>Increase screen brightness</name>
        </startupnotify>
      </action>
    </keybind>

Then re-login and use function keys or special + Up/Down keys to change brightness.
Title: Re: Laptop brightness keys
Post by: way12go on April 07, 2015, 02:18:28 PM
Thanks, it's working. But, in previous Mate installations I could see the on-screen display of key effects now I can use the keys but there is no on-screen display.

Anyway it's okay.

Thanks again.
Title: Re: Laptop brightness keys
Post by: cynclida on April 29, 2015, 10:26:58 AM
On my laptop I got OSD working (for brightness and volume) applying the following steps:

general:
- installed xfce4-notifyd, stopped autostart of notification deamon unchecking it in Dsktop Session Settings
brightness:
- installed xfce4-power-manager, added it to autostart checking it in Desktop Session Settings
volume:
- installed volumeicon-alsa and created volumeicon.desktop in ~/.config/autostart/:

[Desktop Entry]
Name=Volumeicon
Exec=volumeicon
Terminal=false
Type=Application
Categories=Applications;GTK;
NoDisplay=true


After reboot, I had to check control for brightness keys in Power Management and for volume keys in Volumeicon. Now OSD works  :)
Title: Re: [ Solved ] Laptop brightness keys
Post by: Adwaith R Krishna on May 07, 2018, 09:03:00 PM
Tried all the stuff mention above..still not working, running sparky on lenovo z51-70
Title: Re: [ Solved ] Laptop brightness keys
Post by: paxmark1 on May 08, 2018, 04:26:58 PM
http://sparkylinux.org/forum/index.php/topic,2305.0.html

QuoteSearch Before Posting

Search the Sparkylinux forums and Google for questions before posting.

New Questions Deserve New Threads

Do not add new questions to existing threads, start your own instead! This will make it easier for other members to provide support. This includes hijacking, do not ask unrelated questions in a user's existing support thread.

Do not resurrect support threads older than 6 months, outdated information can cause issues with newer releases.

Please look up the term necroposting

https://bbs.archlinux.org/viewtopic.php?id=101991

https://www.urbandictionary.com/define.php?term=Necroposting

New Post please.  Please give more details on your system ("inxi" is nice) and especially what version of Sparky and what DE (Desktop Environment)   are you using.  Reference  as having tried this post   

Also post what other places you have searched

What is also helpful is searching for the similar answers in other places.  Your search of the problem here on this forum was probably correct.  We are a small fish in the Debian and Linux environment.

peace out.