VectorLinux
October 22, 2014, 06:00:32 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: 1 [2]
  Print  
Author Topic: 070813 - JWM 2.0.1  (Read 5685 times)
Colonel Panic
Vectorian
****
Posts: 526


« Reply #15 on: September 23, 2007, 10:58:41 pm »


Thanks, I'd be interested too Smiley
Logged
uelsk8s
Administrator
Vectorian
*****
Posts: 2504



« Reply #16 on: October 03, 2007, 04:35:35 pm »

me too, me too

Smiley
Thanks,
Uelsk8s
Logged
dawnsboy
Vectorite
***
Posts: 135



« Reply #17 on: October 04, 2007, 11:26:47 am »

Sorry about the delay in responding to this request.  Here is an example file that contains additional menu entries for a stock install of VL 5.8 Standard Gold.

Quote
<?xml version="1.0"?>

<JWM>

    <!-- The root menu, if this is undefined you will not get a menu. -->
   <!-- Additional RootMenu attributes: onroot, labeled, label -->
   <RootMenu height="20">
      <!-- Addititional Menu attributes: height, labeled -->
      <Menu icon="/usr/share/icons/Vista-Inspirate_1.0/64x64/apps/gnome-applications.png" label="Accessories">
         <Program icon="/usr/share/icons/Vista-Inspirate_1.0/48x48/apps/calc.png" label="Calculator">calculator</Program>
         <Program icon="/usr/share/icons/Vista-Inspirate_1.0/48x48/apps/cal.png" label="Calendar (orage)">orage</Program>
         <Program icon="/usr/share/pixmaps/gucharmap.png" label="Character Map">gucharmap</Program>
         <Program icon="/usr/share/icons/Vista-Inspirate_1.0/32x32/actions/find.png" label="GTKFind">gtkfind</Program>
         <Program icon="/usr/share/icons/Vista-Inspirate_1.0/64x64/apps/kchmviewer.png" label="KchmViewer">kchmviewer</Program>
      </Menu>
      <Menu label="Console" icon="/usr/share/icons/ROX-nuvola/apps/terminal.png">
                   <Program label="Terminal" icon="/usr/share/icons/Vista-Inspirate_1.0/48x48/apps/terminal.png">terminal</Program>
                   <Program label="Superuser Terminal" icon="/usr/share/icons/Vista-Inspirate_1.0/48x48/apps/terminal.png">terminal_super</Program>
                   <Program label="Aterm Red" icon="/usr/share/icons/ROX-nuvola/apps/console.png">aterm -tr -trsb -tint red -fg white</Program>
                   <Program label="Aterm Green" icon="/usr/share/icons/ROX-nuvola/apps/console.png">aterm -tr -trsb -tint green -fg white</Program>
                   <Program label="Aterm Cyan" icon="/usr/share/icons/ROX-nuvola/apps/console.png">aterm -tr -trsb -tint cyan -fg white</Program>
                   <Program label="Aterm Yellow" icon="/usr/share/icons/ROX-nuvola/apps/console.png">aterm -tr -trsb -tint yellow -fg white</Program>
                   <Program label="MRXVT" icon="/usr/share/icons/ROX-nuvola/apps/terminal.png">mrxvt -tn xterm -bg black -fn 10x20 -fg green</Program>
                   <Program label="Midnight Commander" icon="/usr/share/icons/ROX-nuvola/apps/explorer.png">xterm -bg black -fg green -fn 10x20 -e mc</Program>
                   <Program label="SSH Terminal" icon="/usr/share/icons/ROX-nuvola/apps/rconsole.png">terminal_ssh</Program>
                   <Program label="PuTTY" icon="/usr/share/icons/ROX-nuvola/apps/rconsole.png">putty</Program>
      </Menu>
      <Menu label="Development" icon="/usr/share/icons/ROX-nuvola/apps/package_development.png">
                   <Program label="Rhide (C++ Text IDE)" icon="/usr/share/icons/ROX-nuvola/apps/package_development.png">terminal_rhide</Program>
                   <Program label="Motor (C++ Text IDE)" icon="/usr/share/icons/ROX-nuvola/apps/package_development.png">terminal_motor</Program>
                   <Program label="QT Designer (C++ IDE)" icon="/usr/share/icons/ROX-nuvola/apps/designer.png">designer</Program>
                   <Program label="BlueFish (HTML Editor)" icon="/usr/share/icons/ROX-nuvola/apps/bluefish.png">bluefish</Program>
         <Program label="Composer (HTML Editor)" icon="/usr/share/pixmaps/seamonkey-composer.png">seamonkey -edit</Program>
      </Menu>   
      <Menu icon="/usr/share/icons/Vista-Inspirate_1.0/64x64/apps/text-editor.png" label="Editors">
         <Program icon="/usr/share/icons/Vista-Inspirate_1.0/48x48/apps/gedit.png" label="Adie">adie</Program>
         <Program icon="/usr/share/pixmaps/gvim.png" label="gVim">gvim</Program>
         <Program icon="/usr/X11R6/share/pixmaps/medit.png" label="MEdit">medit</Program>
         <Program icon="/usr/share/pixmaps/mousepad.png" label="Mousepad">mousepad</Program>
         <Program icon="/usr/share/icons/Vista-Inspirate_1.0/48x48/apps/gnome-terminal.png" label="nano">xterm -bg black -fg "light green" -e nano</Program>
         <Program icon="/usr/share/pixmaps/tea.xpm" label="Tea">tea</Program>
      </Menu>
      <Menu label="Games" icon="/usr/share/icons/ROX-nuvola/apps/package_games.png">
                   <Program label="PySOL" icon="/usr/share/pixmaps/pysol.xpm">pysol</Program>
           </Menu>
      <Menu icon="/usr/share/icons/ROX-nuvola/apps/package_graphics.png" label="Graphics">
         <Program icon="/usr/share/icons/Vista-Inspirate_1.0/48x48/apps/gimp.png" label="Gimp">gimp</Program>
         <Program icon="/usr/share/icons/ROX-nuvola/apps/gqview.png" label="GQView">gqview</Program>
         <Program icon="/usr/share/icons/Vista-Inspirate_1.0/48x48/apps/camera.png" label="gtkam">gtkam</Program>
         <Program icon="/usr/share/pixmaps/xpaint.png" label="MtPaint">mtpaint</Program>
         <Program icon="/usr/share/icons/Vista-Inspirate_1.0/48x48/apps/camera.png" label="Shutterbug">shutterbug</Program>
         <Program icon="/usr/share/pixmaps/xaralx.png" label="XaraLX">XaraLX</Program>
         <Program icon="/usr/share//icons/Vista-Inspirate_1.0/48x48/apps/xsane.png" label="xsane">xsane</Program>
      </Menu>
      <Menu icon="/usr/share/icons/Vista-Inspirate_1.0/48x48/apps/package_multimedia.png" label="Multimedia">
              <Program icon="/usr/share/icons/ROX-nuvola/apps/gamix.png" label="Audio Mixer">gamix</Program>
         <Program icon="/usr/share/pixmaps/graveman48.png" label="Graveman">graveman</Program>
         <Program icon="/usr/share/pixmaps/mhwaveedit.xpm" label="MhWaveEdit">mhwaveedit</Program>
         <Program icon="/usr/share/icons/Vista-Inspirate_1.0/48x48/apps/media-player.png" label="MPlayer">gmplayer</Program>
         <Program icon="/usr/share/icons/ROX-nuvola/apps/ripperx.png" label="RipperX">ripperX</Program>
         <Program icon="/usr/share/pixmaps/xine.xpm" label="xine">xine</Program>
         <Program icon="/usr/share/icons/Vista-Inspirate_1.0/48x48/apps/xmms.png" label="XMMS">xmms</Program>
      </Menu>
      <Menu icon="/usr/share/icons/Vista-Inspirate_1.0/48x48/apps/network.png" label="Network">
         <Program icon="chestnut-dialer.png" label="Chestnut Dialer">chestnut-dialer</Program>
         <Program icon="/usr/share/icons/ROX-nuvola/apps/d4x.png" label="D4X">d4x</Program>
         <Program icon="/usr/share/pixmaps/dillo.png" label="Dillo">dillo</Program>
         <Program icon="/usr/share/pixmaps/firefox.png" label="Firefox">firefox</Program>
         <Program icon="/usr/share/pixmaps/gaim.png" label="Gaim">gaim</Program>
         <Program icon="/usr/share/icons/Vista-Inspirate_1.0/48x48/apps/gftp.png" label="gFTP">gftp</Program>
         <Program icon="grsync.png" label="grsync">grsync</Program>
         <Program icon="msn.png" label="MSN Messenger">amsn</Program>
         <Program icon="modem.png" label="Modem Dialer">modem_dialer</Program>
         <Program icon="seamonkey.png" label="Seamonkey">seamonkey</Program>
         <Program icon="seamonkey-mail.png" label="Seamonkey Mail">seamonkey -mail</Program>flux
         <Program icon="wifi-radar.png" label="WiFi Radar">gksu "wifi-radar"</Program>
      </Menu>
      <Menu icon="/usr/share/icons/ROX-nuvola/apps/package_office.png" label="Office">
         <Program icon="/usr/share/icons/Vista-Inspirate_1.0/48x48/apps/abiword.png" label="AbiWord">abiword</Program>
         <Program icon="gnome-gnumeric.png" label="Gnumeric">gnumeric</Program>
         <Program icon="xpdf.png" label="xpdf">xpdf</Program>
      </Menu>
      <Menu icon="/usr/share/icons/ROX-nuvola/apps/package_system.png" label="System">
         <Program icon="vcpufreq.png" label="CPU Frequency Manager">gksu "vcpufreq"</Program>
         <Program icon="/usr/share/icons/ROX-nuvola/apps/package.png" label="GSlapt Package Manager">gksu "/usr/sbin/gslapt"</Program>
         <Program icon="/usr/share/icons/ROX-nuvola/apps/gkrellm.png" label="Gkrellm">gkrellm</Program>
         <Program icon="/usr/share/icons/Vista-Inspirate_1.0/64x64/apps/cal.png" label="Set Date">gksu "vdateset"</Program>
         <Program icon="/usr/share/icons/hicolor/48x48/apps/Thunar.png" label="Thunar File Manager">thunar</Program>
         <Program icon="/usr/share/icons/hicolor/48x48/apps/Thunar.png" label="Thunar File Manager -root">gksu thunar</Program>
         <Program icon="/usr/share/icons/ROX-nuvola/apps/vasm.png" label="vasm">vasm</Program>
         <Program icon="vl-hot.png" label="VL-Hot Config">gksu "/sbin/vl-hot-config"</Program>
         <Program icon="/usr/share/pixmaps/taskmanager.png" label="XFCE Task Manager">xfce4-taskmanager</Program>
         <Program icon="/usr/share/pixmaps/taskmanager.png" label="XFCE Task Manager -root">gksu xfce-taskmanager</Program>
      </Menu>
      <Menu icon="/usr/share/icons/Vista-Inspirate_1.0/48x48/apps/package_utilities.png" label="Utilities">
              <Program icon="htop.png" label="htop">xterm -bg black -fg white htop</Program>
         <Program icon="xarchiver.png" label="XArchiver">xarchiver</Program>
         <Program icon="/usr/share/icons/ROX-nuvola/apps/fonts.png" label="xfontselector">xfontsel</Program>
         <Program icon="/usr/share/icons/ROX-nuvola/apps/xmag.png" label="xmag">xmag</Program>
         <Program icon="/usr/share/icons/Vista-Inspirate_1.0/48x48/apps/gnome-terminal.png" label="xterm">xterm -bg black -fg "light green"</Program>
         <Program label="XFE (File Manager)" icon="/usr/share/icons/ROX-nuvola/apps/xfe.png">xfe</Program>
                   <Program label="Explore Floppy" icon="/usr/share/icons/ROX-nuvola/devices/floppy_unmount.png">explorer_fd</Program> 
                   <Program label="Explore CDROM" icon="/usr/share/icons/ROX-nuvola/devices/cdrom_unmount.png">explorer_cd</Program>
                   <Program label="Explore USB Pendrive" icon="/usr/share/icons/ROX-nuvola/devices/usbpendrive_unmount.png">explorer_pd</Program>
                   <Program label="XFSamba (Network Neigborhood)" icon="/usr/share/icons/ROX-nuvola/apps/samba.png">xfsamba4</Program>
         <Program label="JPilot" icon="/usr/share/icons/ROX-nuvola/apps/kpilot.png">jpilot</Program>
      </Menu>
      <!-- <Desktops label="Desktops" icon="desktops.png"/> -->
      <Separator/>
      <Program label="Run" icon="gnome-run.png">grun</Program>
      <Separator/>
      <Menu label="Logout">
             <Restart label="Restart" icon="restart.png"/>
             <Exit label="Exit" confirm="true" icon="exit.png"/>
        <Program label="Reboot">sudo /sbin/shutdown -t3 -r now</Program>
        <Program label="Shutdown">sudo /sbin/shutdown -t3 -h now</Program>
      </Menu>
   </RootMenu>
   <Group>
      <Class>Pidgin</Class>
      <Option>sticky</Option>
   </Group>

   <Group>
      <Name>gkrellm2</Name>
      <Option>nolist</Option>
   </Group>

   <Group>
      <Name>rxvt</Name>
      <Option>vmax</Option>
   </Group>

   <!-- Additional tray attributes: autohide, width, border, layer, layout -->
   <Tray  x="0" y="-1" height="32">

    <!-- Additional TrayButton attribute: label -->
        <TrayButton label="Start" icon="/usr/share/icons/ROX-nuvola/apps/vector.png">root:1</TrayButton>

      <TrayButton label="" icon="/usr/share/icons/Vista-Inspirate_1.0/48x48/filesystems/desktop.png">showdesktop</TrayButton>


      <!-- Additional Pager attributes; width, height -->
      <Pager/>

      <!-- Additional TaskList attribute: maxwidth -->
      <TaskList/>

      <Dock/>

      <!-- Additional Swallow attribute: height -->
      <Swallow name="xload" width="64">
         xload -nolabel -bg black -fg red -hl white
      </Swallow>

      <Clock>xclock</Clock>

   </Tray>

   <!-- Visual Styles -->

   <WindowStyle>

      <Font>FreeSans-9:bold</Font>
      <Width>4</Width>
      <Height>20</Height>

      <Active>
         <Text>white</Text>
         <Title>#70849d:#2e3a67</Title>
         <Corner>white</Corner>
         <Outline>black</Outline>
      </Active>

      <Inactive>
         <Text>#aaaaaa</Text>
         <Title>#808488:#303438</Title>
         <Corner>#aaaaaa</Corner>
         <Outline>black</Outline>
      </Inactive>

   </WindowStyle>

   <TaskListStyle>
      <Font>FreeSans-12</Font>
      <ActiveForeground>black</ActiveForeground>
      <ActiveBackground>gray90:gray70</ActiveBackground>
      <Foreground>black</Foreground>
      <Background>gray70:gray90</Background>
   </TaskListStyle>

   <!-- Additional TrayStyle attribute: insert -->
   <TrayStyle>
      <Font>FreeSans-12</Font>
      <Background>gray90</Background>
      <Foreground>black</Foreground>
   </TrayStyle>

   <PagerStyle>
      <Outline>black</Outline>
      <Foreground>gray90</Foreground>
      <Background>#808488</Background>
      <ActiveForeground>#70849d</ActiveForeground>
      <ActiveBackground>#2e3a67</ActiveBackground>
   </PagerStyle>

   <MenuStyle>
      <Font>FreeSans-10</Font>
      <Foreground>black</Foreground>
      <Background>gray90</Background>
      <ActiveForeground>white</ActiveForeground>
      <ActiveBackground>#70849d:#2e3a67</ActiveBackground>
   </MenuStyle>

   <PopupStyle>
      <Font>FreeSans-10</Font>
      <Outline>black</Outline>
      <Foreground>black</Foreground>
      <Background>yellow</Background>
   </PopupStyle>

   <IconPath>/usr/share/pixmaps</IconPath>

   <!-- Virtual Desktops -->
   <!-- Desktop tags can be contained within Desktops for desktop names. -->
   <Desktops count="1">

      <!-- Default background. Note that a Background tag can be
           contained within a Desktop tag to give a specific background
           for that desktop.
       -->
      <Background type="tile"></Background>

   </Desktops>

   <!-- Double click speed (in milliseconds) -->
   <DoubleClickSpeed>400</DoubleClickSpeed>

   <!-- Double click delta (in pixels) -->
   <DoubleClickDelta>2</DoubleClickDelta>

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

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

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

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

   <!-- 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="A" key="Tab">nextstacked</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>

</JWM>


Please note that I did not include the <StartupCommand> tags.  If you want to have all the nifty Vista-Inspirate_1.0 icons available for Thunar then do the following:

Open the system.jwmrc file as root with a text editor.  Look for the

<IconPath>/usr/share/pixmaps</IconPath> tags.  Place the <StartupCommand> tags just after the <IconPath> tags as follows:

<StartupCommand>
xfce-mcs-manager
</StartupCommand>

If you want to add something like ROX desktop then make the entry like this:

<StartupCommand>
xfce-mcs-manager
rox -p desktop
</StartupCommand>

For more on using the StartupCommand to make JWM work with thunar and the xfdesktop please view the following topic:

http://www.vectorlinux.com/forum2/index.php?topic=4441.0

« Last Edit: October 04, 2007, 12:32:12 pm by dawnsboy » Logged

Custom Mini-Itx - VL6.0 Light
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!