Where is "myDSL" on JWM


Forum: Apps
Topic: Where is "myDSL" on JWM
started by: al2

Posted by al2 on April 03 2006,17:20
I first installed cups when in Flux. And it then gave me a right-click menu option called "MyDSL ---> Cups Admin". Very nice.

When I moved to JWM there is no such menu. Only way to get to cups is via < http://localhost:630. >

Did I miss something here. Should I have installed cups when I was IN JWM and it would have created a menu there too? (I was just running from CD).

Thanks,

Al

Posted by clacker on April 03 2006,23:04
al2,  I believe that the menu for JWM is kept in the /home/dsl/.jwmrc file.  You can add the menu item for Cups by adding these lines just after the

<RootMenu label="DSL" onroot="3">

line in /home/dsl/.jwmrc:

Code Sample
<Menu label="Cups">
<Program label="start"> sudo /etc/init.d/cupsys start </Program>
<Program label="stop"> sudo /etc/init.d/cupsys stop </Program>
<Program label="restart"> sudo /etc/init.d/cupsys restart </Program>
<Program label="reload"> sudo /etc/init.d/cupsys reload </Program>
<Program label="force-reload"> sudo /etc/init.d/cupsys force-reload </Program>
<Program label="Cups Admin"> /usr/local/firefox/firefox http://localhost:631 </Program>
</Menu>


There is a flua script called /etc/init.d/flux2jwm.lua but I don't believe it handles the mydsl menu items correctly.  It is handy for converting things like this into a form you can use, though.

Posted by al2 on April 04 2006,05:33
I rebooted,went to JWM, downloaded CUPS and there it was... in the JWM menu. Obviously this does not carry over from switching between WMs.

Al

Posted by doobit on April 04 2006,13:53
I does carry over if you have backed up the download to the top directory or saved it to the /mydsl folder of some writeable media. When I am using the live CD I save the backup file and downloaded apps to a pendrive.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.