Results 1 to 3 of 3

Thread: Prevent Unclutter Loading at Startup

Hybrid View

  1. #1
    Join Date
    Oct 2007
    Beans
    85

    Prevent Unclutter Loading at Startup

    Hi,

    I'm trying to find a way to prevent unclutter loading at startup.

    When I want t watch flash videos full-screen, I zoom using compiz to the size of a smaller flash window until it fills the screen, which greatly improves the framerate. However, when I do this I like to hide the mouse, and use unclutter to do it. However, I don't watch videos most of the time and would prefer to leave unclutter off until I need it.

    Does anyone know a way to make it just run when I load it at the command line? Thanks!

  2. #2
    Join Date
    Mar 2007
    Location
    Your Closet
    Beans
    380
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Prevent Unclutter Loading at Startup

    The unclutter.postinst that comes with the source and it suggests that /etc/default/unclutter is what you want.

    This should fix it...
    Code:
    sudo perl -p -i.bak -e '/START_UNCLUTTER/ and s/true/false/ or s/false/true/' /etc/default/unclutter && \
    diff /etc/default/unclutter{,.bak} | perl -n -e 'print if s/^<\s+//'
    The above script will toggle the startup option thingey... <3 perl

    Also you might wanna try mplayer /tmp/Flash* for flash videos. That's how I do it. Gl hf.
    Last edited by bashologist; April 10th, 2010 at 09:52 AM.
    ...

  3. #3
    Join Date
    Oct 2007
    Beans
    85

    Re: Prevent Unclutter Loading at Startup

    Wow, great stuff, thank you!!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •