Help with hooking modules.. and other things Thread last updated on 2008-08-24 02:05:56

Posted by member 110622 on 2008-08-20 23:51:26

1 )
Trying to hook rabidvwm-1.1.1 inside a Label but it wont work.
The vwm works outside but it disappears when i try to hook it.
http://paste2.org/p/63616

2 )
with xTray i have to click on the tray bg for the scroll funktion to work. how do i fix so that o dont have to?
http://paste2.org/p/63616

3 )
As with vwm I can't hook LSXcommand to a label, it is working outside but disappears when i try to hook it.
http://paste2.org/p/63619

4 )
Is it possible to set a FontHeight to a % of the screen?
i've tried $ResolutionY*4/5$ $ResolutionY-75%$ but nothing.

5 )
xStats seems to be a biy buggy
netout stops wotking sometime and nettotalin/out seems to reset itself.

is it me or is it a problem others have too?

Posted by member 1 on 2008-08-21 02:24:30 link

3) I think you need xLSXCommand to do that.
4) Why would you want a Font Size of "1024 949"? I think the largest font possible is only 72pt.

Posted by member 212670 on 2008-08-21 03:20:25 link

1/3 ) Make sure you're loading lsxcommand and rabidvwm BEFORE xlabel (refering to the order their NLM lines appear.)

2 ) Set xTrayFocusOnEnter.

4 ) Is it text on a label? Need more info. There's likely a better way to do what you want.

Posted by member 110622 on 2008-08-21 05:11:39 link

1 ) Im am loading xlabel last.

2 ) Thanks, xTrayFocusOnEnter did the trick =)

3 ) didnt know there was a xLSXCommand.. cant find it on ls-univers.

4 ) I got it working thanks to alur on #Litestep, the only problem might be to have it centered on screen.
The reason is that i wanted a HUGE clock on my desktop =)

And a new question...
6 ) is it possible to have the background automaticly adjust to the content inthe label, ie. if i write something the Width will have the same width as the text?

Posted by member 212670 on 2008-08-21 13:16:38 link

Have a look at AutoWidthMode, OnTextChange... stuff like that.

Posted by member 110622 on 2008-08-24 02:05:56 link

1 ) Fixed. the problem was then lsxcommand and rabidvwm didnt support "-" X/Y value when hooked =\
2 ) Thanks, xTrayFocusOnEnter did the trick
3 ) Same as "1"
4 ) Working
5 ) Still buggy, nothing i can do about that =\
6 ) Not sure i need it

Thanks the helping me out =)