I am using awesome-3.5.2-r1 on gentoo. I'm trying to map the startup of a
script (which starts terminals) to a specific F key. Within the bash script
(my-env.sh), I have about 4 terminals, each one similar to the line below.

    aterm -display :0.0 -geometry 80x80+765+50 -tr -trsb -cr red +sb -fg
aquamarine -fn fixed -fb fixed -e screen &

And within the rc.lua file I have the following key binding:

    awful.key({ }, "F9", function()
        awful.util.spawn("~/scripts/my-env.sh") end),

I have a few problems in doing this. When I hit F9, the terminals within my
script do start on the current screen (tag), but also appear on every other
tag (which I understand as a desktop). So its like creating 4 terminals
shared between all desktops. Also, when I mouse over them or click on them,
I am unable to get them to focus or input in any of them.

What I'd like to be able to do is select any desktop 1-9 and hit F9 and
these terminals appear only on that desktop, or tag. And if I select
another desktop, then a new set of terminals would be setup on that desktop.

Any help much appreciated.

Reply via email to