Advertising

Author Topic: [ Solved ] Laptop brightness keys  (Read 2843 times)

Offline way12go

  • Sr. Member
  • ****
  • Posts: 479
  • Life is a unique pattern.
[ Solved ] Laptop brightness keys
« 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?
« Last Edit: May 19, 2015, 08:45:00 am by way12go »
Life is a unique pattern.

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1866
    • SparkyLinux
Re: Laptop brightness keys
« Reply #1 on: April 07, 2015, 01:52:13 pm »
Install 'xbacklight' package.
Edit the file:
Code: [Select]
~HOME/.config/openbox/lxde-rc.xmlBefore :
Code: [Select]
</keyboard>paste the text:
Code: [Select]
<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.
« Last Edit: April 07, 2015, 02:11:31 pm by pavroo »
Nothing is easy as it looks.
Danielle Steel

Offline way12go

  • Sr. Member
  • ****
  • Posts: 479
  • Life is a unique pattern.
Re: Laptop brightness keys
« Reply #2 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.
Life is a unique pattern.

Offline cynclida

  • Newbie
  • *
  • Posts: 16
Re: Laptop brightness keys
« Reply #3 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/:
Code: [Select]
[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  :)
« Last Edit: April 29, 2015, 11:09:22 am by cynclida »

Offline Adwaith R Krishna

  • Newbie
  • *
  • Posts: 1
Re: [ Solved ] Laptop brightness keys
« Reply #4 on: May 07, 2018, 09:03:00 pm »
Tried all the stuff mention above..still not working, running sparky on lenovo z51-70
« Last Edit: May 07, 2018, 09:04:57 pm by Adwaith R Krishna »

Offline paxmark1

  • Sr. Member
  • ****
  • Posts: 372
Re: [ Solved ] Laptop brightness keys
« Reply #5 on: May 08, 2018, 04:26:58 pm »
http://sparkylinux.org/forum/index.php/topic,2305.0.html

Quote
Search 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.



« Last Edit: May 08, 2018, 04:36:58 pm by paxmark1 »
Don't make a FrankenDebian