Tiny Core Linux
Tiny Core Extensions => TCE News => Topic started by: coreplayer2 on October 11, 2013, 05:24:09 PM
-
(https://db.tt/Ipwc31Wr)
Adding to the screenshot function, here is an extension which saves snapshots (screenshots) to a single directory, primarily this directory is created on an attached USB drive. In the absence of a USB thumb drive this directory will be created in the users home directory.
The primary function of "snap2usb" is to save desktop snapshots directly to USB drives (usb_device/snapshots/) directory. Maintaining an organized structure and persistence over reboots.
This tool comes in handy when tc is booted from a USB thumb drive, or when no home persistence is provided. Or simply used to organize snapshots into a single directory.
(https://db.tt/N38l88s8)
current status: extension submitted
script attached
-
(https://db.tt/Ipwc31Wr)
Adding to the screenshot function, here is an extension which saves snapshots (screenshots) to a single directory, primarily this directory is created on an attached USB drive. In the absence of a USB thumb drive this directory will be created in the users home directory.
The primary function of "snap2usb" is to save desktop snapshots directly to USB drives (usb_device/snapshots/) directory. Maintaining an organized structure and persistence over reboots.
This tool comes in handy when tc is booted from a USB thumb drive, or when no home persistence is provided. Or simply used to organize snapshots into a single directory.
(https://db.tt/N38l88s8)
current status: extension submitted
script attached
hi,
Please list deps?
eltone
-
As per the apps gui, there are no deps.
You can double check using: $ ldd /usr/local/bin/snap2usb
-
My guess would be imlib2-bin.
-
Maybe there should be a dep file..? obviously imlib2-bin is required, however imlib2-bin is a dep of Xprogs which I believe would be loaded by default with any gui desktop
-
whilst that's true, it's probably better to have imlib2-bin as a dep just in case - dep added to x86/x86_64 repo
-
Thank you
-
hi,
'imlib2-bin.tcz' & 'xorg-7.7-bin.tcz' has been installed, to NO avail!
The camera icon might make a subtle gesture, is all.
Please patch.
eltone
-
h'mmmm..
Well I just downloaded the latest tinycore-current.iso and booted to it.
I set the tce directory and loaded snap2usb extension
I selected the snap2usb icon which launched the script, a snapshot was saved to the attached USB drive
this is a snapshot of that snapshot
(https://db.tt/CpipYsUV)
Since the extension performs as expected without dep's of it's own, this suggests that your system is missing a fundamental required component, agree?
I would start by comparing your loaded extensions with those of tinycore-current.iso
-
eltone, try comparing installed/loaded extensions with this default list shown in the attached snapshot.
Notice the list of loaded extensions on the far left, these are the default extensions loaded using tinycore-current.iso. the list ontop (next stats page to the right) shows the list after snap2usb is installed from the repo and loaded (this time the dep's file was also downloaded).
(https://db.tt/9XglNl4d)
-
eltone, try comparing installed/loaded extensions with this default list shown in the attached snapshot.
Notice the list of loaded extensions on the far left, these are the default extensions loaded using tinycore-current.iso. the list ontop (next stats page to the right) shows the list after snap2usb is installed from the repo and loaded (this time the dep's file was also downloaded).
hi,
tinycore-current.iso loaded extensions == TCP 5.1 loaded extensions
Problem now points to the LiveUSB sdb1 ext4 and sdb2 f32.
Q: What is the media arrangement of a functional snap2usb?
eltone
-
Ok so the extension does in fact load, cool.
I thought it was reasonable to assume saving a screenshot to a USB would involve only one attached USB stick, either the USB stick tinycore is booted from (which was the original intent) or a USB stick attached for the purpose of transferring screenshots to another PC.
There is a media hierarchy, however this is not a consideration when multiple USB sticks are attached.
Until multiple USB sticks are supported I'll amend the info file to show this limitation
I suggest removing all except one USB stick in the meantime.
-
I suggest removing all except one USB stick in the meantime.
hi,
One USB stick is all that is used, Verbatim Store'n'Go 16GB, which has three partitions:
1) ext4_TCP 5.1
2) fat32_data
3) linux_swap
As the system booted up this AM, read errors were noticed, so will run diagnostics:
e2fsck -f -p -c -v /dev/sdb1
eltone
-
Having a swap partition on a usb stick is probably not recommended
-
Having a swap partition on a usb stick is probably not recommended
hi,
Q: What is recommended for replacement of the 256MB linux-swap USB stick partition? There is a 'swap' cheatcode, but I failed to get it functional, thus the stick swap.
eltone
-
Swap partitions should be on real hard drives.
Otherwise, use the default zswap.
-
When I look back at all the times I couldn't get something to behave, I think that 99% of those times resulted from not doing it right, was almost never a bug. just takes a little rethinking..
If you can't get swap disabled try noswap boot code
eg:
INITRD /boot/core.gz
append loglevel=3 noswap waitusb=5:LABEL=xxxxxx
-
http://forum.tinycorelinux.net/index.php/topic,15113.msg86858.html#msg86858