LS programming help please :)

Hi, thanks for looking.

I am trying to do something which seems to be very simple: Click the Middle mouse button and display a list of desktops from the vwm.

There is a theme, fo-src, which does this. I have looked at every .rc file I could find and I have tried the following in my theme:

I have jdesk.rc which contains the following:
jdeskworkarea "0,25,1280,974" !haven't figured out how the negative number thing works yet
*jDeskMButton3 [CTRL!none!ToggleCommand!none] << THIS WORKS
*jDeskMButton3 [!none!none!popupvwm!none]

I have popupvwm.rc which contains the following copied from the fo-src theme:
If VWM TRUE
*Popup "" !New !Popupvwm
*Popup "Desktop 1" !VWMDesk 1
*Popup "Desktop 2" !VWMDesk 2
*Popup "Desktop 3" !VWMDesk 3
*Popup "Desktop 4" !VWMDesk 4
*Popup ~New
ENDIF

I have these two entries in my theme.rc file:
include "$configDir$jdesk.rc"
include "$configDir$popupvwm.rc"

I really don't know what else to do to get this to work. I've looked through the docs for the vwm module and the jdesk module, but I can't find any docs which state "if you want to do something like this, you have to have this/these .rc file(s) and you have to make entries in these .rc files and you have to set up these themevars...."

jdesk-0.711
popup2-2.1.4
ckvwm-1.40

Thanks so much. This isn't as easy as AstonShell

David




Powered by SkinBrowser!
14,753 views 67 replies
Reply #1 Top

*jDeskMButton3 [CTRL!none!ToggleCommand!none] << THIS WORKS

comment out that one....to check it's not conflicting with the next line...

Reply #2 Top
Hi Jafo,
Thanks for your advice.

Didn't help. Nothing happens at all on ctrl-middlemousebutton (which is the scroll wheel, if that makes a difference)


Powered by SkinBrowser!
[Message Edited]
Reply #3 Top

Got a link to the theme that this works in?

If I ran it I might be able to see where your problem is...

Reply #4 Top
I just found it in the Wincusto libraries. I think I got it originally from the litestep.net libs.

https://www.wincustomize.com/skins.asp?Library=6&skinid=336

The author of this theme didn't arrange his .rc's in the same way mine is, so it's a little confusing. This whole .rc thing is a bit confusing Everything says to make an entry in the step.rc file, but all the themes I've looked at, most of the stuff is in the theme.rc file. This is fun



Powered by SkinBrowser!
Reply #5 Top
Something else that's fun:

the LSXcommand bar. If you set the thing to have a transparent edit area, it won't go away, no matter what command you give it.



Powered by SkinBrowser!
Reply #6 Top
Boring looking theme...but I'll have a look...
Reply #7 Top
eek....dud loader
Reply #8 Top
yeah it is a bit plain compared to the one you're current working on , but what doesn't

(It has features I wanted to learn about.)



Powered by SkinBrowser!
Reply #9 Top
LS was at 50%....had to kill it as the theme was borked
Reply #10 Top
You could try where I got it originally:
http://www.litestep.net/index.php?section=2&action=details&id=790
You have to be a subscriber or whatever



Powered by SkinBrowser!
Reply #11 Top
now I have to work out what's wrong with the theme itself....has one hell of a leak somewhere
Reply #12 Top
Also, could you please tell me why
CommandX 350
CommandY 488

puts the bar at the bottom of my 1280x1024 screen?



Powered by SkinBrowser!
Reply #13 Top
Hmm I never had any problems with the theme from litestep.net. Sorry Jafo.



Powered by SkinBrowser!
Reply #14 Top
/me goes off to edit themeselect.rc
Reply #15 Top
OK...back in Antares.....now I'll have a closer look...
Reply #16 Top
Stupid amount of complexity with all those rc's.....waste of time....
Reply #17 Top
mine only has one line in it.



Powered by SkinBrowser!
Reply #18 Top
I'll try switching now from within the loaded theme...instead of 'expecting' it to load correctly on install
Reply #19 Top

nope....there's a specific problem here....perhaps with my use of RC3 of LS......desktop leaks like a sieve...as if no images load because of lost path....

 

belay that....it loaded....took about 30 seconds or more

Reply #20 Top

Why do people insist on wanting desktop icons...and a bottom bar that looks so much like Exploder....why not use Exploder and be done with it?

Looks like my standard popup causes it to go gaga looking for images that don't exist.......I can sort that but I'm wondering what other dramas are in store...

Reply #21 Top
I just installed your Antares theme from litestep.net and got a bunch of errors about the hotkeys not initializing.

I like the doohickey, that's pretty clever. Will have to see how you did that.

There's a little panel which reveals itself on mouse over down and to the left of the 'fan'. I can't read it, my zoomer apps can't see it, clicking on it doesn't do anything. What is it?



Powered by SkinBrowser!
[Message Edited]
Reply #22 Top
gawd...is that all you want it to do....center button popup to switch vwms....
Reply #23 Top
Grab Antares II from here....it's newer than the LS.net one....
Reply #24 Top
sorry, but I can't tell if your being facetious or not...i'ts been a long day. Are you saying that it's really easy?



Powered by SkinBrowser!
Reply #25 Top
Installed Antares 2 and still got a bunch of 'hotkey failed to register errors'



Powered by SkinBrowser!