Thread: Hooking lsxcommand & rabidvwm in xLabel.
Sun Oct 03 2004, 08:33PM
Registered Member #22
Joined Thu May 06 2004, 08:32AM
posts 63
I know that 1/2 the "HELP ME" threads are by me, but I have another
I've been able to hook labels to other labels just fine with the simple-syntax that it uses. However I can't seem to get any other modules to hook at all.
The do[*&/§=!$]entation says to add (for lsxcommand) a "CommandWaitForBox" line to step.rc, and *(label-name)ModuleHook !CommandBoxHook to your step.rc.
That's the label I want to hook it to, my question is, can I put the two hooking lines right after these lines in my "label.rc" file? Should I put the lines in my "command.rc" file? Or should I put the lines right in the theme.rc file?
Essentially I'm asking what order the 4 components have to be in (Label Declaration, Command Declaration, WaitForBox line, and ModuleHook line).
Gah, I've never understood why people split their .rc files into a separate file for each module. But in general, when you're hooking a module into xLabel(light) or LSBox, you do it like this:
1. Load the module being hooked (for example, LSXCommand)
2. If possible, use the "wait for box" setting for that module.
3. Load xLabel(light).
4. Declare the label or box that will hook the first module (in this case, CommandHooker).
5. Add your *ModuleHook line.
A quick explanation:
First, you need to load the module you want to have hooked, or else xLabel(light) won't have anything to load.
Then you tell the module to wait to be hooked. After that, you load xLabel(light) (after all, you need it loaded before you can make a label), and declare and configure your label. Lastly, you tell the label to hook the module from the beginning.
Thread: Hooking lsxcommand & rabidvwm in xLabel.
Tue Oct 05 2004, 10:41AM
Registered Member #116
Joined: Thu Aug 26 2004, 12:30AM
posts 34
I have a lot of problems getting lsxcommand to hook too, must be because of the same reason.
Could you post the exact syntax please? Right now i feel more stupid than you do
Thread: Hooking lsxcommand & rabidvwm in xLabel.
Tue Oct 05 2004, 01:03PM
Joined: Thu Apr 29 2004, 08:25PM
posts 179
Just one thing about RavidVWM, the older versions generally had problems to hook in xLabel, so you definitly should use the newest rabidvwm version 1.1.1
Thread: Hooking lsxcommand & rabidvwm in xLabel.
Tue Oct 05 2004, 08:50PM
Registered Member #116
Joined: Thu Aug 26 2004, 12:30AM
posts 34
I checked, yes, i'm using 1.9.3
Actually I've gotten it to work now, but the label containing lsxcommand dissapears after a !recycle, and litestep hangs.
Thread: Hooking lsxcommand & rabidvwm in xLabel.
Mon Oct 11 2004, 11:31PM
Registered Member #116
Joined: Thu Aug 26 2004, 12:30AM
posts 34
Bump >> sorry to bother you guys with it, but I still have the problem that the label which hooks lsxcommand dissapears when i !recycle, and litestep hangs and sometimes crashes. The label contains
Thread: Hooking lsxcommand & rabidvwm in xLabel.
Tue Oct 12 2004, 04:08AM
Registered Member #26
Joined: Fri May 14 2004, 05:32AM
posts 123
What xLabel version are you using? I've had some oddities in the 3.2-beta with the label holding LSXCOmmand having contents at strange negative coords, even if I move them. A much simpler config than yours.
Thread: Hooking lsxcommand & rabidvwm in xLabel.
Tue Oct 12 2004, 08:41AM
Guest
I use the latest 3.2 beta, but I've been having this problem ever since I started using xLabel (if i recall correctly, had this problem with lsBox too!)
Juan Guillermo
on
31 Oct : 23:46
Thanks a lot for your GREAT work guis , xmodules are transforming the Litestep shell in a much more fancy/varsatile thing.
AngelKnight
on
30 Oct : 16:44
^_^
Backslash
on
29 Oct : 00:54
>Andymon - woot!
>GothsSecret - If necessary, you could probably reduce the gaps between the center and the sides, for those with lower resolutions (not me, I'm at 1280x1024!).
Andymon
on
28 Oct : 13:02
Just wanna tell:
HighColor(16bit) is coming for all xModules in the near future, finally.
GothsSecret
on
28 Oct : 11:47
hehe, now I like it too, I wassn't sure if it'll look good if we put a second menu right handed but now it's ok, so no need for a complete change anymore
BobixLeSage
on
28 Oct : 11:34
Hello everyone!
This layout is just fine, don't get why you want to change it?!