daily pastebin goal
14%
SHARE
TWEET

remove annoying amd unsupported hardware logo

ak47suk1 Jul 13th, 2011 862 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # In a terminal type this:
  2.  
  3. nano fixwatermark.sh
  4.  
  5. # Paste the following into it:
  6.  
  7. # fixwatermark.sh
  8. # copy from here
  9.  
  10. #!/bin/sh
  11. DRIVER=/usr/lib/fglrx/xorg/modules/drivers/fglrx_drv.so
  12. for x in $(objdump -d $DRIVER|awk '/call/&&/EnableLogo/{print "\\x"$2"\\x"$3"\\x"$4"\\x"$5"\\x"$6}'); do
  13.  sed -i "s/$x/\x90\x90\x90\x90\x90/g" $DRIVER
  14. done
  15.  
  16. # to here
  17.  
  18. # exit and type
  19.  
  20. chmod +x fixwatermark.sh
  21.  
  22. # Then type
  23.  
  24. sudo sh fixwatermark.sh
  25.  
  26. # Log out and back in. Ta da!
RAW Paste Data
Top