rabidvwm not reading current desktop number Thread last updated on 2005-10-24 21:22:27

Posted by member 204404 on 2005-10-22 07:09:53

I just started using seg@'s rabidvwm-1.2.1i. What I would like to do is bring Directory Opus to the current desktop when I click on an xlabel button. According to the docs, "!VWMMoveApp 0 #c dopus.lister" should do the trick, but it does nothing at all. The "0" should mean "current desktop", but to get it to work I have to use an actual desktop number (1 through 4). The variable "^@dc^" doesn't work either. I've tried to work around this problem with scripts and "if" statements, but I can't see any way that it could work without using the current desktop number.

Any help would be appreciated.

Posted by member 12025 on 2005-10-22 09:12:01 link

Does it work for other apps? Directory Opus is one of those apps that seems to break stuff.

Posted by member 204404 on 2005-10-22 09:44:03 link

No, I tried it out with Internet Explorer and it didn't work either. And like I said, the bang works with DO as long as I specify exactly wich desktop to switch to.

Posted by member 212670 on 2005-10-22 13:50:22 link

ignore this - double posted :P

Posted by member 212670 on 2005-10-22 14:11:55 link

Does it work with rabidvwm-1.2.2? Might want to try that, just to rule out it isn't the module based on a previous source code.

Edit - ok, nevermind. I just did a bunch of tests and couldn't get it to work either. The only time it did work is if I was specific with the desktop # (as you mentioned above). I tried all sorts of variations of !VWMMoveApp 0 dopus.lister (I use dopus too) and putting in ^@dc^ for the desk #, and I tested with other apps.

Ok, not much help, but confirmed it's not just you. ;)

Posted by member 204404 on 2005-10-22 16:55:40 link

I think I've found a way to do pretty much what I want without using the current desktop # (I leave DO on the first desktop, and use "!VWMDesk 1" to switch to it).

One other thing concerning DO in Litestep: Have you ever noticed that the popup menu that appears when you right click the taskbar tile gets screwed up when you have more than one lister open? It will smear and sometimes appears partially blank or halfway up the desktop. I wish there was some way to disable those special popups...

Posted by member 212670 on 2005-10-22 17:01:08 link

I remember having that problem a long while back, but that was using taskbar3. I've never noticed that in xtaskbar.

Posted by member 204404 on 2005-10-22 20:33:07 link

What version of xtaskbar are you using? I'm running 1.3.7 right now, and I am definitely having the problem.

Posted by member 212670 on 2005-10-22 20:53:26 link

Just tested with 3 listers opened, all in commander mode, to different directories. No errors at all in the right click menu on the taskbar buttons. Tried it with a top oriented bar, and a bottom one (which is when I used to have problems with taskbar3).

Had the same results with 1.37 and 1.38 (which I am currently using) - no errors. I'm using Dopus 8.1.0.8 Unicode version. (btw, just noticed there's an 8.2 out.)

Also, there is an option to reassign the clicks on the buttons. It's under "Taskbar Button Events."

Posted by member 99 on 2005-10-24 20:12:43 link

Hm, odd. "!VWMExec !VWMMoveApp ^@dc^ #c ..." does work.

It looks like the code is interpreting 0 as the desk that the window is on, which is probably not often useful. I don't know though, maybe in some funky scripting...

Posted by member 212670 on 2005-10-24 21:22:27 link

Oooh cool, that's good to know...so !VWMExec first.