DSL Ideas and Suggestions :: Create dsl extension wiki page



Quote (kuky @ Jan. 06 2008,15:22)
if i understood the general procedure of ucis....?
by example all in ver 4.2.
with emlfm
1) i made the untar firefox20011 of the spanish ver(firefox.2.0.0.11.tar.gz) in opt i add with mydsl gtk2 0705.dsl and run fine (only some warnigs of type translate i think by gtk2.dsl procedures)...
Yes, this is correct.
Quote
2) i rename  /opt/firefox by opt/esfirefox20011(i put first es to easy find the spanish versions in the repository).
Yes, this is OK.
Quote
3) i made with beaver /tmp/mydsl.menu/esfirefox20011 with the line

[exec] (esfirefox20011) { /opt/esfirefox20011/firefox}
Yes, this is correct.
Quote
4) i made a list file with beaver in tmp with the line

tmp/mydsl.menu/esfirefox20011

5) i type in aterm root (how i understand of page 205 of official book)
 
    a) # chown -R 0.0  /opt/
    b) # chown -R 0.0  /tmp/
    c)  # chown -R 1001.50 /home/dsl/
    d)  # chown 1001.50 /tmp/mydsl.menu/esfirefox20011

6) i create the user.tar.gz with

  # tar -C / -T /tmp/list -czvf /opt/esfirefox20011/user.tar.gz

 (its done a user.tar.gz of 50 kb aprox the competence of repository have 6000...)
Yes, this is correct.
Quote
7)  i make the uci in /opt (emelfm) with

# mkisofs -R -hide-rr esfirefox20011 | create_compressed_fs - 65536 > /tmp/esfirefox20011.uci (and the uci its done after several lines of iso...)
Yes, this is correct.
Quote
8) i copy the uci in sda1 and rename the original /opt/esfirefox20011 by /opt/aesfirefox20011(to after test the uci)  and reinice the pc.
Yes, this is OK.
Quote
9) i load with mydsl app in local file ...and the uci its loaded in opt/esfirefox20011 but no in menu mydsl .. if i clik in emlf of write in run box, its work fine...
Everything is already correct.
I don't know why it doesn't work.
Does anyone have any ideas?
Thanks!

My understanding of this is that if I want to have to have an extension that works in dsl-3.x and 4.x in terms of icons and menu entries, I need the following files:

/home/dsl/.xtdesktop/myapp.lnk
/home/dsl/.xtdesktop/myapp.png [48x48]
/home/dsl/.xtdesk/myapp.png [32x32]
/tmp/mydsl.menu/myapp

If I do this and include the files above in user.tar.gz, I get the icon and menu item in dsl-3.x but only the menu item in dsl-4.x

I guess I missed something, but what?

??

I thought Robert said all we needed to do for dsl4+ compatability was add a 32x32 xpm icon to /tmp/mydsl.icons/someicon.xpm ?

Thsi is in addition to the ~/.xtdesktop png and link file, and /tmp/mydsl.menu/myapp

At least, that's what I did for the peazip ucis.  So they work in dsl4+?

/tmp/mydsl.icons/ext_name.xpm should be the DSL 4.x 32x32 xpm?
Thanks - It must have been the typo in the original quote (.xtdesk instead of .xtdesktop) and not reading to the end of the line that threw me off. Using the following, now works in both dsl-3.x and dsl-4.x:

/home/dsl/.xtdesktop/myapp.lnk
/home/dsl/.xtdesktop/myapp.png [48x48]
/tmp/mydsl.menu/myapp
/tmp/mydsl.icons/myapp.xpm [32x32]

Next Page...
original here.