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

0 Members and 1 Guest are viewing this topic.

Offline perknh

  • Trusted User
  • Hero
  • *****
  • Posts: 3977
  • Karma: 362
  • 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, 07: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, 10: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: 3977
  • Karma: 362
  • 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, 10: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, 10: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, 10: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: 3977
  • Karma: 362
  • 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, 10: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, 06: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: 3977
  • Karma: 362
  • 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, 06: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, 06: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: 3977
  • Karma: 362
  • 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, 07: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, 08: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, 08: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: 3977
  • Karma: 362
  • 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, 08:13:00 am »
Spoiler (click here to view / hide)
Screen 0: minimum 320 x 200, current 1600 x 900, maximum 32767 x 32767
LVDS1 connected 1600x900+0+0 (normal left inverted right x axis y axis) 382mm x 215mm
   1600x900       60.0*+
   1440x900       59.9 
   1360x768       59.8     60.0 
   1152x864       60.0 
   1024x768       60.0 
   800x600        60.3     56.2 
   640x480        59.9 
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
[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, 08:31:25 am »
well a workaround for now (won't survive a reboot) is to run:
Code: [Select]
xrandr --output LVDS1 --brightness 0.7
you 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.desktop
and 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, 08: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, 10: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-pyside
then
Code: [Select]
cd /opt
then
Code: [Select]
sudo wget https://github.com/lordamit/Brightness/archive/develop.zip
then
Code: [Select]
sudo unzip develop.zip
then
Code: [Select]
sudo rm -v develop.zip
then
Code: [Select]
sudo gedit /usr/share/applications/brightness-controller.desktop
and 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 /opt
then
Code: [Select]
sudo rm -rv Brightness-develop
then
Code: [Select]
cd /usr/share/applications
then
Code: [Select]
sudo rm -v brightness-controller.desktop
« Last Edit: February 04, 2015, 10: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, 11: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: 3977
  • Karma: 362
  • 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, 07: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, 11: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