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
 

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

reply to topic new topic new poll
Topic: Frugal Install w/ .deb packages problems< Next Oldest | Next Newest >
sativen Offline





Group: Members
Posts: 3
Joined: July 2005
Posted: July 08 2005,17:17 QUOTE

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.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: July 09 2005,03:12 QUOTE

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.


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





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: July 09 2005,11:13 QUOTE

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
Back to top
Profile PM 
sativen Offline





Group: Members
Posts: 3
Joined: July 2005
Posted: July 09 2005,16:34 QUOTE

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:

Code Sample
mount /dev/sda1 /mnt/sda1 &


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:

Code Sample
unless ($vars =~/unclutter/) {
system("unclutter &>/dev/null &")
}
unless ($vars =~/feh/) {
system("sudo feh -zZFr -D 120 /mnt/sda1/pics/ &>/dev/null &")
}


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.
Back to top
Profile PM 
sativen Offline





Group: Members
Posts: 3
Joined: July 2005
Posted: July 09 2005,17:39 QUOTE

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.
Back to top
Profile PM 
4 replies since July 08 2005,17:17 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: Frugal Install w/ .deb packages problems

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