2012-09-21 07:23:35 |
sean.h.muir@gmail.com |
bug |
|
|
added bug |
2012-09-21 07:23:35 |
sean.h.muir@gmail.com |
attachment added |
|
amended switchcards script https://bugs.launchpad.net/bugs/1053856/+attachment/3327196/+files/switchcards.sh |
|
2012-09-21 07:25:04 |
sean.h.muir@gmail.com |
affects |
xserver-xorg-input-synaptics (Ubuntu) |
ubuntu |
|
2012-09-21 07:39:55 |
sean.h.muir@gmail.com |
description |
I have found the following issues when following the instructions at https://help.ubuntu.com/community/HybridGraphics:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
To have permanent write permissions to the switch file, add the following line, replacing USERNAME with your username, to /etc/init.d/rc.local:
chown USERNAME /sys/kernel/debug/vgaswitcheroo/switch
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I do not add the above command to /etc/init.d/rc.local, i simply just chown the above file as adding the line into the rc.local file does nothing at all and prevents me from using the script by adding a laucher and resulting to me running sudo su in the terminal first.
In addition to the above I have also found that within the gxmessage script that there is no need for the gnome-session-quit command and all that is required is the following at the top of the script:
if [ $EUID != 0 ]; then
gksudo "$0" "$@"
exit $?
fi
regards
sean |
I have found the following issues when following the instructions at https://help.ubuntu.com/community/HybridGraphics:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
To have permanent write permissions to the switch file, add the following line, replacing USERNAME with your username, to /etc/init.d/rc.local:
chown USERNAME /sys/kernel/debug/vgaswitcheroo/switch
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I do not add the above command to /etc/init.d/rc.local, i simply just chown the above file as adding the line into the rc.local file does nothing at all and prevents me from using the script by adding a laucher and resulting to me running sudo su in the terminal first.
In addition to the above I have also found the following issue when using the adapted script at https://wiki.ubuntu.com/druellan/precise-hpenvy1095la#Synaptics_Clickpad:
within the gxmessage script that there is no need for the gnome-session-quit command:
if [ $EUID != 0 ]; then
gksudo "$0" "$@"
gnome-session-quit
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://wiki.ubuntu.com/druellan/precise-hpenvy1095la#Synaptics_Clickpad:
chown $User /sys/class/backlight/acpi_video0/brightness
echo 1 > /sys/class/backlight/acpi_video0/brightness
regards
sean |
|
2012-09-21 07:43:24 |
sean.h.muir@gmail.com |
description |
I have found the following issues when following the instructions at https://help.ubuntu.com/community/HybridGraphics:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
To have permanent write permissions to the switch file, add the following line, replacing USERNAME with your username, to /etc/init.d/rc.local:
chown USERNAME /sys/kernel/debug/vgaswitcheroo/switch
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I do not add the above command to /etc/init.d/rc.local, i simply just chown the above file as adding the line into the rc.local file does nothing at all and prevents me from using the script by adding a laucher and resulting to me running sudo su in the terminal first.
In addition to the above I have also found the following issue when using the adapted script at https://wiki.ubuntu.com/druellan/precise-hpenvy1095la#Synaptics_Clickpad:
within the gxmessage script that there is no need for the gnome-session-quit command:
if [ $EUID != 0 ]; then
gksudo "$0" "$@"
gnome-session-quit
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://wiki.ubuntu.com/druellan/precise-hpenvy1095la#Synaptics_Clickpad:
chown $User /sys/class/backlight/acpi_video0/brightness
echo 1 > /sys/class/backlight/acpi_video0/brightness
regards
sean |
I have found the following issues when following the instructions at https://help.ubuntu.com/community/HybridGraphics:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
To have permanent write permissions to the switch file, add the following line, replacing USERNAME with your username, to /etc/init.d/rc.local:
chown USERNAME /sys/kernel/debug/vgaswitcheroo/switch
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I do not add the above command to /etc/init.d/rc.local, i simply just chown the above file. adding the line into the rc.local file does nothing at all for me and prevents me from using the script by simply adding a laucher and results in me running sudo su in the terminal first followed by the switchcards.sh command.
In addition to the above I have also found the following issue when using the adapted script at https://wiki.ubuntu.com/druellan/precise-hpenvy1095la#Synaptics_Clickpad:
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-session-quit
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://wiki.ubuntu.com/druellan/precise-hpenvy1095la#Synaptics_Clickpad:
chown $User /sys/class/backlight/acpi_video0/brightness
echo 1 > /sys/class/backlight/acpi_video0/brightness
regards
sean |
|
2012-09-28 12:52:46 |
Dario Ruellan |
ubuntu: status |
New |
Opinion |
|