switchable graphics HP Envy 14 Ubuntu 12.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
Opinion
|
Undecided
|
Unassigned |
Bug Description
I have found the following issues when following the instructions at https:/
-------
To have permanent write permissions to the switch file, add the following line, replacing USERNAME with your username, to /etc/init.
chown USERNAME /sys/kernel/
-------
I do not add the above command to /etc/init.
In addition to the above I have also found the following issue when using the adapted script at https:/
within the gxmessage script that there is no need for the gnome-session-quit command as this as creates a log out option:
if [ $EUID != 0 ]; then
gksudo "$0" "$@"
gnome-
exit $?
fi
and all that is required is the following at the top of the script:
if [ $EUID != 0 ]; then
gksudo "$0" "$@"
exit $?
fi
Finally the brightness issue on boot is also resolved by issuing commands from terminal and not adding in to the rc.local file(as mentioned in https:/
chown $User /sys/class/
echo 1 > /sys/class/
regards
sean
affects: | xserver-xorg-input-synaptics (Ubuntu) → ubuntu |
description: | updated |
description: | updated |
Changed in ubuntu: | |
status: | New → Opinion |
Hi Sean.
About your commentaries on my script:
The session-quit is needed because I'm using DIGD DDIS commands to switch cards, those commands only take place after a logout. I thought it was more safer that way.
About the video brightness on the rc.local, I put it there as a recommandation of the wiki, but also I like this command to be executed as soon as possible to not to stress the battery.
Tell me if I'm wrong, but I believe that if you use terminal commands, you must change the brightness mannually at the login?
Thanks for the comments!