You are not logged in.
Pages: 1
Topic closed
When I start intelliJ idea in Xmonad, I just see a grey window, nothing happens.
Did anybody have success with this combination.
Offline
Yep, xmonad and Java swing application's don't play well with the default config. You'll need to set your WM name to "LG3D" for Java Swing apps to work. The easiest way to add a call to setWMName "LG3D" in your startupHook like this:
import XMonad.Hooks.SetWMName
xmonad $ defaultConfig { startupHook = setWMName "LG3D" }
Arch on a Thinkpad T400s
Offline
Thanks,
This worked like a charm.
Offline
Another question, how should I watch youtube videos in full screen ?
Offline
Another question, how should I watch youtube videos in full screen ?
When I used Xmonad, I had such a line in ~/.xmonad/xmonad.hs
ManageHook = composeOne [ isFullscreen -?> doFullFloat ]
Maybe is it still right.
Offline
Another question, how should I watch youtube videos in full screen ?
i found a gem on their mailing list. it lets you focus the other screen and change workspaces without losing the fullscreen-ness.
import XMonad.Hooks.ManageHelpers
import qualified XMonad.StackSet as W
--- add the following rule to your manageHook list: isFullscreen --> myDoFullFloat
myDoFullFloat :: ManageHook
myDoFullFloat = doF W.focusDown <+> doFullFloat
Last edited by brisbin33 (2010-04-16 20:32:51)
//github/
Offline
rangalo wrote:Another question, how should I watch youtube videos in full screen ?
i found a gem on their mailing list. it lets you focus the other workspace and change workspaces without losing the fullscreen-ness.
import XMonad.Hooks.ManageHelpers import qualified XMonad.StackSet as W --- add the following rule to your manageHook list: isFullscreen --> myDoFullFloat myDoFullFloat :: ManageHook myDoFullFloat = doF W.focusDown <+> doFullFloat
brisbin33, you are da man!
#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.
Offline
Yep, xmonad and Java swing application's don't play well with the default config. You'll need to set your WM name to "LG3D" for Java Swing apps to work. The easiest way to add a call to setWMName "LG3D" in your startupHook like this:
import XMonad.Hooks.SetWMName
xmonad $ defaultConfig { startupHook = setWMName "LG3D" }
Note:
XMonad.Hooks.EwmhDesktops
nullifies the effect of XMonad.Hooks.SetWMName.
However, adding
>> setWMName "LG3D"
to the LogHook appears to yield the desired effect.
Last edited by misc (2010-07-11 00:34:39)
Offline
When I start intelliJ idea in Xmonad, I just see a grey window, nothing happens.
Did anybody have success with this combination.
I have seen this problem in musca as well. There was some solution that I used, but its been so long I don't remember.
Will setting the wm name to LG3D work in wms other than xmonad? Has anyone else tried it ?
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
The funny thing is, with the config set as I wrote the menus of this particular Java app do stay, but only if I move the cursor on one of their entries. If I do not, they immediately collapse just as before.
Offline
rangalo wrote:When I start intelliJ idea in Xmonad, I just see a grey window, nothing happens.
Did anybody have success with this combination.
I have seen this problem in musca as well. There was some solution that I used, but its been so long I don't remember.
Will setting the wm name to LG3D work in wms other than xmonad? Has anyone else tried it ?
Yes, it works in all WMs actually, They hardcoded a list of supposedly working WMs into swing or something.
Offline
Yep, xmonad and Java swing application's don't play well with the default config. You'll need to set your WM name to "LG3D" for Java Swing apps to work. The easiest way to add a call to setWMName "LG3D" in your startupHook like this:
import XMonad.Hooks.SetWMName
xmonad $ defaultConfig { startupHook = setWMName "LG3D" }
Has no-one noticed this in all these years? This messes up other applications. Chromium now shows the minimize, maximize and close buttons, which it didn't before.
Offline
Six years later? No wonder it no longer works: https://wiki.archlinux.org/index.php/Co … bumping.22
Closing
Offline
Pages: 1
Topic closed