You are not logged in.
Pages: 1
Topic closed
Hi
I set up this XMonad.Util.Scratchpad terminal, to launch my default console (urxvt), but it doesn't seem to inherit my Xdefaults settings when it's launched.
Launching a terminal normally works fine, but when it's run through scratchpadSpawnActionTerminal it's just white.
Relevant parts
-------------------------------------------------------------------------------
-- Keys/Button bindings --
myModmask = mod4Mask
scratchPad = scratchpadSpawnActionTerminal myTerminal
--
-- Terminal
--
myTerminal :: String
myTerminal = "urxvtc"
, manageHook = manageHook defaultConfig <+> manageSpawn <+> myManageHook <+> manageScratchPad
, ((modMask, xK_s ), scratchPad)
--
-- Scratchpad
--
manageScratchPad :: ManageHook
manageScratchPad = scratchpadManageHook (W.RationalRect l t w h)
where
h = 0.1 -- terminal height, 10%
w = 1 -- terminal width, 100%
t = 1 - h -- distance from top edge, 90%
l = 1 - w -- distance from left edge, 0%
Ideas?
EDIT Ok so, if anyone runs into this problem.. fix is changing your urxvt definitions in Xdefaults to use the className of URxvt instead (URxvt*whatever)
Last edited by valvet (2010-11-01 22:51:58)
Offline
Hmm.
It appears that the Scratchpad thingie is altering the name of the urxvt client. Running xprop, results in:
michael@rawr ~> xp
WM_CLASS(STRING) = "scratchpad", "URxvt"
WM_CLASS(STRING) = "NAME", "CLASS"
^ from the Scratchpad terminal..
Running it from a normal launched terminal:
xpmichael@rawr ~> xp
WM_CLASS(STRING) = "urxvt", "URxvt"
WM_CLASS(STRING) = "NAME", "CLASS"
Now, my settings in Xdefaults are specified with lowercase names, if I do URxvt* it works - and also specifying them as scratchpad*settingHere.
But question is, why does it alter the name of the client and how do I get it to stop doing that.. I don't want to specify my settings using uppercase names.
Thanks.
Offline
Hey valvet, i really like the screenshot you posted, your statusbar is quite beautiful. Are you using dzen or xmobar? Would you mind posting the relavent config so i could attempt to replicate such beauty? Thanks!
Offline
Please don't necrobump threads; particularly solved ones.
https://wiki.archlinux.org/index.php/Fo … Bumping.27
If you want info, email the OP.
Closing
Offline
Pages: 1
Topic closed