Tagged: canonical Toggle Comment Threads | Keyboard Shortcuts

  • BrainwreckedTech 3:18 pm on March 12, 2011 Permalink | Reply
    Tags: canonical, , , , rant, , , unity   

    RANT: Canonical Is NOT Replacing Gnome With Unity In Ubuntu 

    Canonical Logo Vertical HalfGnome Logo Vertical Half

    For people that insist on making distinctions between “operating system” and “window manager,” you’d think there’d be a distinction between “windowing system” and “desktop interface.” However there’s quite a few articles I’ve come across that are suggesting under no uncertain circumstances that Canonical is replacing Gnome with Unity.

    Canonical is doing no such thing.

    (More …)

  • BrainwreckedTech 12:52 am on May 29, 2009 Permalink | Reply
    Tags: , canonical, , cpufreq, , ondemand, , ,   

    BUG: Ubuntu 9.04 – OnDemand Doesn’t Scale CPU Speed 

    Ubuntu Logo

    Along another one of those long, strung-out searches, I came across a problem I didn’t know I had. Or to be more precise, peculiarities I couldn’t put a finger on. Before Ubuntu 9.04, I had no problem running a bunch of gee-whiz compiz effects on my desktop. Before Ubuntu 9.04, Flash overdoses and crashes caused my CPU fan to spin up instead of slowing down my desktop. Before Ubuntu 9.04, I could see my CPU frequencies bouncing around.

    That’s because Ubuntu 8.10 didn’t set the CPU usage threshold to 95% before bumping up the CPU frequency with the ondemand governor.

    (More …)

    • ANdrew 1:24 am on June 20, 2009 Permalink | Reply

      Thanks, that helped a lot, much more responsive now. As you I wonder where that 95% figure comes from as well, there must be some logic behind it though.

    • JimR 12:40 pm on August 3, 2009 Permalink | Reply

      Brilliant! This fix worked like a charm and corrected my Java and full-screen youtube video problems as well. I used your 40% suggestion and am very happy with the results.

    • Bill Bartmann 3:23 pm on September 3, 2009 Permalink | Reply

      Excellent site, keep up the good work

  • BrainwreckedTech 4:24 pm on May 21, 2009 Permalink | Reply
    Tags: , build, canonical, compile, , launchpad, , , ppa, ,   

    HOWTO: Compile Midori From Source In Ubuntu 

    UPDATE: If you want Midori but don’t care for the building, there’s now a Midori PPA for that.

    Midori Logo HalfUbuntu Logo CircleOnly Half You know you want to do it. You know your friends want to do it. You’ve heard stories of people that have done it. We’ve all wanted to do it — compile a program from source. One of the ultimate goals of any geek to own a computer, compiling a program from source just gives you that geek street cred you’ve always wanted. Now you can have it!

    I’m going to show you how to get the Midori browser from source. Midori is a project is headed up by Christian Dywan over at TwoToasts.de. I don’t what has happened, but the version packaged up in the Ubuntu repositories is sorely out-of date at v0.0.18. Midori went 0.1.0 on October 2008.

    (More …)

    • Miguel Guerreiro 6:28 pm on July 28, 2009 Permalink | Reply

      Thanks dude, using Mandriva and ended up compiling this, I didn’t knew these “new waf” commands.

    • brainwreckedtech 5:05 am on July 31, 2009 Permalink | Reply

      If it looks almost Spanish, and Google translate picks up only a few words, it must be Portuguese.
      Crappy Google Translation:
      […] Done is done. The last step is not strictly essential, but not hurt anyone so to do it. Can already use a light and modern browser. Of course, there is version for Windows, but for that is the thong custom, next-> next-> next. Source. […]
      OK, I can understand getting robotic Internet Speak from a computer, but that doesn’t explain “thong custom.” What have you guys been teaching Google Translate? πŸ™‚

    • Miguel Guerreiro 4:54 pm on July 31, 2009 Permalink | Reply

      Yes, thats right Portuguese .-)
      Thoon Custom, is not by close what I wrote, well I guess “old fashion” is a pretty good translation of “tanga do costume” in this context.
      Ok, we maybe should spend a little more time with google…

    • pR@tz 2:42 am on August 10, 2009 Permalink | Reply

      After running ./waf configure I encountered an error like this. (Have googled and googled, but couldn’t solve it).

      Checking for Python : 033[92m/usr/bin/python033[0m
      Checking for WAF : 033[92m/home//install/midori-0.1.9/waf033[0m
      calling waf configure with parameters
      Checking for program gcc : ok /usr/bin/gcc
      Checking for program cpp : ok /usr/bin/cpp
      Checking for program ar : ok /usr/bin/ar
      Checking for program ranlib : ok /usr/bin/ranlib
      Checking for gcc : ok
      Checking for program glib-genmarshal : ok /usr/bin/glib-genmarshal
      Checking for program glib-mkenums : ok /usr/bin/glib-mkenums
      Checking for program rst2html.py : not found
      Checking for program rst2html : ok /usr/bin/rst2html
      Checking for program msgfmt : ok /usr/bin/msgfmt
      Checking for program intltool-merge : ok /usr/bin/intltool-merge
      Checking for header locale.h : ok
      Checking for program rsvg-convert : ok /usr/bin/rsvg-convert
      Checking for unique-1.0 >= 0.9 : ok
      Checking for libidn >= 1.0 : ok
      Checking for sqlite3 >= 3.0 : ok
      Checking for library m : ok
      Checking for gmodule-2.0 >= 2.8.0 : ok
      Checking for gthread-2.0 >= 2.8.0 : ok
      Checking for gio-2.0 >= 2.16.0 : ok
      Checking for gtk+-2.0 >= 2.10.0 : ok
      Checking for webkit-1.0 >= 1.1.1 :
      /home//install/midori-0.1.9/wscript:172: error: the configuration failed (see ‘/home//install/midori-0.1.9/_build_/config.log’)

      Can you help me?

      • brainwreckedtech 4:40 am on August 10, 2009 Permalink | Reply

        Keep in mind this was for Midori 1.6. I see you’re using Midori 1.9, so I hope nothing went wrong with the release.
        You ran the installer with root privileges (sudo), right? What does config.log say? I notice the double-slash, but most of the time Linux ignores it. Should either be in /home/[username]/install or /home/install. If /home/install doesn’t exist, try creating it and running ./waf configure again to get the log.
        Looks like something crashed with libsoup. Do you have libsoup2.4-dev installed? If not, let me know and I’ll update. I thought it’d be installed by default on an Ubuntu machine, but I could have very well had it installed as a dependency to another program and not know it.
        A successful compile should look like this:
        [removed in favor of updated midori configure output]

      • brainwreckedtech 4:51 am on August 10, 2009 Permalink | Reply

        I just uninstalled midori 0.1.6, downloaded, configured, compiled, and installed midori 0.1.9, and everything went OK.
        The completed configure is a bit shorter, but your’s still stops at libsoup.
        Checking for program gcc : ok /usr/bin/gcc
        Checking for program cpp : ok /usr/bin/cpp
        Checking for program ar : ok /usr/bin/ar
        Checking for program ranlib : ok /usr/bin/ranlib
        Checking for gcc : ok
        Checking for program glib-genmarshal : ok /usr/bin/glib-genmarshal
        Checking for program glib-mkenums : ok /usr/bin/glib-mkenums
        Checking for program rst2html.py : not found
        Checking for program rst2html : ok /usr/bin/rst2html
        Checking for program msgfmt : ok /usr/bin/msgfmt
        Checking for program intltool-merge : ok /usr/bin/intltool-merge
        Checking for header locale.h : ok
        Checking for program rsvg-convert : ok /usr/bin/rsvg-convert
        Checking for unique-1.0 >= 0.9 : ok
        Checking for libidn >= 1.0 : ok
        Checking for sqlite3 >= 3.0 : ok
        Checking for library m : ok
        Checking for gmodule-2.0 >= 2.8.0 : ok
        Checking for gthread-2.0 >= 2.8.0 : ok
        Checking for gio-2.0 >= 2.16.0 : ok
        Checking for gtk+-2.0 >= 2.10.0 : ok
        Checking for webkit-1.0 >= 1.1.1 : ok
        Checking for libsoup-2.4 >= 2.25.2 : ok
        Checking for libxml-2.0 >= 2.6 : ok
        Checking for header unistd.h : ok
        Localization: yes (intltool)
        Icon optimizations: yes (rsvg-convert)
        Persistent history: yes (sqlite3)
        IDN support: yes (libidn)
        User documentation: yes (docutils)
        API documentation: no (gtk-doc)
        Configuration finished successfully (00:00:00); project is now ready to build.

    • pR@tz 5:02 am on August 10, 2009 Permalink | Reply

      Thanks for the reply. Well, there are two problems with ./waf configure . One is “Checking for program rst2html.py : not found” and I downloaded and installed docutils to solve it.

      Second one is, I think it is the problem with libwebkit (I think my version of libwebkit is not greater than 1.1.1, btw I am using Xubuntu Jaunty). I am trying to install a later version of the same and try the compilation again.

      Thanks again for the replies. Will come here to update the developments. πŸ™‚

    • pR@tz 6:57 am on August 10, 2009 Permalink | Reply

      Well, the problem was with the outdated libwebkit. I have now updated my system to karmic (unstable) and tried ./waf configure and it worked!

      (lemme now backup files and revert it back)

      Thanks a lot… πŸ™‚

      • brainwreckedtech 12:59 pm on August 10, 2009 Permalink | Reply

        Wow, I completely missed the missing “ok.”
        This is one of the things that drive me nuts about Linux – package names often contain version numbers. It’s done so that multiple versions can exist on one system, but can lead to confusion.
        When I saw
        Checking for webkit-1.0 >= 1.1.1
        I read that as “I require webkit 1.0, you have webkit 1.1.1” not as “I require webkit-1.0 (the package) 1.1.1 (the version) or greater.”

    • Cristian 9:19 am on June 16, 2010 Permalink | Reply

      Thanks for the help, it worked like a charm!
      Just a litte tip for you… update your ‘howto’ text. Midori has reached version 0.2.6.
      Thanks again!!

    • Cristian 9:21 am on June 16, 2010 Permalink | Reply

      Sorry for the above typo. litte=little

      • BrainwreckedTech 2:04 pm on June 17, 2010 Permalink | Reply

        It’s too much to keep up with different versions of Ubuntu and Midori. The best thing is to keep the information in tact, so people know that the information might be outdated.

  • BrainwreckedTech 1:27 am on May 14, 2009 Permalink | Reply
    Tags: binary drivers, bleeding edge, canonical, graphics, , , , , ,   

    Ubuntu And The GeForce 200 Series 

    Ubuntu Logo
    nVidia GeForce Logo

    As of this writing, I’m getting conflicting views on the nVidia GTS 200 series of cards and Jaunty. Canonical says the GTS 250 is supported in 9.04, which uses driver version 180.44. However, nVidia states that driver version 180.51 adds support for the GTS 250. And while nVidia gives you the 180.51 drivers if you specify a GTX 295 card, driver package 181.20 on the Windows side officially states support for that card. Ah, the bleeding edge.

    In all probability, you can use 180.44 but your card will come up as an unkown nVidia card. Try the Canonical-approved driver installation first with sudo apt-get install nvidia-glx-180 (if you don’t already have the driver installed).

    If that doesn’t work, use the Canonical Launchpad driver (180.53)

    If that doesn’t work, there’s always manual installation.

  • BrainwreckedTech 9:25 am on April 27, 2009 Permalink | Reply
    Tags: adobe, canonical, flash, INFO, , , ,   

    INFO: Npviewer.bin Process Can Slow Down Linux 


    I woke up this morning. The computer was still on. I move the mouse to wake up the screen. I get right to my wife’s desktop. “That’s not very nice of me,” I thought. “I never set the option to lock the screen with a password.” As I got to select a screen saver she might like, I noticed the screen savers took a little long to load and ran kinda jerky. I didn’t get far down the list before I said, “Screw it, this is good enough.” I logged her out of her session and logged back in to mine.

    When my desktop came to, everything was jerky. I utilize all the fancy compiz effects a heck of a lot more than my wife does, who is content to stick with Ubuntu’s default, not-all-that-intensive settings. I opened up System Monitor’s Resources tab to find both cores of my CPU being pegged at 100%. I opened up the process viewer, only to find nothing out of line. When I selected View All Processes, I saw about 8 copies of npviewer.bin, all of benign size minus one at 125MB. All were consuming 7%-8% CPU time.

    A quick look to the Ubuntu forums revealed that npviewer.bin is the Flash plugin, a known resource hog no matter what platform you’re on. It also told of a pretty simple way to stop the madness in one blow: sudo pkill npviewer.bin. CPU went back to fluctuating between 5% and 25% per core.

    • Visioplanet 1:00 pm on November 1, 2011 Permalink | Reply

      This helped me… πŸ™‚
      I wondered what npviewer.bin was before I read this.
      I hope the devs (either at adobe or at ubuntu) fix this…

  • BrainwreckedTech 2:12 am on December 23, 2008 Permalink | Reply
    Tags: , canonical, , , , , , , ,   

    EeePC and Ubuntu 8.10 

    Ubuntu Logo
    EeePC Logo

    Here we go again. The last time I installed Ubuntu (or rather, Xubuntu) onto Asus’ EeePC was a bit of ordeal. This time around, things are….still an ordeal unfortunately.

    First off, it seems people have a got a little fed up with Canonical and made their own kernel. (Behold the beauty of the GPL!) This kernel has all of the hardware modules the EeePC needs compiled in, including the modules for the wireless chipset (which are GPL and could be included for installation in the main distribution, but aren’t). Additionally, there’s an experimental lean version of the kernel that strips out modules that aren’t needed on the EeePC. Boot time is significantly improved, and overall performance also gets a slight boost with this kernel.

    Additionally, there’s now an eee-control package available that allows you to easily change settings like WiFi on/off and performance settings from a system tray applet, and there’s been more poking around with SSD performance. The old script that was developed is no longer needed.

    (More …)

  • BrainwreckedTech 5:52 am on August 26, 2008 Permalink | Reply
    Tags: canonical, , , , ,   

    HOWTO: Get Rid Of Xubuntu’s Keyring Prompts 

    Xubuntu LogoIf you’re using wireless ethernet and Xubuntu, you might be pondering why the system keeps prompting you for the keyring password, especially if you’re using Ubuntu on other machines (which don’t exhibit this problem) and the keyring password is the same as the password you use to log in.

    sudo apt-get install libpam-gnome-keyring

    Why it’s installed in Ubuntu by default and not Xubuntu, I don’t know. I do remember earlier versions (Ubuntu 6) having this problem, but I can’t remember exactly what the solution was. But solving it in Ubuntu 7 and up and not bringing it over to Xubuntu just makes the brain hurt.

  • BrainwreckedTech 4:33 am on August 25, 2008 Permalink | Reply
    Tags: canonical, , , , ,   

    HOWTO: Run Your Own NTP Server When Your ISP Blocks Ports 

    This one racked my brain quite a bit, so I hope you enjoy the solution

    The Problem

    My problem is that I wanted to play nice with other people’s time servers. I have a small local network, and at any time I can have 5 devices (2 routers, up to 3 computers) that will want to synchronize their clocks with a time server. I could sick them all on one time server, but that might verge on me getting an IP ban. (NTP’s minimum of 64 seconds between queries / 5 machines = me hitting a server every 21 seconds on average.) I could pull from a pool, but every computer might “jitter” as they’re pulling their time from all over the country.

    The Solution

    The solution in this case is to set up your own NTP server that synchronizes with another server over the internet, and then have all the machines on your local network poll that machine. HOWEVER, if you’re using cable broadband, your ISP is most likely blocking anyone from accessing ports below 1024. I’m sure some DSL providers do so as well, but the rule of thumb goes that cable providers block access while DSL providers do not.

    Well, that just throws a wrench in our gears, no doesn’t it? Well, it doesn’t have to. There’s another solution if time synchronization isn’t overly critical.

    (More …)

    • slempase 4:00 am on May 3, 2010 Permalink | Reply

      i wacth my ntp but no server can be used, exiting……

      pc server—client….

      pc server with debian….
      client with xp

      but when i running ntpdate -u ip_server

      no suitable syncro.. found

      please help me

      • BrainwreckedTech 4:37 am on May 15, 2010 Permalink | Reply

        When you go to add the server/fudge lines, make sure those are the ONLY lines. I don’t remember having to remove the default ubuntu time server, but no sense in pinging it all the time if your ISP is blocking ports. Plus it’ll eliminate any confusion.

        It’ll take a while for the NTP server to synchronize with itself β€” about 3 minutes. The reach number should go from 1 to 3 to 7 to 17. It’ll take 64 seconds between each update.

        I also had trouble with Windows clients. Get rid of the restrict -4 and restrict -6 lines and add this line:

        restrict default notrust nomodify

    • slempase 12:10 am on May 4, 2010 Permalink | Reply

      i want make topologi…

      pc server(——–pc router(————–pc client(ip .windows xp)

      on pc router has ajust time server…but when client not work…

      control panel—date and time—internet time am write ip server ( then i click update now…
      ann result not work..hat its problem…

      please send me email for configure its

  • BrainwreckedTech 5:14 am on April 27, 2008 Permalink | Reply
    Tags: canonical, , , , , , ,   

    EeePC Headaches With Ubuntu 8.04 

    Ubuntu Logo
    EeePC Logo

    UPDATE: Looking to install Ubuntu 8.10 on the EeePC? This article isn’t for you, anymore.

    Looks like AppArmor isn’t the only thing causing a few headaches with the new release of Ubuntu. Seems that Ubuntu 8.04 also broke the eee-ubuntu-support script. Have no fear, though. The folks at eeeuser.com have come up with solutions.

    The two biggest things I figured I’d post here: Fixing the screen resolution and fixing wifi.

    (More …)

    • MT 5:35 pm on March 1, 2010 Permalink | Reply

      The wireless still doesnt work… Xubuntu 9.04 – eeePC 4G Surf… thanks anyway

      • brainwreckedtech 12:24 pm on March 3, 2010 Permalink | Reply

        Something has to have failed HARD to get wireless NOT working with Ubuntu 9.04 because the EeePC’s wireless chipset is supported straight out of the box. Yes, even the 4G Surf aka the 700-series. So either the wireless card is dead or you have wireless turned off.

        Also note that this article is for 8.04 and not 9.04. How did you miss the update at the beginning of this article? While we’re using versions I didn’t write for, why not use 9.10 — the latest-greatest version?

  • BrainwreckedTech 4:43 am on April 25, 2008 Permalink | Reply
    Tags: apparmor, , canonical, , mysql, , ,   

    Ubuntu 8.04 “Bug” With MySQL and AppArmor 

    This one drove me nuts FOR HOURS! I tried setting up my new LAMP server with the newly-released Ubuntu 8.04. When it came time to switch the configuration files so that Apache and MySQL would use /srv instead of /var/lib, Apache worked but MySQL did not.

    (More …)

    • Lost In Tokyo 8:03 am on April 28, 2008 Permalink | Reply

      Here’s a fix on Ubuntu – assuming you are trying to mount to /srv/mysql

      1. sudo vi /etc/apparmor.d/usr.sbin.mysqld
      Look for the two lines:
      /var/lib/mysql/ r,
      /var/lib/mysql/** rwk,
      In my file, they are lines 27 and 28.
      You want to mimick these two lines, so add:
      /srv/mysql/ r,
      /srv/mysql/** rwk,
      on lines 29 and 30.
      2. sudo /etc/init.d/apparmor restart
      3. sudo /etc/init.d/mysql restart

      and you should be up-and-running. Good luck!

      • Jenny La 2:12 pm on December 9, 2011 Permalink | Reply

        omg i want to give you a hug so bad. thank you !!!

    • brainwreckedtech 1:34 pm on April 28, 2008 Permalink | Reply

      I already have things working. The solution was in the bug report, but it’s kinda buried and I should have posted the solution here. That’s what I get for posting at 4:43 in the morning.

    • Sublivion2k 9:24 pm on May 5, 2008 Permalink | Reply


      This one really sucked to solve – you are a king!

    • t o b e 5:49 am on May 14, 2008 Permalink | Reply

      Thanks from me also. I had a similar problem where I was trying to start a local instance of mysqld for testing purposes in a subdir of my home account. In my case I had no logs from apparmor to look at so all I knew was there was permission problem that even running as root wouldn’t solve.

      Props to you, sir..

    • Alex Ef 2:38 pm on June 3, 2008 Permalink | Reply

      Thank you. It took also hours for me to find out it wasn’t my fault.

    • jeremy 1:13 pm on June 19, 2008 Permalink | Reply

      Thank you! This took me absolutely for-fucking-ever to figure out.

    • chompomonim 5:07 pm on July 18, 2008 Permalink | Reply

      Big thanx. You save my life πŸ™‚

    • Tractor 9:55 am on August 8, 2008 Permalink | Reply

      Excellent information, well done and thanks. It helped a lot but was not the full story in my case as I am using DRBD. I have stopped the Apparmor service and this is working.

    • RKA KriK 4:54 pm on August 18, 2008 Permalink | Reply

      Lost In Tokyo, doooode! Big-big-big thanks!!!

    • uzahnd 2:17 pm on September 25, 2008 Permalink | Reply

      This works well if the datadir is on the same partition as the root-system, but I can’t get this working on a mysql-Server located on an other partition mounted in /media/SERVER/

      anyone to know why?

    • brainwreckedtech 4:44 pm on September 25, 2008 Permalink | Reply

      While not stated in my OP, I have /srv on a different partition from root, so I don’t think that’s the problem. The real question is, “Why are you using /media?” That directory is supposed to be reserved for removable media. If you are using media that is normally removable as something more permanent, consider moving it elsewhere.

      As for solving your current situation as-is, I’m not sure. What are your logs saying?

    • uzahnd 4:45 am on October 2, 2008 Permalink | Reply

      oh, mounting the partition in /srv solves the problem. Thank you! (Until now, I mounted all external disks in media to keep track of them…)

    • Mark Rose 10:21 am on December 3, 2008 Permalink | Reply

      I just spent 6 hours trying to figure this shit out. THANKS!!

    • Dave Stevens 12:59 pm on March 13, 2009 Permalink | Reply

      I just spent 5 minutes figuring this out by searching google. Thanks for the post! πŸ˜‰

    • labsji 1:59 pm on May 9, 2009 Permalink | Reply

      Thanks a lot. I was addressing this problem in many different ways and finally hit upon this fix by serendipity.( via http://developer.amazonwebservices.com/connect/entry.jspa?externalID=1663)
      Thanks again.
      -Balaji S.

    • Thanker 9:24 am on May 20, 2009 Permalink | Reply

      Thanks a lot, finally helped me in moving my mysql directory using symlinks to another location on Ubuntu

    • Q 10:00 am on August 3, 2009 Permalink | Reply

      Thanks for this, life saver.

    • Bilal Khan 2:25 am on August 5, 2009 Permalink | Reply


    • Andrew S 11:16 pm on August 7, 2009 Permalink | Reply

      I’ve spent 2 hours trying to move my mysql db from /var/lib/mysql to another location on ubuntu 9.04. chown/chgrp wasn’t enough. the apparmor solution did it. thank you very much for sharing your solution!

    • Mike P 1:41 pm on November 19, 2009 Permalink | Reply

      I’m going to keep this going – 1 year and 7 months later – this saved me as well – Ubuntu 9.10, MySQL 5.0 that was running AppArmor. I would’ve never found the problem! The AppArmor logs were in a different file. Too bad I didn’t find this post 2 days ago! #($*#(@#*@@!

      Thank you.

    • Leon Waldman 7:29 am on March 16, 2010 Permalink | Reply

      Thanks for that man!! :^D

    • Buck Golemon 11:07 pm on April 10, 2010 Permalink | Reply

      For the record, these are the apparmor lines I had to add to ‘/etc/apparmor.d/usr.sbin.mysqld’, just below the ‘/etc/mysql/my.cnf’ line:
      owner /opt/SQLsandbox/data/ r,
      owner /opt/SQLsandbox/data/** rwk,
      owner /opt/SQLsandbox/my.cnf r,

    • Amrac 10:27 pm on November 6, 2010 Permalink | Reply

      Thanks πŸ™‚

    • Akash 1:35 am on April 27, 2011 Permalink | Reply

      Thank you so much! I had been trying different things for the last 6 hours and although I did see apparmor mentioned on some other blog, I didn’t make much of it. Because of your decision to blog about this, I have finally crossed this roadblock. A big WOOT for your blog! :^)

    • Ingmar 11:08 am on May 10, 2011 Permalink | Reply

      Thank you very much!

Compose new post
Next post/Next comment
Previous post/Previous comment
Show/Hide comments
Go to top
Go to login
Show/Hide help
shift + esc