{"id":23,"date":"2008-04-28T22:49:01","date_gmt":"2008-04-28T10:49:01","guid":{"rendered":"http:\/\/p-s.co.nz\/wordpress\/?p=23"},"modified":"2009-05-12T13:43:55","modified_gmt":"2009-05-12T01:43:55","slug":"hardy-and-compiz-on-a-cheap-notebook","status":"publish","type":"post","link":"http:\/\/p-s.co.nz\/wordpress\/hardy-and-compiz-on-a-cheap-notebook\/","title":{"rendered":"Hardy and Compiz on a cheap Acer Aspire 4315"},"content":{"rendered":"<p>I did a fresh install of Hardy onto my Acer Aspire 4315 notebook (which had Gutsy pre-installed by the vendor Dick Smith Electronics).  With a bit of help from a good friend I managed to replace the proprietary wireless drivers with madwifi ones*. I decided to see if the more complex compiz effects would work for me &#8211; and I was delighted when most of them did**.  Fantastic &#8211; and all possible with a fraction of the hardware required for Vista (my notebook is only a 1.86GHz Celeron with 1Gb of RAM).  <strong>Ubuntu<\/strong> is where the WOW begins.  <\/p>\n<p>[Update &#8211; use sudo apt-get install ubuntu-restricted-extras to do everything in one go]<\/p>\n<p>The general codecs issue was easily dealt with once I added medibuntu as a repository as per https:\/\/help.ubuntu.com\/community\/Medibuntu.<\/p>\n<p>Basically:<\/p>\n<p><code>sudo wget http:\/\/www.medibuntu.org\/sources.list.d\/hardy.list -O \/etc\/apt\/sources.list.d\/medibuntu.list<br \/>\nsudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update<br \/>\nsudo apt-get install libdvdcss2<br \/>\nsudo apt-get install w32codecs<\/code><br \/>\nand you&#8217;re good to go playing DVDs etc.<\/p>\n<p>To get youtube working I just let it prompt me for the codecs and they worked just fine.<\/p>\n<p>Some extra touches to make the system easier to use:  system>preferences>keyboard shortcuts and remap the special &#8220;e&#8221; key to the left of the keyboard to mute.<br \/>\nhttp:\/\/www.linuxquestions.org\/questions\/linux-laptop-and-handheld-25\/&#8230;<br \/>\n&#8230;acer-blame-limitation-of-linux-for-four-key-flaws-in-their-ubuntu-laptop.-632342\/<\/p>\n<p>It might be best to avoid remapping the wireless key for anything &#8211; I think it still works to enable\/disable wireless at a hardware level.  See <a href=\"http:\/\/ubuntuforums.org\/showpost.php?p=4804137&#038;postcount=30\">http:\/\/ubuntuforums.org\/showpost.php?p=4804137&#038;postcount=30<\/a>.  You can see it changing the contents of \/proc\/acpi\/acer\/wireless from 1 to 0 etc (NB to refresh in nautilus to see effect).<\/p>\n<p>[Update for Intrepid onwards &#8211; install SHMconfig <a href=\"https:\/\/help.ubuntu.com\/community\/SynapticsTouchpad#shmconfig\">https:\/\/help.ubuntu.com\/community\/SynapticsTouchpad#shmconfig<\/a>]<\/p>\n<p>I wanted the touchpad disabled on boot so I added a new session under system>preferences>sessions with the command synclient TouchpadOff=1.  I also added the line<br \/>\nOption \t\t&#8220;SHMConfig&#8221;\t\t&#8220;on&#8221;<br \/>\nin \/etc\/X11\/xorg.conf as follows:<\/p>\n<p>Section &#8220;InputDevice&#8221;<br \/>\n\tIdentifier\t&#8220;Synaptics Touchpad&#8221;<br \/>\n\tDriver\t\t&#8220;synaptics&#8221;<br \/>\n\tOption\t\t&#8220;SendCoreEvents&#8221;\t&#8220;true&#8221;<br \/>\n\tOption\t\t&#8220;Device&#8221;\t\t&#8220;\/dev\/psaux&#8221;<br \/>\n\tOption\t\t&#8220;Protocol&#8221;\t\t&#8220;auto-dev&#8221;<br \/>\n\tOption\t\t&#8220;HorizEdgeScroll&#8221;\t&#8220;0&#8221;<br \/>\n\tOption \t\t&#8220;SHMConfig&#8221;\t\t&#8220;on&#8221;<br \/>\nEndSection<br \/>\n<a href=\"http:\/\/ubuntu.wordpress.com\/2006\/03\/24\/disable-synaptics-touchpad\/\"><br \/>\nhttp:\/\/ubuntu.wordpress.com\/2006\/03\/24\/disable-synaptics-touchpad\/<\/a><\/p>\n<p>But how to get it back again when I don&#8217;t have a mouse?  I went applications>system tools>configuration editor then apps>metacity>global_keybindings and bound run_command_1 to Alt t<br \/>\nThen under apps>metacity>keybinding_commands set command_1 to synclient TouchpadOff=1.  Now I can enable the touchpad by pressing Alt t.<\/p>\n<p>And I have just discovered that there is a webpage devoted entirely to this model notebook with Ubuntu. <a href=\"http:\/\/www.hbclinux.net.nz\/acer4315.html\"> http:\/\/www.hbclinux.net.nz\/acer4315.html<\/a><\/p>\n<p>* madwifi-nr-r3366+ar5007 for those interested.  Check out <a href=\" http:\/\/ubuntuforums.org\/showthread.php?t=662877\">http:\/\/ubuntuforums.org\/showthread.php?t=662877<\/a><br \/>\nThe change away from proprietary drivers may have been what restored the functionality of restart.<\/p>\n<blockquote><p>Power management in Linux seems to be perennially problematic if you use a closed binary driver, and Ubuntu was, unfortunately, no exception. The desktop machines suspended and hibernated fine as long as you weren&#8217;t using proprietary video drivers, and the VAIO (with its Intel 915 controller) had a lightning-fast suspend\/resume cycle. The Thinkpad also balked when using proprietary drivers.<br \/>\n<a href=\"http:\/\/www.informationweek.com\/shared\/printableArticle.jhtml?articleID=207200145\">http:\/\/www.informationweek.com\/shared\/printableArticle.jhtml?articleID=207200145<\/a><\/p><\/blockquote>\n<p>** NB to get cube effects working, set the workspace preferences to 4 cols and 1 row.  To configure compiz, run the following:<br \/>\n<code>sudo apt-get install compizconfig-settings-manager<\/code>  To get cairo dock working go to <a href=\"http:\/\/developer.berlios.de\/project\/showfiles.php?group_id=8724&#038;release_id=13311\">http:\/\/developer.berlios.de\/project\/showfiles.php?group_id=8724&#038;release_id=13311<\/a> and install the appropriate deb.  Then run cairo-dock (e.g. Alt F2) &#8211; see <a href=\"http:\/\/thedailyubuntu.blogspot.com\/2008\/02\/cairo-dock-animated-launch-bar-for_03.html\">http:\/\/thedailyubuntu.blogspot.com\/2008\/02\/cairo-dock-animated-launch-bar-for_03.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I did a fresh install of Hardy onto my Acer Aspire 4315 notebook (which had Gutsy pre-installed by the vendor Dick Smith Electronics). With a bit of help from a good friend I managed to replace the proprietary wireless drivers &hellip; <a href=\"http:\/\/p-s.co.nz\/wordpress\/hardy-and-compiz-on-a-cheap-notebook\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-23","post","type-post","status-publish","format-standard","hentry","category-ubuntu"],"_links":{"self":[{"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/posts\/23"}],"collection":[{"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/comments?post=23"}],"version-history":[{"count":4,"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/posts\/23\/revisions"}],"predecessor-version":[{"id":438,"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/posts\/23\/revisions\/438"}],"wp:attachment":[{"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/media?parent=23"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/categories?post=23"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/tags?post=23"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}