Tag Info

Hot answers tagged


You have applications like RedShift, but a very simple solution would be to put two (or more) screen brightness settings under a key combination: find out your screen name: run in a terminal xrandr, it creates an output, starting like like: DVI-I-0 disconnected (normal left inverted right x axis y axis) VGA-0 disconnected (normal left inverted right x ...


I had similar problem with Asus P50IJ notebook and Ubuntu 14.04. After i add the kernel boot parameter "acpi_backlight=vendor" the function keys works again. You can use this command: sudo sed -i 's|quiet splash|acpi_backlight=vendor quiet splash|g' /etc/default/grub sudo update-grub Don´t forget to reboot you notebook after that.


There are several syntactical issues with the code you've posted but that's not the main issue here. The problem with the low-level init systems like update-rc.d (et al) is they'll run before X has started. Even in event systems like Upstart where you can wait for starting-x, you're still outside the X environment and you lack things like the DISPLAY ...

Only top voted, non community-wiki answers of a minimum length are eligible