You are not logged in.

#1 2009-09-28 17:49:44

aleph-0
Member
From: Lusitania, Porto
Registered: 2009-08-05
Posts: 4
Website

Using Yakuake in Xmonad

It's clear that there must be some float option to be set to Yakuake application in order to make use of it.

The question is what's the option?
I tried to google it but didn't find nothing...
Could someone tell me how to make yakuake console work correctly in Xmonad?


((O))) 

                                  {      Violence is the last refuge of the incompetent.        }~,
                                                                                                                                >|          0                        0          |<

Offline

#2 2009-09-28 18:27:30

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,799
Website

Re: Using Yakuake in Xmonad

that's that drop down terminal thing right?

the easy way:
you can use a managehook to set the Yakuake window to always start floating, use xprop to find the classname, role, or even title to match against.  the defaultConfig does this with [ className =? "MPlayer" --> doFloat ] as an example.

the super l33t way:
alternatively, you can look into the scratchpad terminal extension from xmonad-contrib.  starts a terminal on a hidden workspace, keybind to call it up, same keybind to hide it again... it's basically the same thing but with your own terminal.  i find it works really well.

Offline

#3 2009-09-28 18:57:45

portix
Member
Registered: 2009-01-13
Posts: 757

Re: Using Yakuake in Xmonad

You can also try yeahconsole, works ootb with xmonad.

Offline

#4 2009-09-28 23:01:19

scj
Member
From: Sweden
Registered: 2007-09-23
Posts: 158

Re: Using Yakuake in Xmonad

I'd just use a keybinding like

import XMonad.Actions.WindowGo

...

((mod4Mask, xK_e  ),  runOrRaise  "urxvt -title scratch"    (title =? "scratch"))

It's not the exact same thing as a drop down terminal, but it works well enough on a dynamic tiling wm.

Last edited by scj (2009-09-28 23:03:44)

Offline

#5 2009-10-06 23:02:49

tiberiur
Member
From: Europa
Registered: 2007-07-03
Posts: 25

Re: Using Yakuake in Xmonad

You can have something like this in ~/.xmonad/xmonad.hs

myManageHook = composeAll
    [ className =? "Gimp"      --> doFloat
    , className =? "Pidgin"    --> doFloat
    , className =? "Tilda" --> doFloat
    , className =? "Yakuake" --> doFloat
    ]

and inside the main config part look make sure you have something symilar to this

,manageHook = manageDocks <+> myManageHook  <+> manageHook defaultConfig

Offline

Board footer

Powered by FluxBB