Frugal Install w/ .deb packages problemsForum: HD Install Topic: Frugal Install w/ .deb packages problems started by: sativen Posted by sativen on July 08 2005,17:17
I am trying to make a digital picture frame, and use DSL, and feh to do it. I have played around with xv and I think that feh is a better slideshow viewer (a lot of the same pics looked pixel-ated with xv).I can get DSL loaded with a frugal install, and can use apt-get to load feh no problems after I boot into my frugal install. It runs, it's smooth, it's beautiful! What I can't make happen is saving feh so when I boot back up my frugal install it is still installed. I have modified my filetool.lst every which way I can think of and can't get feh to stay, to include backing up the entire ramdisk directory (which incidentally hung the system on reboot, but I fixed that . I have read the boards, and the documentation, and googled, and I can't get it to work. So I'm finally here asking for help. The current build I'm using is 1.1 I haven't tried any of this with a newer or older build. Thanks in advance. Posted by mikshaw on July 09 2005,03:12
A deb package is not likely to be installed into /ramdisk, so backing that up won't help. Deb (and just about any other package) installs into /usr, which requires the system to be writeable beyond its default state.One thing you can do is save the deb package and dsl-dpkg.dsl somewhere on a local drive, set the dpkg.dsl to load automatically, and put this in /opt/bootlocal.sh: mount <partition containing the deb file> dpkg -i /path/to/feh.deb Another option is to create a mydsl extension out of the deb package. Posted by cbagger01 on July 09 2005,11:13
Yes, try creating your own myDSL extension by using the deb2dsl script.Search the forums for keyword deb2dsl and search ALL FORUMS and FROM THE BEGINNING or NEWER Posted by sativen on July 09 2005,16:34
Well, I was able to get it.I was looking for something else last night and found deb2dsl. So, I converted feh (and libraries required) and unclutter to dsl, put the newly made .dsl files in the partition specified during my frugal install. I mounted my usb drive by adding the following line to my bootlocal.sh file:
I then modified my .xinitrc file to read /home/dsl/enhanceDSL like newOlduser was talking about < here >. I added the following lines to my newly created enhanceDSL file:
For some reason when I mounted my usb drive in my bootlocal.sh file it wasn't giving me the permissions I needed, so that's why I am executing the feh command as root in my enhanceDSL file. I tried to modify the .xinitrc file to execute the commands that I am passing in the enhanceDSL file, but maybe I'm not getting the correct syntax for them to work. I am pulling the pictures off my usb thumb drive, and I assume nothing is getting written back to the thumbdrive, because I don't want to kill it quickly by writing too often to it, since it's a flash drive. Do you guys have any suggestions for making this more efficient? Shouldn't I be able to modify the bootlocal.sh file to run feh and unclutter from there? If I could do that I could get rid of the enhanceDSL steps. Thanks for the help. I've learned a lot about DSL through doing this. One of these days I will kick the Windows habit and switch to linux for good. Posted by sativen on July 09 2005,17:39
Alright,I played around a little more, and I think I was trying to put the commands inside the if/then loop inside the .xinitrc file I added the unclutter and feh commands at the top of the .xinitrc file instead of at the end. |