Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 17 Aug 2017, 15:54
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
xbacklight - Adjust Brightness Solution
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
richramo

Joined: 04 Aug 2017
Posts: 4

PostPosted: Sat 05 Aug 2017, 01:43    Post subject:  xbacklight - Adjust Brightness Solution
Subject description: Simple solution for adjusting brightness on Laptops
 

Rather than ask for assistance. I found this as a simple solution to fix the issue for laptops where the brightness hotkeys are non responsive.

I'm running Xenialpup 7.0.8.5 perfectly on my Thinkpad X250 with the exception of the screen being at 100% brightness, this was too much for my eyes and caused considerable drain on the battery I was able to fix this by:

Installing xbacklight from the Puppy Package Manager

* Menu -> Setup -> Puppy Package Manager
*Search for the xbacklight application and install it.

Open Terminal
cd Startup

vi backlight.sh (or use your favourite editor)

Add the following to the backlight.sh file

Code:
#!/bin/bash

/usr/bin/xbacklight -set (whatever percentage you want)
(example: [i]/usr/bin/xbacklight -set 40[/i])


Save and Close the file. (In vi this is ESC key, then :wq!)

* Make the backlight.sh file executable by using the below command

chmod +x backlight.sh

Your done!

Now whenever you start Puppy the brightness of the screen will be set to the percentage that you specified. While not as convenient as the laptop hotkeys it works fine for me as a solution.
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 190
Location: Polish ancestry in UK

PostPosted: Sat 05 Aug 2017, 02:25    Post subject:  

Thanks for letting me no about xbacklight, richramo - I've never heard of it, but I've been meaning to look for a display brightness control program for a long time.

You may get comments that new programs aren't supposed to be posted in this Projects thread though (it's mainly for those building new Puppy distributions whereas one of the 'Additional Software' sub-folders is the intended place to post about new software). Having said that, I'm glad you posted anyway because I might not have noticed the topic buried in that Additional Software area (that's the problem with that area...).

So many thanks,

wiak
Back to top
View user's profile Send private message 
richramo

Joined: 04 Aug 2017
Posts: 4

PostPosted: Sat 05 Aug 2017, 02:38    Post subject:  

Thanks wiak. Was hoping the solution would help someone as I have seen a questions regarding brightness issues.

I noticed right after I hit the post button that it is in the wrong topic.

Have PM'd an admin to possibly move the post to the correct area. Sorry about that.
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 190
Location: Polish ancestry in UK

PostPosted: Sat 05 Aug 2017, 02:44    Post subject:  

By the way, since trying xbacklight I have come across this nice wiki page about setting backlight more generally(even manually - though the xbacklight app is a nice user interface for such a function). This wiki article also mentions the xbacklight utility as it happens and mentions graphics systems on which it works or won't:

https://wiki.archlinux.org/index.php/backlight
Back to top
View user's profile Send private message 
richramo

Joined: 04 Aug 2017
Posts: 4

PostPosted: Sat 05 Aug 2017, 02:55    Post subject:  

Nice wiak. I'll have to play around with application a bit more.
Back to top
View user's profile Send private message 
belham2

Joined: 15 Aug 2016
Posts: 897

PostPosted: Sat 05 Aug 2017, 07:58    Post subject:  

Having been using laptops since 1988....dios mios, am I that old?? Sad ...xbacklight is ok, but it is nowhere in the league of this:

All from a simple icon in your system tray:

--automatic or manual brightness adjustments (manual uses a great slider control)

--automatic or manual screen hues control based on your manually entered settings (brightness, gamma, screen thermal, etc)

--and more.......with an install footprint basically as small as xbacklight
redshift-gui-allows-set-everything-you-need-with-granular-control.jpg
 Description   
 Filesize   25.38 KB
 Viewed   74 Time(s)

redshift-gui-allows-set-everything-you-need-with-granular-control.jpg

Back to top
View user's profile Send private message 
richramo

Joined: 04 Aug 2017
Posts: 4

PostPosted: Sat 05 Aug 2017, 08:54    Post subject:  

That's awesome. Going to have to check it out when i have time.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0374s ][ Queries: 12 (0.0048s) ][ GZIP on ]