VectorLinux
October 23, 2014, 12:15:40 am *
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]
  Print  
Author Topic: How to make JWM work with Thunar & xfdesktop  (Read 3304 times)
dawnsboy
Vectorite
***
Posts: 135



« on: October 04, 2007, 12:28:18 pm »

JWM is a fast, lightweight window manager that features a taskbar with a menu and the ability to display a background image.  JWM is a featured window manager in some lightweight and live linux distributions.  It is sometimes "blended" with another desktop application such as ROX desktop.  The configuration file (system.jwmrc) is an xml file and can be opened in a text editor to alter the menu, change the visual style, add, delete or change a background image or start some useful applications.

Because VL 5.8 Standard features XFCE4 as the default window manager it provides a number of useful tools that may be used in conjunction with JWM.  This may be accomplished by opening the system.jwmrc file in a text editor.  The user may open, edit and save the file to the /home/$USER directory as .jwmrc (don't forget the leading ".").  JWM will then use the .jwmrc as the configuration file.  The system.jwmrc file for JWM 2.0.1 as compiled for VL 5.8 may be found in the /etc folder.  The system.jwmrc file for JWM 1.8 may be found in the /usr/etc folder.

Scroll through the system.jwmrc file in a favorite text editor and locate the following tags:

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

Locate the cursor one space below this line and enter the following:

Quote
 

<StartupCommand>
   if test x"$DBUS_SESSION_BUS_ADDRESS" = x""; then
   dbuslaunch=`which dbus-launch`
   if test x"$dbuslaunch" != x"" -a x"$dbuslaunch" != x"no"; then
      eval `$dbuslaunch --sh-syntax --exit-with-session`
   fi
fi

   xfce-mcs-manager
   xfdesktop
   </StartupCommand>


Exit JWM

Log back into JWM

Your desktop should similar to this screenshot (with a different theme of course):

http://www.geocities.com/jmculv/smoothcoolvl.jpg

Right click on the desktop and the xfce4 menu will appear.  Click on the desktop settings entry in the menu.  At this point a dialogue will appear that will permit the user to change the background, select or deselect "window list" on middle click and "desktop menu" on right click.  Remember that all desktop settings and properties may be accessed by right clicking on any desktop icon.  This is useful to know if the user does not wish to use the xfce4 desktop menu.

Additional program launchers, icons, url's and documents may created on the desktop by right clicking on the desktop icons as well.  The user may also open the Thunar file manager to drag and drop items to the desktop.  A number of *.desktop files may be found in /usr/share/applications.  Use of these files will allow the user to bypass manual creation of launchers for these commonly used applications.

It may also be useful to edit the system.jwmrc file <background> tags to read as follows:

Quote
<Background type="tile"></Background>


These tags can be safely removed but the above edit leaves them in place for future use.

The theme featured in the screenshot can be obtained by viewing this post:

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


« Last Edit: November 26, 2007, 03:32:43 pm by dawnsboy » Logged

Custom Mini-Itx - VL6.0 Light
Pages: [1]
  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!