You are not logged in.
Hello everyone!
I installed pekwm on my eeepc 701 today (have been using xmonad for a while, but a tilling wm isn't that great for such a small screen) and I'm really liking it so far. However, I'm having trouble with the autoproperties file.
I want to get Firefox to always open on desktop 1, and in order to do this I found that I had to wite this:
Property = "Navigator", "Firefox" {
ApplyOn = "New Start"
Workspace = "1"
}in the autostart file, and it doesn't work and I can't figure out why! What am I doing wrong?
Thanks in advance!
Xmonad gets sh*t done. Fast.
Offline
That should not go in the start file. It should go in the autoproperties file.
Give the following page a looksee: http://www.pekwm.org/files/pekwm/doc/0. … props.html (Specifically the Basic Autoproperties Syntax section which suggests the following syntax to be executed in a terminal as a Bash function...
propstring () {
echo -n 'Property '
xprop WM_CLASS | sed 's/.*"\(.*\)", "\(.*\)".*/= "\1,\2" {/g'
echo '}'
}When that's executed, just navigate to and click on the open Firefox browser window and it'll spit out the exact syntax you need to match an autoproperty to it.
For me, the following would work...
Property = "Navigator,Namoroka" {
ApplyOn = "Start New Workspace"
Workspace = "1"
}- [ My Blog ] | [ AUR Packages ] | [ My deviantART ] | [ screenFetch ] | [ SilverIRC ] -
Offline
That should not go in the start file. It should go in the autoproperties file.
I meant autoproperties not autostart ^^
Give the following page a looksee: http://www.pekwm.org/files/pekwm/doc/0. … props.html (Specifically the Basic Autoproperties Syntax section which suggests the following syntax to be executed in a terminal as a Bash function...
I read that page and am trying to respect the syntax, however it just doesn't work and I can't figure out why…
propstring () { echo -n 'Property ' xprop WM_CLASS | sed 's/.*"\(.*\)", "\(.*\)".*/= "\1,\2" {/g' echo '}' }
I copied this fuction on a plain text file (and I didn't forget to write #!/bin/bash first, saved it in my $PATH and gave it permissions to be executed, but when I call it nothing happens…literally nothing, and my terminal doesn't give my any errors.
When that's executed, just navigate to and click on the open Firefox browser window and it'll spit out the exact syntax you need to match an autoproperty to it.
Property = "Navigator,Namoroka" { ApplyOn = "Start New Workspace" Workspace = "1" }
I opened a terminal and wrote
xprop WM_CLASS and clicked on Firefox and got:
"Navigator", "Firefox"
so I am trying with:
Property = "Navigator, Firefox" {
ApplyOn = "Start New Workspace"
Workspace = "1"
}and still nothing…
EDIT: OK, I got it to work with the following syntax:
Property = "^Navigator,^Firefox,^browser" {
ApplyOn = "Start New Workspace"
Workspace = "1"
}Thanks! ^^
Last edited by cbrunos (2010-09-03 07:42:12)
Xmonad gets sh*t done. Fast.
Offline
Welcome! Glad to be of some help. ![]()
- [ My Blog ] | [ AUR Packages ] | [ My deviantART ] | [ screenFetch ] | [ SilverIRC ] -
Offline