Re: [Trisquel-users] Brightness

2012-05-14 Thread mikko . viinamaki
Does your hardware (BIOS + video card) allow controlling brightness by  
software? Try the brightness applet, does it work?


On my laptop this is not possible at all. The laptop remembers itself the  
brightness levels, either with or without battery, so in practice, it's  
likely that every time you remove the cord, brightness will change  
semi-randomly. There's no way to program any logic. And yes, it is very  
annoying.


Re: [Trisquel-users] Brightness

2012-05-15 Thread Aniyan Rajan
>
> Does your hardware (BIOS + video card) allow controlling brightness by
> software? Try the brightness applet, does it work?
>
>
I'm able to control the brightness. But that is not something that I want
to achieve. I want to disable the screen dimming (brightness reducing)
feature, when the laptop is on battery. So that the brightness value will
be the same all the time.

Some one please help.

Thanks,


Re: [Trisquel-users] Brightness

2012-05-15 Thread mikko . viinamaki

Try

gsettings set org.gnome.settings-daemon.plugins.power idle-dim-battery  
"false"


and if it works you'll want to test whether that survives a restart.


Re: [Trisquel-users] Brightness

2012-05-15 Thread Aniyan Rajan
> Try
>
> gsettings set org.gnome.settings-daemon.**plugins.power idle-dim-battery
> "false"
>
> and if it works you'll want to test whether that survives a restart.
>

I tried this and got the following error

GLib-GIO-ERROR **: Settings schema
'org.gnome.settings-daemon.plugins.power' is not installed

aborting...
Aborted


Re: [Trisquel-users] Brightness

2012-05-15 Thread Aniyan Rajan
I have installed gnome-settings-daemon and tried again. Still showing the
same error.

Is there any other way to do this? Like editing a settings file ?

Thanks,


On Tue, May 15, 2012 at 9:43 PM, Aniyan Rajan wrote:

>
> Try
>>
>> gsettings set org.gnome.settings-daemon.**plugins.power idle-dim-battery
>> "false"
>>
>> and if it works you'll want to test whether that survives a restart.
>>
>
> I tried this and got the following error
>
> GLib-GIO-ERROR **: Settings schema
> 'org.gnome.settings-daemon.plugins.power' is not installed
>
> aborting...
> Aborted
>
>


Re: [Trisquel-users] Brightness

2012-05-15 Thread mikko . viinamaki
Ah, I forgot you said you're on Slaine, sorry. You need to run gconf-editor  
(from gconf-editor package) and search for for 'dim'. Then toggle the  
relevant key's value from true to false.


Re: [Trisquel-users] Brightness

2012-05-16 Thread Aniyan Rajan
> Ah, I forgot you said you're on Slaine, sorry. You need to run
> gconf-editor (from gconf-editor package) and search for for 'dim'. Then
> toggle the relevant key's value from true to false.
>

Can you tell me a command line way of doing it, as I'm in a chroot
environment ?

Thanks


Re: [Trisquel-users] Brightness

2012-05-16 Thread mikko . viinamaki

I believe it's

gconftool --set --type bool  
/apps/gnome-power-manager/backlight/idle_dim_battery false


Re: [Trisquel-users] Brightness

2012-05-16 Thread Aniyan Rajan
I ran the following command and made the gconftool working as per
https://bugs.launchpad.net/qbzr/+bug/694279

#unset DBUS_SESSION_BUS_ADDRESS

But still the brightness changes, immediately when the AC is turned off.

Also I found that the value of idle_dim_battery is not changed in the file
/usr/share/gconf/schemas/gnome-power-manager.schemas

So I changed it to false manually. I also changed some of the values of the
tags related to the battery. But still not able to achieve the desired
result.

Please help.

Thanks.

On Wed, May 16, 2012 at 8:37 PM, wrote:

