Hello everyone,
I have a problem starting an application on an second screen.
My setup consists of 2 GPU's, 4 Monitors and a Dual-Twinview setup.
Therefore I have a DISPLAY :0.0 and DISPLAY :0.1 each spanning over two
monitors. The setup of tags and two screens works fine, but I can't figure
out how to start an application on the tag on screen 0. Below please find
my configuration:
screen 0
{
general
{
new_get_focus = true
new_become_master = true
sloppy_focus_raise = true
}
styles
{
normal
{
font = "sans 8"
fg = "#dddddd"
bg = "#444444"
border = "#555555"
}
focus
{
fg = "#000000"
bg = "#535d6c"
border = "#535d6c"
}
urgent
{
fg = "#111111"
bg = "#ff4500"
}
}
tags
{
tag TEST_1 { }
tag TEST_2 { }
}
layouts
{
layout tile { image = "/usr/share/awesome/icons/layouts/tilew.png" }
layout tileleft { image =
"/usr/share/awesome/icons/layouts/tileleftw.png" }
layout tilebottom { image =
"/usr/share/awesome/icons/layouts/tilebottomw.png" }
layout tiletop { image =
"/usr/share/awesome/icons/layouts/tiletopw.png" }
layout max { image = "/usr/share/awesome/icons/layouts/maxw.png" }
layout spiral { image =
"/usr/share/awesome/icons/layouts/spiralw.png" }
layout dwindle { image =
"/usr/share/awesome/icons/layouts/dwindlew.png" }
layout floating { image =
"/usr/share/awesome/icons/layouts/floatingw.png" }
}
statusbar mystatusbar
{
position = "top"
taglist mytaglist
{
mouse
{
button = "1"
command = "tag_view"
}
}
}
}
screen 1
{
general
{
new_get_focus = true
new_become_master = true
sloppy_focus_raise = true
}
styles
{
normal
{
font = "sans 8"
fg = "#dddddd"
bg = "#444444"
border = "#555555"
}
focus
{
fg = "#000000"
bg = "#535d6c"
border = "#535d6c"
}
urgent
{
fg = "#111111"
bg = "#ff4500"
}
}
tags
{
tag TEST_CLI { }
}
layouts
{
layout tile { image = "/usr/share/awesome/icons/layouts/tilew.png" }
layout tileleft { image =
"/usr/share/awesome/icons/layouts/tileleftw.png" }
layout tilebottom { image =
"/usr/share/awesome/icons/layouts/tilebottomw.png" }
layout tiletop { image =
"/usr/share/awesome/icons/layouts/tiletopw.png" }
layout max { image = "/usr/share/awesome/icons/layouts/maxw.png" }
layout spiral { image =
"/usr/share/awesome/icons/layouts/spiralw.png" }
layout dwindle { image =
"/usr/share/awesome/icons/layouts/dwindlew.png" }
layout floating { image =
"/usr/share/awesome/icons/layouts/floatingw.png" }
}
statusbar mystatusbar1
{
position = "top"
taglist mytaglist1
{
mouse
{
button = "1"
command = "tag_view"
}
}
}
}
rules
{
rule {
name = "wks"
tags = "TEST_2"
float = false
}
rule {
name = "cli"
tags = "TEST_CLI"
float = false
}
rule {
name = "epb"
tags = "TEST_1"
float = false
}
rule {
name = "login_script.py"
tags = "TEST_1"
float = true
}
rule {
name = "config.py"
tags = "TEST_1"
float = true
}
}
keys
{
key
{
modkey = { "Control" }
key = "t"
command = "spawn"
arg = "exec xterm"
}
key
{
modkey = { "Control", "Shift" }
key = "left"
command = "tag_viewprev"
}
key
{
modkey = { "Control", "Shift" }
key = "right"
command = "tag_viewnext"
}
key
{
modkey = { "Control", "Shift" }
key = "a"
command = "spawn"
arg = "config.py"
}
}
The start of wks and epb on screen 0 and their assignment to their
specified tag works fine. But the start of cli fails, and the application
opens on screen 0 MCS_1, which might be a default behavior of awesome. Do I
miss some screen variable? I tried:
rule {
name = "cli"
tags = "MCS_CLI"
screen = 1
float = false
}
rule {
name = "cli"
tags = [1][1]
float = false
}
but the application is still showing up on the first tag of screen 0.
Any help on this issue is much appreciated!
Unfortunately there is no awesome 3 available for SLES 11, which forced me
to use awesome 2.