ke4nt1
Group: Members
Posts: 2329
Joined: Oct. 2003 |
|
Posted: May 29 2004,14:54 |
|
adraker
The line in the above post.... tar xzvf xgammon.dsl Both ungzips and untars the .dsl file...
This post only refers to .dsl files... not .deb files.. ".dsl" files ARE ".tar.gz" files , simply renamed.
When installing a .deb , perhaps thru apt-get. You can "dpkg -L whatever.deb" to get a list of files the .deb installed on your system. A step further ,"dpkg -L whatever.deb > whatever.txt" will make a text file for you to adjust and edit to build your .dsl
Edit out all of the doc, man, lines in the file, along with their paths... for example
/usr /usr/bin /usr/bin/anty.exe /usr /usr/share /usr/share/doc /usr/share/doc/anty.doc
the only line you would leave in this example is. "/usr/bin/anty.exe"
Edit this file, only leaving in the necessary items.
Then, add these 3 lines to your txt file.. Of course, you have to had already made them earlier!...
Add your /home/damnsmall/.xtdesktop/whatever.lnk Add your /home/damnsmall/.xtdesktop/whatever.png Add your /tmp/mydsl.menu/whatever ( remember to closely follow the earlier post on this item )
Before building, I will check to see if there is any other items to add , like other skins, for programs, or other backgrounds, for themes, and so on...
Double-check that your tmp file is rwxrwxrwx ! run "chmod 777 tmp" from the directory your tmp is in.
Once you have the "whatever.txt" edited to your liking, then "cat whatever.txt | xargs tar -cvf - | gzip > whatever.dsl" Then you' ll have a .dsl file to test... you can actually end the "cat" line in whatever.dsl, but for this example it demonstrates.
For the mplayer, the /etc/skel did the same to me, I simply copied those files in it over to the .mplayer directory, and deleted the /etc/skel and files in it. Still works, no problem. The /etc/skel is usually a template for creating new users...
And you seeing the resulting .dsl file much smaller than the .deb file is correct! That's the idea, to get it as small as possible..
Thanks to all who have helped make these posts possible.. and Thanks for the many replies, either posted or mailed...
73 ke4nt
|