clacker
Group: Members
Posts: 570
Joined: June 2004 |
|
Posted: 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.
|