> I believe it's
>
> gconftool --set --type bool 
> /apps/gnome-power-manager/**backlight/idle_dim_battery
> false
>


Re: [Trisquel-users] Brightness

2013-03-20 Thread noisysoul666
oh, I've been such a fool, I forgot to mention I'm running it on a Samsung  
R430 laptop (I used to use ppa voria's drivers). thx


Re: [Trisquel-users] Brightness

2013-03-20 Thread Fabian Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I had another Samsung, different problem, but similar problem. I
remember trying some other value for acpi_vendor at boot. Check this:
http://wiki.debian.org/InstallingDebianOn/Samsung/Samsung%20N150

Cheers,

Fabian



- -- 
Fabián Rodríguez
http://fsf.magicfab.ca
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: PGP/Mime available upon request
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlFKJbQACgkQfUcTXFrypNUJMQCgiTcMNU+M1i1mwG7EmtQ1q77g
/FoAoMHDdB4PWuiaNbRWk8963ggq8Bwm
=+ECY
-END PGP SIGNATURE-


Re: [Trisquel-users] Brightness

2013-03-20 Thread migatheotaku
Please be careful installing drivers or a kernel from a different source.  
Most third-party drivers are proprietary (non-free) software and most  
versions of the Linux kernel have non-free components in them as well.


It looks like you can use nvidia-bl-dkms, which looks to be free software  
(GPL licensed, but I haven't confirmed this). This is not the proprietary  
nVidia driver (which we don't support or recommend at all), but is a driver  
to control the backlight.


If you've already tried that, then I have no idea where you could go next.


Re: [Trisquel-users] Brightness

2013-03-20 Thread joseph . e . dickson
Assuming you just need to control the LCD or LED brightness try the package  
xbacklight and just manually set up the function keys in your keyboard  
settings.

http://linux.die.net/man/1/xbacklight


Re: [Trisquel-users] Brightness

2013-03-22 Thread noisysoul666
Guys, I tried your solutions but none of them worked :/ I used the usb stick  
on a older Toshiba laptop and Trisquel runs pretty well (Satellite from  
2006-2007, brightness, audio and wifi working out of the box)... I don't know  
what to do, I really would like to switch to Trisquel, but I don't know how  
to increase/decrease brightness on my Samsung lappy :C


Anyway, thank you so much for your help, I hope someone knows a solution  
somewhere :)


Have a great weekend.


Re: [Trisquel-users] Brightness

2013-03-23 Thread mikko . viinamaki

What kind of a GPU does that have?

lspci|grep VGA

Perhaps you can change it via a file, one of these

find /sys -iname brightness

If you get multiple files, you can try to relate them to the devices with  
lspci by looking at the address.


Re: [Trisquel-users] Brightness

2013-03-23 Thread mampir
Since 6.0 I also have problems with setting the brightness.  Specifically, on  
a computer with an Nvidia GPU.  The functions buttons do nothing, only show  
an indicator of changing, but the brightness doesn't actually change.


I work around this by setting the brightness from a file in the /sys  
directory.  In my case the file is  
/sys/class/backlight/nv_backlight/brightness.  I do it like this:



echo 21 | sudo tee /sys/class/backlight/nv_backlight/brightness


11 is the brightness value.  In my case the brightness goes from 1 to 21, 21  
being the highest.


Re: [Trisquel-users] Brightness

2013-03-23 Thread gustavo_cm
One can manipulate the hardware directly: $ sudo setpci -s 00:02.0 f4.b=XX,  
where 'XX' is an hexadecimal value, from '00' to 'ff'. '00' will virtually  
shut down your screen, 'ff' could possibly burn it :-) Besides, such  
"manipulation" can be a not-so-good idea... you could change other parameters  
accidentaly, for example.


See the setpci(8) man page to know more about the command itself.

There is also "redshift", which allows more changes in the screen than just  
its brightness.


Re: [Trisquel-users] Brightness

2013-03-24 Thread pngwen
I have a samsung S10 notebook which has similar behavior.  Part of the  
problem is that it has 2 backlight devices, and the intel one is the one that  
actually controls the laptop.  The other problem is that it has extermely  
fine control.  I can set brightness between 0 and 12000!  I've found that  
trisquel tends to latch on to the wrong brightness control device.  My  
solution was to write a little app which attaches to the correct one and lets  
me adjust it in big jumps.


I've attached the application to this post.  You'll need gcc and gtk+3-dev to  
build it.  Once built, you get two programs.  These are samsung-brightness  
which is the actual adjustment program and samsung-brightness-window which is  
the gui.  Just put both in your path (like in /usr/local/bin) and then setuid  
samsung-brightness so it can tweak your sys files.  Hope that helps!


So in summary, here's the commands to install this badboy:

tar xjf samsung-brightness.tar.bz2
cd samsung-brightness
make
sudo cp samsung-brightness samsung-brightness-window /usr/local/bin
chmod a+s /usr/local/bin/samsung-brightness


Also, it occurs to me I never applied any sort of license to this thing.   
Then again, it represents like 45 minutes of effort.  If it's useful, take it  
and use it!  If you think it would be useful to others, I put the GPL 3 in  
there.  We can say for now that my intent is to apply the GPL, and this is a  
production draft of the code.  Will that work?


Re: [Trisquel-users] Brightness

2013-03-24 Thread pngwen

When you're right right you're right.  Here's a version with GPL applied.

The reason I didn't have it on there before was it was written as quick fix  
for my one machine.  I guess now that I've handed it out, the license becomes  
important.  The irony is, the GPL is longer than the software :-D


Re: [Trisquel-users] Brightness

2013-03-30 Thread noisysoul666
Dear pngwen, the terminal emulator keeps showing me errors :/ I couldn't make  
it work, maybe it doesn't do with my laptop, but anyway, thank you so much.


Guys, I still cannot make it work :/ thanks anyway, I guess I won't be able  
to switch to Trisquel until I get a new laptop (probably in 2015 or so).


PD: I could install Trisquel 6 on my old laptop (Toshiba from 2006-2007), and  
I use to work and study (while I have to keep Elementary OS Luna on my main  
laptop).


Thank you so much guys, please have a great week.

BTW, this is my laptop:

http://www.samsung.com/us/computer/laptops/NP-R430-JA01US

(it's just like that, the only difference is that I added it a RAM card, so  
it now has 3GB of RAM)


Re: [Trisquel-users] Brightness

2013-03-30 Thread noisysoul666

Please ignore Spanish :/

• Marca: Samsung
• Procesador: Intel
• Memoria Ram: 1GB
• Disco Duro: 250GB
• Tamaño de pantalla: 14 pulgadas
• Modelo: NP-R430-JA04CL
• Especificaciones:
• Sistema Operativo: Windows 7 Starter
• Procesador: Intel Pentium Dual Core T4400 (2.20GHz, 800MHz, 1MB) / Intel  
GL40 + ICH9M
• Memoria Ram: 1GB (DDR3 / 1GB x 1) / conexión de memoria: 2 x SODIMM /  
Expandible hasta 4GB

• Disco Duro: 250 GB (5,400 rpm S-ATA)
• Pantalla / Resolución: 14.0" LED HD (1366 x 768) 16:9 Brillante
• Tarjeta Gráfica: Intel GMA 4500M (gráficos internos)
• Unidad óptica: Súper Multi Doble Capa (S-ATA)
• Multimedia: Efecto de sonido: Eliminación de Ruido en Micrófono Efecto  
de Sonido SRS 3D

• Parlantes: Altavoz Estéreo de 3 W (1.5 W x 2)
• Cámara Web: Sí
• Conectividad inalámbrica: 802.11 bg/n, Ethernet: 10 / 100 LAN
• Lector de Tarjetas: 3 en 1 (SD, SDHC, MMC)
• VGA
• HDMI
• Salida para audífonos
• Entrada de micrófono
• Micrófono integrado
• USB: 3 entradas 2.0
• DC-in: Sí
• RJ45 (LAN): Sí
• Poder: Adaptador AC: 60 Watts
• Batería: estandar 6 Celdas
• Otros: Teclado: 87 teclas, 88 teclas
• Softwares pre instalados: Easy Battery Manager
• Easy Display Manager
• Easy Network Manager
• Easy SpeedUp Manager
• Samsung Support Center
• Samsung Update Plus
• Dimensiones: 343.9 x 239 x 29.2 ~ 36.9 mm
• Peso: 2.26 Kilos


Re: [Trisquel-users] Brightness

2013-04-26 Thread 18396055767

http://www.coachsoutletonline-usa.com/ coach outlet usa coach outlet online
http://www.ourcoachoutletonline.com/ coach outlet online usa coach outlet
http://www.newmichaelkorspurse.com/ michael kors purses outlet
http://www.mk-michaelkoroutlet.com/ michael kors outlet online
http://www.guccishoesoutletsfactory.com/ gucci shoes uk
http://www.northfaceoutletonlines.net/ north face outlet online
http://www.monsteroheadphone.com/ monster headphones outlet
http://www.coachstoresonline2013.com/ coach outlet online
http://coachsoutletonline.webs.com/ coach outlet online
http://coachsfactoryoutletonline.webs.com/ coach factory outlet
http://coachfactoryshop.webs.com/ coachfactory.com/shop shop.coachfactory.com
http://michaelkorssale.tumblr.com/ michael kors outlet usa michael kors  
factory


Re: [Trisquel-users] Brightness issues

2012-01-05 Thread mikko . viinamaki
With some video cards it is possible to set brightness via a file named  
brightness below /sys


It contains a number 0-100


Re: [Trisquel-users] Brightness issues

2012-01-07 Thread mornealberts

Daniel, could you do some tests and report here?

Do

sudo showkey

to see what keypresses are being generated when you press Fn+Brightness.

Do that for the first laptop both before and after pulling out the power. In  
other words, both when the buttons are doing nothing and when they work.


I don't yet have an idea of where to look for the second laptop's problem.


Re: [Trisquel-users] Brightness issues

2012-01-07 Thread lluvia_lists

At any case, the result is always the same:

keycode 225 press
keycode 225 release

or

keycode 224 press
keycode 224 release

depending if your are lowing or increasing the brightness.


Re: [Trisquel-users] Brightness control

2013-11-17 Thread blackomegarey
On Sun, 17 Nov 2013 11:06:43 +0100 (CET)
x@x wrote:

> I have an Acer ASPIRE M5 481T and can't adjust the screen brightness.
> It came with windows 8 pre-installed which I removed.
> 
> I used xbacklight and got  "No outputs have backlight property"
> 
> Tried "setpci -s 00:02.0 f4.b=XX" without success.
> 
> Also changed the bootloader parameters with "acpi_backlight=vendor"
> and didn't work.
> 
> What can I do? Thank you.

I used to have that problem with my notebook, but after I installed the
Linux-libre kernel, the brightness adjustment worked. However, it may
or may not work on your Acer. I suggest you try it out.

Here are the instructions on how to do it.
http://jxself.org/linux-libre/



Re: [Trisquel-users] Brightness control

2013-11-17 Thread mattij . lammi

You can also try this which worked with my Asus Eee PC 1005PE:

Modify your /etc/default/grub configuration file to include acpi_osi=Linux  
parameter on the GRUB_CMDLINE_LINUX_DEFAULT line and reboot. So, if it looks  
like this:


GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

Make it look like this:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=Linux"

Could you also add your laptop to www.h-node.org, please? It would help a lot  
especially if your laptop works fine with free software. Add a notice to the  
description about the screen brightness problem and a solution if you found  
one.


Please add your laptop even if it does not work well with free software.  
Devices like that are important to report so that others can avoid them. 


Re: [Trisquel-users] Brightness control

2013-11-18 Thread hbb2
Hi blackomegarey and lammi87, thank you for your time. I installed the  
linux-libre kernel and put the acpi_osi=Linux parameter on grub and didn't  
solve the problem.


I've just registered my laptop at h-node.org


Re: [Trisquel-users] Brightness control

2013-11-18 Thread mattij . lammi
Sorry to hear the brightness problem is still bothering you. Try to search a  
similar laptop models from h-node and see if they have any entries about  
similar problem. This problem might have been solved already.


Anyway, thanks a lot for contributing to h-node!


Re: [Trisquel-users] Brightness control

2013-11-18 Thread mattij . lammi

Just found this on h-node:

"Append acpi_backlight=vendor to GRUB_CMDLINE_LINUX_DEFAULT. Then run sudo  
update-grub."


Basically, try adding "acpi_backlight=vendor" to the  
GRUB_CMDLINE_LINUX_DEFAULT this time. This advice was found on Aspire  
V5-471's entry details. This model has been commercialized in 2012 according  
to h-node.


Re: [Trisquel-users] Brightness control

2013-11-18 Thread hbb2
Hey lammi87, you were right about my bios being not free, I corrected it. I  
was in a rush and filled the form really quickly, also forgot to check if I  
was logged in.


I already tried appending acpi_backlight=vendor but it didn't work. I also  
can't run 3D acceleration(can't run compiz, also tried some games), even  
though it's not an issue for me.


Re: [Trisquel-users] Brightness control

2013-11-19 Thread mattij . lammi

Thanks for your additions!

Regarding your screen brightness problem, I'm almost out of ideas. However, I  
found this on Arch user foorums (link:  
https://wiki.archlinux.org/index.php/Backlight#Backlight_utilities):


"All methods expose themselves to the user by /sys/class/brightness. And  
xrandr/xbacklight could use this folder and choose one method to control  
brightness. But it is still not very clear which one xbacklight prefers by  
default. See FS#27677 for xbacklight, if you get "No outputs have backlight  
property." There is a temporary fix if xrandr/xbacklight does not choose the  
right directory in /sys/class/brightness: You can specify the one you want in  
xorg.conf by setting the "Backlight" option of the Device section to the name  
of that directory (see  
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=651741 at the bottom of the  
page for details). "


Would this help? Try changing this default folder for xbacklight and then  
make keyboard short cuts for


xbacklight -inc X
xbacklight -dec X

where X is a percentage value so you can increase and decrease the  
brightness.


Re: [Trisquel-users] Brightness control

2013-11-20 Thread catfishagain
I had this same problem. After saving the grub text did you do : sudo  
update-grub?


Re: [Trisquel-users] Brightness on Lenovo

2017-06-29 Thread enduzzer

An older thread on a similar issue.

https://trisquel.info/en/forum/toutatis-brightness-control#comment-57107


Re: [Trisquel-users] Brightness on Lenovo

2017-06-30 Thread davidecaramori
I tried to write echo 60 | sudo tee  
/sys/class/backlight/intel_backlight/brightness but it says "permission  
denied". I have an intel graphic HD 520, I tried also the others solutions on  
the forum but nothings work. Can someone help me? If my brightness doesn't go  
down I can't use the laptop...


Re: [Trisquel-users] Brightness on Lenovo

2017-06-30 Thread enduzzer

Try this.

echo X >/sys/class/backlight/acpi_video0/brightness

Where 'x' is a number (try 10 or something).


Re: [Trisquel-users] Brightness on Lenovo

2017-06-30 Thread davidecaramori

I've installed the newest linux libre kernel but nothing changed


Re: [Trisquel-users] Brightness on Lenovo

2017-06-30 Thread svhaab

https://itsfoss.com/fix-brightness-ubuntu-1310/
On an ubuntu notebook I got brightness to work using the instructions.