** Description changed:

  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:
+ 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

** Description changed:

  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.
+ 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:
+ quit command as this as creates a log out option:
  
  if [ $EUID != 0 ]; then
-     gksudo "$0" "$@"
-     gnome-session-quit
-     exit $?
+     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 $?
+     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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1053856

Title:
  switchable graphics HP Envy 14 Ubuntu 12.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1053856/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to