Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 02-17-2019, 10:36 PM   #1
Registered: Jun 2017
Distribution: Debian Testing, Vector Linux , NuTyX, Alpine.
Posts: 121

Rep: Reputation: Disabled
Jwm discrepancy


I'm trying to reproduce my Debian desktop on Slitaz.
I have installed Jwm and copied the file I use on Debian, Alpine, and so forth.
However, on Slitaz I can't get the windows border right.
Instead of a flat dark gray border I get a fading orange one.
Likewise on the menu active bar and the pager.

This is my .jwmrc file.

<?xml version="1.0"?>


   <!-- The root menu, if this is undefined you will not get a menu. -->
   <!-- Additional RootMenu attributes: onroot, labeled, label -->
   <RootMenu height="15" onroot="12">
    	<Program label="Terminal">lxterminal</Program>
	    <Program label="Root File Manager">sudo pcmanfm</Program>
	    <Program label="File Manager">pcmanfm</Program>
    	<Menu label="Exit">
          <Exit label="Logout" confirm="true" icon="quit.png"/>
		  <Program label="Reboot">sudo reboot</Program>
		  <Program label="Turn off">sudo poweroff</Program>	
        	<Program label="Refresh Menu">mjwm; jwm -reload </Program>
            <Restart label="Restart JWM" icon="restart.png"/>

    <StartupCommand>sudo ifup wlan0</StartupCommand-->
   <StartupCommand>udevil mount /dev/sdb1</StartupCommand>
   <StartupCommand>udevil mount /dev/sdc1</StartupCommand>
   <StartupCommand>devilspie -a </StartupCommand>
   <StartupCommand>conky </StartupCommand>
   <!--StartupCommand>setxkbmap latam </StartupCommand-->

   <!-- Additional tray attributes: autohide, width, border, layer, layout -->

   <Tray  x="0" y="-1" height="32" autohide="off">

      <!-- Additional TrayButton attribute: label -->
      <TrayButton label="JWM">root:1</TrayButton>

      <TrayButton label="_">showdesktop</TrayButton>

      <!-- Additional Pager attribute: labeled -->
      <Pager labeled="true"/>

      <TaskList maxwidth="256"/>


      <!-- Additional Swallow attribute: height -->

      <Swallow name="xload" width="64">
         xload -nolabel -bg black -fg gray -hl white

      <Clock format="%H:%M">xclock</Clock>


   <!-- Visual Styles -->









<!-- Additional TrayStyle attribute: insert -->











   <!-- Virtual Desktops -->
   <!-- Desktop tags can be contained within Desktops for desktop names. -->
   <Desktops width="4" height="2">
              <Background type="image">/usr/share/wallpaper/jwm.png</Background>

      <!-- Default background. Note that a Background tag can be
           contained within a Desktop tag to give a specific background
           for that desktop.


   <!-- Double click speed (in milliseconds) -->

   <!-- Double click delta (in pixels) -->

   <!-- The focus model (sloppy or click) -->

   <!-- The snap mode (none, screen, or border) -->
   <SnapMode distance="10">border</SnapMode>

   <!-- The move mode (outline or opaque) -->

   <!-- The resize mode (outline or opaque) -->

   <!-- Key bindings -->
   <Key key="Up">up</Key>
   <Key key="Down">down</Key>
   <Key key="Right">right</Key>
   <Key key="Left">left</Key>
   <Key key="h">left</Key>
   <Key key="j">down</Key>
   <Key key="k">up</Key>
   <Key key="l">right</Key>
   <Key key="Return">select</Key>
   <Key key="Escape">escape</Key>

   <Key mask="4" key="u">exec:pmount /dev/sdb1 sdb1 && pcmanfm /media/sdb1</Key>
   <Key mask="4" key="e">exec:sylpheed</Key>
   <Key mask="4" key="a">exec:pidgin</Key>
   <Key mask="4" key="t">exec:lxterminal</Key>
   <Key mask="4" key="p">exec:pcmanfm</Key>
   <Key mask="4" key="s">exec:trelby</Key>
   <Key mask="4" key="f">exec:falkon</Key>
   <Key mask="4" key="m">exec:mpv --shuffle /home/mac/music/gals/*.*</Key>
   <Key mask="A" key="F4">close</Key>
   <Key mask="A" key="#">desktop#</Key>
   <Key mask="A" key="F1">root:1</Key>
   <Key mask="A" key="F2">window</Key>
   <Key mask="A" key="F10">maximize</Key>
   <Key mask="A" key="Right">rdesktop</Key>
   <!--Key mask="A" key="Left">ldesktop</Key-->
   <Key mask="A" key="Up">udesktop</Key>
   <Key mask="A" key="Down">ddesktop</Key>

This is jwm -p output:

mac@slitaz:~$ jwm -p
JWM: warning: /home/mac/.jwmrc[24]: close tag "StartupCommand--" does not match open tag "StartupCommand"
JWM: warning: /home/mac/.jwmrc[188]: invalid entity: "&& pcman"
JWM: warning: /home/mac/.jwmrc[188]: invalid entity: "& pcmanf"
JWM: warning: /home/mac/.jwmrc-mjwm[94]: invalid entity: "&& subox"
JWM: warning: /home/mac/.jwmrc-mjwm[94]: invalid entity: "& subox "
JWM: warning: /home/mac/.jwmrc[68]: invalid tag in WindowStyle: Background
JWM: warning: /home/mac/.jwmrc[69]: invalid tag in WindowStyle: Foreground
JWM: warning: /home/mac/.jwmrc[70]: invalid tag in WindowStyle: Outline
JWM: warning: /home/mac/.jwmrc[71]: invalid tag in WindowStyle: Opacity
JWM: warning: /home/mac/.jwmrc[74]: invalid tag in Active: Background
JWM: warning: /home/mac/.jwmrc[75]: invalid tag in Active: Foreground
JWM: warning: /home/mac/.jwmrc[96]: invalid tag in TaskListStyle: Active
JWM: warning: /home/mac/.jwmrc[111]: invalid tag in PagerStyle: Active
JWM: warning: /home/mac/.jwmrc[124]: invalid tag in MenuStyle: Active
I checked the lines but I can't see anything wrong and this config works flawlessly on any other distro.

What am I doing wrong?
Old 02-18-2019, 08:43 PM   #2
Registered: Jun 2017
Distribution: Debian Testing, Vector Linux , NuTyX, Alpine.
Posts: 121

Original Poster
Rep: Reputation: Disabled
seems like the difefrent version accepts different tags.
went through some slitaz config and fixed the differences.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Any JWM experts here? Need advice/help with JWM linus72 Linux - Desktop 2 07-07-2009 04:41 PM
No audio or video in JWM saivin Linux - Desktop 1 12-23-2008 10:45 PM
LXer: Debian Etch with Xfce vs. Damn Small Linux with JWM/Fluxbox LXer Syndicated Linux News 0 12-27-2007 09:00 PM
Want to boot JWM instead of fluxbox yngvesl DamnSmallLinux 1 04-24-2006 05:21 PM
JWM (Joe's Window Manager) xgreen Slackware 0 11-11-2004 07:33 PM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 09:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration