Page 1 of 1

JWM Config Problems (solved)

Posted: Mon Oct 31, 2016 12:25 am
by noo_b_nomnoms
2016103014778696321280x800.png
2016103014778690971280x800.png
I'm customizing jwm using pidsley's config- which is beautiful, btw!- but I decided I wanted that panel down there with a volumeicon, so I went to work.
Yeppers. I went to work. Ugh.
I had no problem fixing the menu to use xterm and nano over urvxte and vim, and added torbrowser as my default www.
I even added a background. At least I thought I did.
All I thought I had to do was comment in the tray and add a swallow for the volumeicon.
Then I ran "jwm -p"
I cannot figure out how to fix this. I thought I knew what "open" and "close" tags meant.
I can't seem to find what it's complaining about, though.
Also- no clock.
And where did I mess up the background?
Help?

Re: JWM Config Problems

Posted: Mon Oct 31, 2016 1:26 am
by pidsley
^ This is why many people hate XML config files. From your scrot I can see you are missing a </Swallow> after your xload section. I have no idea how to make volumeicon work with jwm, but this might help.

Also, post the output of this command please:

Code: Select all

cat ~/.jwmrc | curl -F 'sprunge=<-' http://sprunge.us

Re: JWM Config Problems

Posted: Mon Oct 31, 2016 2:57 am
by noo_b_nomnoms
Thank you, pidsley :)
I went online and straightened out the syntax.
The output for that script was: http://sprunge.us/LEBW
I have no idea what that means, except that it seems to be a pastebin app.
I still have no answer for the volume icon. When I tried "volumeicon" from the cli it hung. To check this out I typed in "cryptkeeper" and it also hung- no icon in the panel.
Could it be there just isn't room there for it?
I thought I had figured out the wallpaper- a direct copy-paste from another config- but it still didn't work. I think the #! link from the jwm page had an alternate method, so I'm going to check that out.
Sorry so late getting back, but for a while I couldn't reach the site. In fact, I was trying to post a reply to you- actually submitting it- when you guys went away, lols!
*EDIT* Now I see what that script did! That is pretty cool! :)

Re: JWM Config Problems

Posted: Mon Oct 31, 2016 3:52 am
by pidsley
^ Sorry, I should have explained that code -- yes, it's a pastebin tool so I could see your entire .jwmrc.

I can't make the <Background> tags work either. If you don't care if the desktop backgrounds aren't different for each desktop, you can just use feh, nitrogen, or hsetroot to set the image, either in your .xinitrc or in the startup section of the .jwmrc. If you want them different for each desktop, I'm not sure.

To get volumeicon on the taskbar, you need a dock. Add this code to the taskbar section, wherever you want the dock. I added it right before the <Swallow name="xload"> tag:

Code: Select all

<Dock></Dock>
Then add volumeicon to the startup section at the top of the jwmrc. I added it and feh to set the background:

Code: Select all

<StartupCommand>
    sh ~/.fehbg
    volumeicon
</StartupCommand>
Image

Re: JWM Config Problems

Posted: Mon Oct 31, 2016 4:23 am
by noo_b_nomnoms
2016103014778838861280x800.png
Thank you! pidsley! You are a genius! This worked where the three other alternatives I found online didn't! :)
Ok! I have a great-looking jwm :) :) :)

*EDIT* How do I change this to topic to "solved"?
Someone else may want to look at this.

Re: JWM Config Problems

Posted: Mon Oct 31, 2016 1:29 pm
by machinebacon
^ in your first post, click on the little "EDIT" in the right lower corner, then put "[SOLVED]" into the subject line, and hit the Submit button.

Re: JWM Config Problems (solved)

Posted: Tue Nov 01, 2016 12:17 am
by noo_b_nomnoms
Doh! That's right! I've done it before! I may still need to pick up an industrial-sized bottle of Ginko Biloba! Or sticky notes :)
Thanks for fixing it, machinebacon!