Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to get GIMP to display as a single window in XMonad. Currently, it's floating strangely in front of every other display and I can't use it.

I have tried reading this:

http://www.haskell.org/haskellwiki/Xmonad/General_xmonad.hs_config_tips#Gimp

But it seems this is for versions of GIMP before 2.8 when there wasn't the option to have GIMP use only 1 window. Because of this, it's an XMonad problem, not a GIMP one.

How can I do this?

share|improve this question
    
Whats your Xmonad version? – Nima Jun 21 '12 at 13:09
    
@Nima version 0.10-4 – Pubby Jun 21 '12 at 22:51
    
Ok can you provide your xmonad.hs? – Nima Jun 22 '12 at 9:00
    
@Nima The only thing I have changed in it are different keybindings, otherwise it's the default. – Pubby Jun 24 '12 at 0:09

Gimp 2.8 has an option under the "Windows" menu titled "Single Window Mode". Check that, and restart Gimp.

pic of option in gimp

share|improve this answer
    
Uh, maybe a whoops... Does this option not help with Xmonad? Go on people, flame me... {sigh} – lornix Jun 19 '12 at 3:42
    
I have that option checked but XMonad is treating it strangely and floating it in front of everything else. – Pubby Jun 19 '12 at 3:51
    
@Pubby: Try to dock the floating windows to the right and left sides of the central window. – harrymc Jun 19 '12 at 13:53

I'll try again.

How to unfloat Gimp

The link has quite a bit of information on using Xmonad. Several references to this page.

One more, specifically concerning Gimp:

look in the responses below the main part of the article

The relevant part:

But xmonad also floats all gimp windows by default. I use this to avoid floating the main two windows:

managehook = composeall [
    gimp "toolbox" --> (ask >>= doF . W.sink),
    gimp "image-window" --> (ask >>= doF . W.sink),
    manageHook defaultConfig
]
where gimp win = (className =? “Gimp” (fmap (win `isSuffixOf`) role))
role = stringProperty “WM_WINDOW_ROLE”
share|improve this answer
    
I think I'm just going to quit now while I'm ahead... I just posted the SAME link... {Sigh} I'm terribly sorry to have bothered you.. Any chance on some love for the SECOND link? – lornix Jun 19 '12 at 4:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .