Mnemovore

Posts Tagged ‘musca

Musca/dzen2 tips and tricks – Part 1

leave a comment »

So you decided to give musca a go. Here are some stuff i use in my setup. I hope someone out there finds these useful.

One thing that musca lacks is a toolbar, but as the author suggests, dzen2 is a nice alternative. And guess what, he’s right.
dzen2 is so customizable that you ‘re to able to do nice magic with it. For example:

Why open a terminal to find your disk space or waste useful resources to have it displayed on conky?
Add sth like that in your .musca_start and you ll be able to call a new command named dfh to watch your disk space status.

alias dfh exec (echo Disk Usage; df -h ; sleep 4) | dzen2 -l 17 -fg white -bg grey10 -w 400 -fn '-*-dina-medium-r-normal-*-*-*-*-*-*-*-*-*' -e 'onstart=uncollapse' 

Weather conditions are vital for astro-sessions so having some extra info is practical too
e.g. for Greece using the weatherget application i have sth like this:

alias weatherget exec (echo Weather Report; weatherget -s GRXX0004 --metric ; sleep 4) | dzen2 -l 17 -fg white -bg grey10 -w 400 -fn '-*-dina-medium-r-normal-*-*-*-*-*-*-*-*-*' -e 'onstart=uncollapse'

At the time setting rules is not ready in musca. But guess what! Musca is so groovy that you can actually “emulate” such configuration. Example.. I want to have gimp start in stacked mode or in a preconfigured tiled layout.

alias g1mp exec gimp
hook on ^g1mp stack on

or
if gimpfoo is a layout that suits your tastes for gimp window placement

hook on ^g1mp load gimpfoo

So when pressing Mod+m and typing g1mp you’ll have gimp in stacked mode 😀

to be continued! 😀

Advertisements

Written by aperturefever

June 8, 2009 at 7:23 pm

Musca – A new tiling window manager

with 6 comments

Searching for something in freshmeat a couple of days ago, i stumbled upon a small tiling window manager named Musca. You’ll say “What? Another one? For what reason?”. Hey! Why not? Well we all know that the 3 kings are ratpoison, dwm and ion. All features that were first introduced by them made tiling window management what it is today. Now take all the features that you actually liked in all of them and implement them in something new. The result is Musca. Musca is a tiling window manager that is written from scratch in C and has many features including:

  • Extremely small (binary is 97Kb and zipped package 37Kb), light and elegant
  • Simple configuration via config.h (Yes it needs recompiling)
  • Manual window tiling, that means no restrictions on layout setups
  • Group management support, that means no pesky tagging but actual groups
  • Simple mouse tasking, following click to focus philosophy
  • Frame management is followed by color indication so you actually know in what mode your frames are.(ie the catch-all mode that forces all windows opened in a specific frame is green)
  • Musca has multiscreen support out of the box and can manage groups to screens automatically
  • Uses dmenu as requirement for windows,groups and wm management
  • No obstructive status bars, panels, and such but you can use one if you like (e.g. trayer,dzen2 etc)
  • It is named after a star constellation…Yes that’s a plus. 😀
  • A nice feature called unmanaged_windows ( remember remember 😀 ). That let’s you make musca ignore windows and not assign them in frames. 😉

I really like Musca. Its light, small and configurable. Its still in devel state but its very usable and i have put aside stumpwm for now.  I had all my key bindings configured in seconds and Musca’s engine/group management philosophy was like second nature since, i use ratpoison and stumpwm. 🙂

Musca is actively developed and created by Sean Pringle. His website can be found here where he hosts his projects and other fun stuff.

UPDATE: New version of Musca, as of 9th March, is out with a *TON* of features that simplifies a lot of stuff including

  • floating support (via stack Musca command)
  • Added new commands!
  • Layout saving..thats means ENDLESS CAPABILITIES!!
  • Musca now has an external command interface for client management
  • Now you can undo layouts 😀 No more accidental layout windows
  • External startup configuration file to configure your window manager
  • Its getting better and better each day!! 😀

UPDATE:  The post is a bit old of course. Musca is more mature now and has even more features 😀

A pic of musca running on my Slackware 12.2 Laptop

2009-03-09-190658_1280x800_scrot1

Written by aperturefever

March 7, 2009 at 11:53 am