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: (4) </ 1 2 3 [4] >/

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

reply to topic new topic new poll
Topic: Extension loading order, Order in which extensions are loaded< Next Oldest | Next Newest >
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Sep. 21 2004,22:58 QUOTE

ooohh...so it's that particular filename (I'm guessing...i don't have dsl running at the moment) which is skipped intentionally? Very cool.

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Sep. 22 2004,01:56 QUOTE

I purposely designed it that way so that the user's backup.tar.gz has final say on his system.
Back to top
Profile PM WEB 
Delta-9 Offline





Group: Members
Posts: 17
Joined: May 2004
Posted: Sep. 22 2004,12:31 QUOTE

As it should, of course!  However, shouldn't a .tar.gz extension be able to modify the default behavior of a subsequently loaded .dsl module, at least in theory?

I'm trying to accomplish the same thing that almostX-theme.tar.gz does to fluxbox when auto-loaded from the root.  The problem most likely did not occur with fluxbox, since it is already exists when .tar.gz files are loaded.  I can do the same thing with xmms, which pre-exists, but not with icewm, mplayer or xine which are .dsl modules.  :(

I'm guessing that's why icewm-blue includes icewm again instead of being just the theme.
Back to top
Profile PM 
henk1955 Offline





Group: Members
Posts: 249
Joined: June 2004
Posted: Sep. 22 2004,14:55 QUOTE

Quote
However, shouldn't a .tar.gz extension be able to modify the default behavior of a subsequently loaded .dsl module, at least in theory?

i dont think so. extensions should be build as standalones with reasonable default.
i think its a clear patern.
1. load all the extensions
2. then use backup.tar.gz to adjust the default to your need



Quote
I'm guessing that's why icewm-blue includes icewm again instead of being just the theme.

it is very well posible to create a theme.dsl for icewm withouth including the whole icewm again. i think the icewm-blue.dsl is more of a snapshot form the builders desktop.
i just tied two options.
1. created a theme.tar.gz from my /home/dsl/.icewm/themes and have i loaded at boottime before icewm.dsl is loaded
this can be a *.tar.gz as it writes in /home

2. created a theme (1in1-xp.dsl) from /usr/share/icewm/themes and have i loaded at boottime before icewm.dsl is loaded (just because for the alphabetic order)
this must be a *.dsl as it writes in /usr


--------------
You have a Q or just want to chat?
Come to #damnsmalllinux on irc.freenode.net!
Open 24/7

dell latitude c640 p4@1.6Ghz 256Mb DSL0.9.1-remaster
asus p4p800-vm p4@2.8Ghz HT / celeron@2.4Ghz 512Mb DSL0.9.1-remaster (alsadebs.dsl)
ABit BE6 celeron@466 256Mb DSL0.9.1-remaster (xawtv)
Back to top
Profile PM WEB MSN 
Delta-9 Offline





Group: Members
Posts: 17
Joined: May 2004
Posted: Sep. 22 2004,16:42 QUOTE

There will always be more than one way to skin a cat, but this is beside the point.

Quote
1. created a theme.tar.gz from my /home/dsl/.icewm/themes and have i loaded at boottime before icewm.dsl is loaded
this can be a *.tar.gz as it writes in /home


Yes, but try to  make it the new default theme for icewm (without using restore) like almostX for fluxbox does.  Anything can be set as default using restore, but then your backup.tar.gz is dependant on certain extension modules being loaded.  I have found that this can have other unforseen consequences so I don't use it at all... yet. :)

Quote
2. created a theme (1in1-xp.dsl) from /usr/share/icewm/themes and have i loaded at boottime before icewm.dsl is loaded (just because for the alphabetic order)
this must be a *.dsl as it writes in /usr


Thanks, this illustrates the problem pretty well.  According to the IceWM documentation (IceWM Manual) this is improper.  A user's personal add-on themes belong in $HOME/.icewm/themes whereas only the default built-in themes should be found in /usr/share/icewm/themes OR /usr/local/share/icewm/themes.  I had to move some of the ones I'm working with to $HOME/.icewm so I was aware that not everyone "plays by the rules."  But breaking the rules in this way can make your theme incompatible with later versions of IceWM and/or other themes.

In essence, this is the problem, just in reverse.  The default settings in icewm.dsl were placed in $HOME/.icewm, instead of /usr/share/icewm where they belong.  If moved, and the .dsl is rebuilt, everything will work as it should.  I have personally verified this only with icewm-blue at this point, still need to test the base version.

Again, thanks for the feedback!  Hopefully, you're helping me to clarify the issue as I see it.
Back to top
Profile PM 
19 replies since Sep. 20 2004,14:47 < Next Oldest | Next Newest >

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

Pages: (4) </ 1 2 3 [4] >/
reply to topic new topic new poll
Quick Reply: Extension loading order

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