Author Topic: Is There A Tool Within Peppermint To Control Screen Brightness? [SOLVED]  (Read 7037 times)

Offline perknh

  • Trusted User
  • Hero
  • *****
  • Posts: 4014
  • Karma: 373
  • Soy un huevo, nada más.
    • View Profile
  • Peppermint version(s): Peppermint 10
Hello my friends at Peppermint,

For whatever reason, tonight the screen on my computer seems too bright for me; and then it hit me, after over two years of using Peppermint, I still do not know how to control screen brightness.

There must be a simple way of doing this?  If there is a tool within Peppermint to control screen brightness, I don't know what or where it is.

Any pointers?

Thank you,

perknh
« Last Edit: February 04, 2015, 04:48:17 pm by perknh »
[T]here are a lot of people happily running Peppermint ICE which hasn't been receiving ANY updates for a while now .. and I personally would STILL consider that MUCH more secure than any version of Windows with up-to-date AV/Anti-malware ;)

--  PCNetSpec, Cornwall, Eng.  Dec 03, 2013 5:18 pm

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Is There A Tool Within Peppermint To Control Screen Brightness?
« Reply #1 on: February 03, 2015, 07:17:52 pm »
Is this a laptop ? .. if so, are there no keyboard shortcuts, such as Fn+<some other keys> for brightness up and down

usually indicated by a "sun" symbol, and a "sun" symbol with a dark middle.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline perknh

  • Trusted User
  • Hero
  • *****
  • Posts: 4014
  • Karma: 373
  • Soy un huevo, nada más.
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: Is There A Tool Within Peppermint To Control Screen Brightness?
« Reply #2 on: February 03, 2015, 07:32:27 pm »
Yes, it is a laptop and the F2 key has a sun symbol with an arrow pointing down, and the F3 key has sun symbol with an arrow pointing up.

Is there a trick to using these keys?  Just pressing them seems to do nothing.  I've also tried holding F3 and F4 with SHIFT and CTRL SHIFT, but I've seen no changes.
[T]here are a lot of people happily running Peppermint ICE which hasn't been receiving ANY updates for a while now .. and I personally would STILL consider that MUCH more secure than any version of Windows with up-to-date AV/Anti-malware ;)

--  PCNetSpec, Cornwall, Eng.  Dec 03, 2013 5:18 pm

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Is There A Tool Within Peppermint To Control Screen Brightness?
« Reply #3 on: February 03, 2015, 07:41:12 pm »
Is there no "Fn" key ?
(usually down by the left Ctrl key)

Fn = Function

it would normally be Fn+F2 and Fn+F3
« Last Edit: February 03, 2015, 07:43:54 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline perknh

  • Trusted User
  • Hero
  • *****
  • Posts: 4014
  • Karma: 373
  • Soy un huevo, nada más.
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: Is There A Tool Within Peppermint To Control Screen Brightness?
« Reply #4 on: February 03, 2015, 07:48:32 pm »
Yes, there is a FN Key.  Is there a special combination of keys I need to use?  I've tried a few combinations without success.
[T]here are a lot of people happily running Peppermint ICE which hasn't been receiving ANY updates for a while now .. and I personally would STILL consider that MUCH more secure than any version of Windows with up-to-date AV/Anti-malware ;)

--  PCNetSpec, Cornwall, Eng.  Dec 03, 2013 5:18 pm

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Is There A Tool Within Peppermint To Control Screen Brightness?
« Reply #5 on: February 04, 2015, 03:10:14 am »
Are you saying that holding the Fn key whilst stabbing away at F2 or F3 makes no difference ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline perknh

  • Trusted User
  • Hero
  • *****
  • Posts: 4014
  • Karma: 373
  • Soy un huevo, nada más.
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: Is There A Tool Within Peppermint To Control Screen Brightness?
« Reply #6 on: February 04, 2015, 03:36:18 am »
Yes!
[T]here are a lot of people happily running Peppermint ICE which hasn't been receiving ANY updates for a while now .. and I personally would STILL consider that MUCH more secure than any version of Windows with up-to-date AV/Anti-malware ;)

--  PCNetSpec, Cornwall, Eng.  Dec 03, 2013 5:18 pm

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Is There A Tool Within Peppermint To Control Screen Brightness?
« Reply #7 on: February 04, 2015, 03:47:01 am »
What's the make / Model of laptop ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline perknh

  • Trusted User
  • Hero
  • *****
  • Posts: 4014
  • Karma: 373
  • Soy un huevo, nada más.
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: Is There A Tool Within Peppermint To Control Screen Brightness?
« Reply #8 on: February 04, 2015, 04:46:36 am »
Toshiba Satellite C-70.
 
P.S.

PCNetSpec, there's absolutely no emergency here, and right now I need to leave town for several hours.  But, I was wondering if there may be a program with a slider for this issue; you know, something like Ubuntu uses to regulate screen brightness.  I was wondering if there is some little program I could download from our software manager that could do the trick.

Thank you.

« Last Edit: February 04, 2015, 05:08:52 am by perknh »
[T]here are a lot of people happily running Peppermint ICE which hasn't been receiving ANY updates for a while now .. and I personally would STILL consider that MUCH more secure than any version of Windows with up-to-date AV/Anti-malware ;)

