[xmonad] Termite does not work as scratchpad

e.a.gebhart at gmail.com e.a.gebhart at gmail.com
Wed Oct 11 05:23:32 UTC 2017


It's part of XMonad.Util.Scratchpad

https://hackage.haskell.org/package/xmonad-contrib-0.13/docs/XMonad-Util-Scratchpad.html

https://hackage.haskell.org/package/xmonad-contrib-0.13/docs/src/XMonad-Util-Scratchpad.html

The named scratchpads don't work with termite either.  A couple of them
are just terminals with a shell.

Termite uses -e for exec.  So that's ok.

Eric

Brandon Allbery <allbery.b at gmail.com> writes:

> On Tue, Oct 10, 2017 at 1:58 PM, <e.a.gebhart at gmail.com> wrote:
>
>> Sure. Here's what I have.  I'm used both named scratchpad and
>> scratchpad. I set myTerminal to urxvt which works fine.
>> If I set it to Termite it acts very strangely.
>>
>
> xterm and urxvt have a -e option which takes a program to run.
> termite / VTE-based terminals usually call this option -x, and -e means
> something subtly different.
>
>
>>     , ("n", scratchpadSpawnActionTerminal  "urxvt -background
>> rgba:0000/0000/0200/c800") -- scratchpad
>>
>
> Uhhh... can we see namedScratchpadActionTerminal? Beuase if it's what I
> think it is, it's your problem. You just wanted a normal scratchpad, or a
> program running in a scratchpad terminal like the other ones you have
> defined; but the definitions I've seen in the past for
> namedScratchpadActionTerminal (generally taken from someone else's config;
> it's not standard) will open a default terminal as the scatchpad, passing
> to it with -e a command to run urxvt which will *not* be taken as a
> scratchpad.


More information about the xmonad mailing list