Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (7) </ 1 2 3 4 5 [6] 7 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Two versions of DSL, Fluxbox and jwm< Next Oldest | Next Newest >
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Nov. 07 2007,22:05 QUOTE

OK. I am going to process only one mydsl menu for the current wm. Then upon switching managers, rebuild the mydsl menu for the newly selected wm. This should complete the opening of the mydsl menu processing code.
Back to top
Profile PM WEB 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Nov. 08 2007,16:07 QUOTE

Is that done by having each wm specific code inside DSL, or by having the script in the extension under a standard name like "create-menu" or something?

--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Nov. 08 2007,16:28 QUOTE

I am supporting it all under /opt. This way it supports legacy mode.
You are correct to assume a common single simple name of the scripts that code in the core DSL will look for and process.

/opt/.mydsl_menu/jwm/  directory contains:

make   -  the code to make the mydsl menu include
restart  - the code needed to restart/refresh to make the menu updates visible
menu_template - the "empty" or starting menu usually has a placeholder used as the target of insertion for the make script.

I did not use any extension (.lua, .sh, .pl)  on the script names so that you can write your scripts in any supported language.

To remain backward compatible the default remains fluxbox menu specifications.

/opt/.mydsl_menu/fluxbox  directory contains the same three named files but with content specific to fluxbox.

This way a .tar.gz (legacy able) extension can write to /opt/.mydsl_menu and the dynamic mydsl menu creation, update, and cleanup will all work.

For the main system menu ((static)) I am now using a bash include
to there is a fluxbox.inc and a jwm.inc. This include file is the code snippet that would have been needed inside the .xinitrc case statement.


Edited by roberts on Nov. 08 2007,16:33
Back to top
Profile PM WEB 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Nov. 08 2007,17:07 QUOTE

Nice.

So all new wm extensions (with menus) would have to have those?

You should also post this in the sticky "Note to extension builders" thread..


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
humpty Offline





Group: Members
Posts: 655
Joined: Sep. 2005
Posted: Nov. 10 2007,04:19 QUOTE

Does this mean i can get back those retro 48x48 icons again? that would be way cool!

And what would the live cd default to ?
Back to top
Profile PM 
33 replies since Oct. 06 2007,19:22 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (7) </ 1 2 3 4 5 [6] 7 >/
reply to topic new topic new poll
Quick Reply: Two versions of DSL

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code