--  PCNetSpec, Cornwall, Eng.  Dec 03, 2013 5:18 pm

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Is There A Tool Within Peppermint To Control Screen Brightness?
« Reply #9 on: February 04, 2015, 05:04:05 am »
what's the output from:
Code: [Select]
xrandr
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline perknh

  • Trusted User
  • Hero
  • *****
  • Posts: 4014
  • Karma: 373
  • Soy un huevo, nada más.
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: Is There A Tool Within Peppermint To Control Screen Brightness?
« Reply #10 on: February 04, 2015, 05:13:00 am »
Spoiler (click here to view / hide)
[close]
[T]here are a lot of people happily running Peppermint ICE which hasn't been receiving ANY updates for a while now .. and I personally would STILL consider that MUCH more secure than any version of Windows with up-to-date AV/Anti-malware ;)

--  PCNetSpec, Cornwall, Eng.  Dec 03, 2013 5:18 pm

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Is There A Tool Within Peppermint To Control Screen Brightness?
« Reply #11 on: February 04, 2015, 05:31:25 am »
well a workaround for now (won't survive a reboot) is to run:
Code: [Select]
xrandr --output LVDS1 --brightness 0.7you can change that brightness value from 0.7 to whatever you want.

be aware -
1 = the brightness default level

you can go above or below that value .. though don't go nuts with something like 100 ;)

A reboot will bring you back to defaults



Once you know the setting you're happy with you could "autostart" this setting at bootup.

Create an autostart file:
Code: [Select]
gedit ~/.config/autostart/screen-brightness-autostart.desktopand make it read:
Code: [Select]
[Desktop Entry]
Name=Screen Brightness Autostart
Comment=Set screen brightness at startup
Exec=xrandr --output LVDS1 --brightness 0.7
Icon=video-display
Terminal=false
Type=Application
SAVE the file, then log off/on to test.

Obviously you'd want to change the "--brightness" value in that autostart file to whatever you decided was best.
« Last Edit: February 04, 2015, 05:42:16 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Is There A Tool Within Peppermint To Control Screen Brightness?
« Reply #12 on: February 04, 2015, 07:14:24 am »
You could try this GUI Brightness Controller:
https://github.com/lordamit/Brightness
(works perfectly for me :) )


Instructions:-

Open a terminal and run these commands in sequence:
Code: [Select]
sudo apt-get install python-pysidethen
Code: [Select]
cd /optthen
Code: [Select]
sudo wget https://github.com/lordamit/Brightness/archive/develop.zipthen
Code: [Select]
sudo unzip develop.zipthen
Code: [Select]
sudo rm -v develop.zipthen
Code: [Select]
sudo gedit /usr/share/applications/brightness-controller.desktopand when a blank file opens, make it read:-
Code: [Select]
[Desktop Entry]
Type=Application
Name=Brightness Controller
Comment=Set screen brightness
Exec=/opt/Brightness-develop/src/init.py
Icon=xfpm-brightness-lcd
Terminal=false
Categories=GTK;Settings;DesktopSettings
SAVE the file, and close gedit.

Now go to:-

menu > Preferences > Brightness Controller

to test.

Again, any settings made in there will NOT survive a reboot .. so you may want to use it in conjunction with the part of my last posting that explains how to set a brightness level at bootup



To Remove/Uninstall:-

Open a terminal and run these commands in sequence:
Code: [Select]
cd /optthen
Code: [Select]
sudo rm -rv Brightness-developthen
Code: [Select]
cd /usr/share/applicationsthen
Code: [Select]
sudo rm -v brightness-controller.desktop
« Last Edit: February 04, 2015, 07:38:57 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline iamesperambient

  • Veteran
  • ****
  • Posts: 1269
  • Karma: 89
  • a totally awesome dude
    • View Profile
    • i AM esper (drone ambient music)
  • Peppermint version(s): Peppermint 8 64 bit
Re: Is There A Tool Within Peppermint To Control Screen Brightness?
« Reply #13 on: February 04, 2015, 08:38:53 am »
Yes, there is a FN Key.  Is there a special combination of keys I need to use?  I've tried a few combinations without success.

on my laptop i hit FN and the up or down keys to control brightness.
but i use redshift and my config file changes the color temp and brightness
at night automatically so i dont need to use it :D
http://iamesper.bandcamp.com
boring drone music from NJ

Offline perknh

  • Trusted User
  • Hero
  • *****
  • Posts: 4014
  • Karma: 373
  • Soy un huevo, nada más.
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: Is There A Tool Within Peppermint To Control Screen Brightness?
« Reply #14 on: February 04, 2015, 04:47:19 pm »
Well, PCNetSpec,

I did everything you said, and I did it all backwards!  I added the GUI Brightness tool first, followed by two Gedits, and then I finally ran your xrandr command.  Still, even though I followed your commands in reverse, the brightness level is staying at 7; and with the GUI Brightness Tool, I can push the brightness levels up or down if I'd like.

This is a winner!

Thank you.  :)

And, iamesperambient, you really know how to hurt a guy, don't you? 

Ouch! 

« Last Edit: February 15, 2015, 08:28:54 am by perknh »
[T]here are a lot of people happily running Peppermint ICE which hasn't been receiving ANY updates for a while now .. and I personally would STILL consider that MUCH more secure than any version of Windows with up-to-date AV/Anti-malware ;)

--  PCNetSpec, Cornwall, Eng.  Dec 03, 2013 5:18 pm