DebianDog Utilities

Miscellaneous tools
Message
Author
User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

DebianDog Utilities

#1 Post by saintless »

This thread will give more information in several posts about special DebianDog utilities that can not be found in debian repository and first setup programs.
I will point links to each utility post here in DebianDog thread:
http://murga-linux.com/puppy/viewtopic. ... 573#771573

DebianDog HowTo thread:
http://murga-linux.com/puppy/viewtopic.php?t=93496

Still in progress but open for discussion and comments for what is added to the moment.

=======================================
Last edited by saintless on Sat 24 Jun 2017, 11:55, edited 9 times in total.

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#2 Post by saintless »

DebianDog-Frugal-Installer:
DebianDog-Full-Installer:
From Terry and Fred.

==============================

New version from Fred uploaded with option to use syslinux or grub4dos.

Screenshots for every step (using syslinux installer):

Pick the usb drive from the list and run Gparted from the button if you like to format it:
Image

Format the drive:
Image

Chose iso or folder install option (folder /live from hard drive frugal install in this example):
Image
Image

Choose syslinux or grub4dos install (with grub4dos the last two windows look different):
Image
Image
Image

============================================
Older debdog-install version:

Source code download:
http://smokey01.com/saintless/source-co ... nstall.zip

Image

DebianDog installer is in start menu System category. It will give you option to install DebianDog on usb or hdd partition with grub4dos automatically generating menu entry by UUID.
It is recommended to use USB drive till you feel comfortable with it.
If you already have grub4dos menu.lst it will add the menu entries at the end of the existing menu.lst

Note it is still testing program and does not support dual boot if there is no already grub4dos installed on the same partition!

Chose the usb drive from the list and run Gparted from the button to format the drive. Use vfat or ext2,3,4 file system. For ext4 disable journal is checked by default.
After formatting the drive close Gparted window and choose to install DebianDog from iso image or from DebianDog folder (/live folder) if you already have frugal install.
Then click on Install button.
After the extract/copy process finish a confirmation window for installing grub4dos on mbr will appear. If you confirm grub4dos will be installed creating mbr backup first and a message how to restore previous mbr will appear.

=======================================
Last edited by saintless on Wed 30 Jul 2014, 13:34, edited 11 times in total.

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#3 Post by saintless »

RemasterDog - DebianDog full system remaster GUI from Fred:

Source code download:
http://smokey01.com/saintless/source-co ... terdog.zip

Image

RemasterDog will make full remaster of your system with all your new installed packages and create new 01-filesystem.squashfs module.
Note any loaded separate SFS module also will be included so check this before running RemasterDog.

You need to have ext formatted partition. vfat does not support symlinks and will give errors.

RemasterDog will do all system cleaning automatically and will give you a chance to edit manually the working folder to remove some files (like Firefox configuration and cache files for example) or to add some extra files.
It will clean all your custom network and hardware settings and you will be able to use it on any other hardware without problems.
It will also create zero size files inside /usr/share/doc, /usr/share/man, /usr/share/info. If you think you need this man, doc and info files just make a backup copy from your running system. Just as example man, doc and info files removed from DebianDog are uploaded on the site here:
http://kazzascorner.com.au/saintless/De ... o.squashfs
The size is 29 Mb compressed data added to DebianDog iso size if you leave them inside the system module. So it is your choice to add them or not.
Be sure you have all programs closed and RemasterDog is the only program you started till the system copy process finish.
Starting RemasterDog from the menu will open also Terminal window for checking the messages if something goes wrong.
Chose the ext partition, name of working directory and name of the new module. It is recommended to use 01-filesystem.squashfs for new reamaster module since all Copy to RAM DebianDog codes will look for this module name.
After the remaster process finish you will have confirmation window to delete the working directory or not.
Then just replace old /live/01.filesystem.squashfs with your new build 01-filesystem.squashfs from the top of the ext partition.

Important notes only for DebianDog-Jwm-Icewm versions uploaded 2014 (skip reading this if you are using DebianDog-Jwm-Icewm.iso uploaded February 2015 - it has only one main module now):
If you use live-boot-v2, live-boot-v3 ignore next information.
if you are using porteus-boot the changes from /live/base/021-apps-porteus.squashfs will be added in the new remastered system module. in this case you will not need /live/base/021-apps-porteus.squashfs anymore. Just remove it.

=======================================
Last edited by saintless on Sun 06 Mar 2016, 14:33, edited 12 times in total.

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#4 Post by saintless »

RemasterCow from Fred new version uploaded.

Included in DebianDog-Wheezy.
Note DebianDog-Squeeze has the old version but moded to rename /var/lib/dpkg/info, status and available by adding new at the end - (safest choice getting the same no-dpkg registration results option available in new RemasterCow).

DebianDog from February 2015 has moded RemasterCow (all old functions unchanged) with added whiteout files support. Not needed for general use. Read careful the information button about whiteout support if you decide to use it.

Image

Image


Source code download;
http://smokey01.com/saintless/source-co ... ow-new.zip

Added option not to register the included packages (checked by default for safe choice) and button opening window with information what this means.
Chose the partition for working folder, name of the working folder and module name:
Image

Click on the button for dpkg registration information to read more about this option.
Image

Image

Image

Confirm to delete the working folder or not.
Image

==============================================
Edit: Since October 2014 there is included script /opt/bin/cowsave from Fred and /live/cow (+ /live/image) links are ato-created on boot. RemasterCow now works with every boot method.

==============================================

RemasterCow-old: from Fred. Remaster only changes from save file or from last session (if no save file is in use) in separate sfs module:

Source code download:
http://smokey01.com/saintless/source-co ... tercow.zip

Image

RemasterCow will make separate squashfs (sfs) module with changes from your last session (if you have no save file/folder/partition in use) or from your save file/folder/partition if you use one.

You need to have ext formatted partition. vfat does not support symlinks and will not work.

RemasterCow will do most system cleaning automatically and will give you a chance to edit manually the working folder to remove some files (like Firefox configuration and cache files for example) or to add some extra files.

RemasterCow will also create zero size files inside /usr/share/doc, /usr/share/man, /usr/share/info. If you think you need this man, doc and info files just make a backup copy from your running system. Just as example man, doc and info files removed from DebianDog are uploaded on the site here:
http://kazzascorner.com.au/saintless/De ... o.squashfs
The size is 29 Mb compressed data added to DebianDog iso size if you leave them inside the system module. So it is your choice to add them or not.
Be sure you have all programs closed and RemasterCow is the only program you started till the system copy process finish.
Starting RemasterCow from the menu will open also Terminal window for checking the messages if something goes wrong.
Chose the ext partition, name of working directory and name of the new module.

After the remaster process finish you will have confirmation window to delete the working directory or not.

=======================================
Last edited by saintless on Sun 06 Mar 2016, 14:35, edited 18 times in total.

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#5 Post by saintless »

Make Save File: from Terry:
Added encrypted save file optional check box.

Download source code:
http://smokey01.com/saintless/source-co ... ems.tar.gz

Live-boot-2x and live-boot-3x look:
Image

Porteus-boot look:
Image

If you check encrypted save box:
Image

Choose the path to create save file and type the name:
live-rw - for live-boot-2x
You can use empty space for label or live-rw label. live-rw label is needed only to make it work on NTFS partition.
persistence - for live-boot-3x
You have to mount the new created persistence save file and make persistence.conf file inside with content for full or only for some folders persistence.
Download 1Gb archive with persistence save file ready for use with persistence.conf for full persistence here:
http://smokey01.com/saintless/1Gb-persi ... ive-rw.zip
changes.dat - for porteus-boot. leave empty label.

Choose size and file system type and click OK button to create it.

=======================================

For DebianDog-Squeeze (old stable Debian):
This is Make Save File (no encrypted option):
Image

For encrypted save file type in terminal mk-save-crypt

Image

Image

Image

Image

Image
Last edited by saintless on Mon 21 Jul 2014, 19:39, edited 9 times in total.

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#6 Post by saintless »

Set Default Apps: from Terry:

It will not work for Puppy linux without modifications.

Source code download:
http://smokey01.com/saintless/source-co ... ps.gtk.zip

Image

Changing the links for default applications in /usr/local/bin
Type new one to create or edit the existing one by typing the name and choosing the path to the new application (usr/bin/dillo in the example on the picture).
Click Applay button to confirm the changes.

Yo will notice some default links point to other default links in the same folder. This is because we had to make DebianDog compatible with the default names in Puppy linux. This happened after many changes were made to the system and changing all default names was going to break something from the current setup in DebianDog for user and root account. At least it was very possible to miss some change otherwise.
We decided to make new links pointing to the existing links with puppy default names to fix this problem.

=======================================
Last edited by saintless on Sat 26 Apr 2014, 06:10, edited 6 times in total.

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#7 Post by saintless »

SFS Loader-new: GUI from Fred.
Image

SFS loader-old: GUI from Sergey.
Image

All SFS load/unload GUI use script loadmodule from AlphaOS written by simargl included in this source archive.

Source code download:
http://smokey01.com/saintless/source-co ... loader.zip

GUI is clear and user friendly. You can also use activate/deactivate (load/unload) sfs module right click menu from all file managers (xfe, rox, thunar).

=====================================


ScreenShot capture - scrotdlg from Sergey.

Source code download:
http://smokey01.com/saintless/source-co ... dlg.tar.gz

All options available: choice for area, window, all-desktop-screen and time delay screenshot.

Image
Last edited by saintless on Sun 27 Apr 2014, 14:11, edited 6 times in total.

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#8 Post by saintless »

Wallpapers change: set wallpaper for each desktop from Terry:

It will not work for Puppy linux without modifications.

Download source code:
http://www.smokey01.com/saintless/sourc ... DebDog.zip

Image

Wallpapers GUI for setting wallpaper for each desktop.
If you need to chose diffrent scale mode for wallpaper first remove the walppaper, choose the scale mode and load again the wallpaper picture.
Run on boot check box will create/delete simlink of executable file in $HOME/Startup to autosart or not Wallpapers GUI on boot.
Stop/Start Wallpapers button will deactivate/activate changing the wallpapers for different desktops.

=======================================
Last edited by saintless on Sun 06 Mar 2016, 14:37, edited 5 times in total.

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#9 Post by saintless »

Xrecord: - GUI audio recorder from William:

Download source code:
http://smokey01.com/saintless/source-co ... ent.tar.gz

Image

Some posts from William. I will add proper information about Xhippo and Xrecord here soon as I find better instruction posts in the develoipment thread:
The attached xhippo_opt_apps.tar.gz archive contains xhippo, and xhplay (the backend script for playing media) and xhrecord (the backend script for recording audio) and xrecord (the frontend recorder gtkdialog gui - which is provided with a desktop file for menu and/or desktop inclusion. The first time xrecord is run it copies some config files from /etc/xrecord to $HOME/.xrecord and similary the first time xhrecord is run it copies some config files from /etc/xhrecord to $HOME/.xhrecord. It is important to keep the same basic file structure as supplied (though you can use symlinks) because xrecord communicates with xhrecord via a config file it creates in xhrecord's config file directory. The xrecord gtkdialog gui uses gettext and has a user help button and another button that pops up alsamixer and a simple text VU meter for adjusting volume settings before recording (as in Puppy app Precord from which much of the code is taken). Best way to test it is just to run xrecord gui and make some test recordings. Then drag and drop them into xhippo and they should play. You can also use xhrecord and xhplay (which plays pretty much anything) on the command line. Just enter xhrecord --help or xhplay --help for some details. Also, you will find a folder named RadioStreams in /root/.xhippo/playlists. Just drag and drop that onto xhippo window and you can play the provided streaming radio stations in there (once loaded you can also create a single playlist of all of them by right-clicking on xhippo window and choosing "Save playlist"). Let me know if you run into any problems. I've given it all a fair amount of testing, but there are so many multimedia formats and so many recorder coding parameters that it is difficult to test everything (though I've tried...) I'll be making a dotpet of this for Puppy later. I'm off to bed now... EDIT: It is important to actually copy the folders /opt/apps/etc/xhrecord and /opt/apps/etc/xrecord to /etc/xhrecord and /etc/xrecord, symlinks won't do for that. These are the config dirs that get automatically copied to $HOME at first run or if the ones in $HOME get erased. If you close the xrecord window with the window decoration the required xrecord configs get rebuild automatically on next run assuming the default config dirs are correctly stored in /etc Note that xrecord gtkdialog is simply a helper app for setting up the record parameters (encoder, bitrate etc) as soon as you press record button, xrecord terminates (thus using no resources) leaving xhippo to control xhrecord (which does the actual recording via the underlying encoder utilities). xrecord needs bash so requires your sh > bash trick or similar or gtkdialog won't see the exported bash functions.
Last edited by saintless on Fri 25 Apr 2014, 14:40, edited 2 times in total.

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#10 Post by saintless »

Arcdrop: and Picdrop: from Terry:

Both should work on Puppy linux.

Download source code:
http://smokey01.com/saintless/source-code/picdrop.zip
http://smokey01.com/saintless/source-code/arcdrop.zip

ImageImage

Drag and drop picture in picdrop and choose the resize paramethers and format. The new picture will appear in the same folder.

Drag and drop files or folders in arcdrop and choose the compression format. Drag and drop archive and it will be auto extracted in the same folder.

=======================================
Last edited by saintless on Sat 26 Apr 2014, 06:12, edited 4 times in total.

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#11 Post by saintless »

Apt2Sfs-new: from Fred.

DebianDog from February 2015 has moded apt2sfs. No need to reboot without save file or with empty save file to use it now. It takes the information about installed programs from the main 01-filesystem.squashfs module and ignores all changes included in save file.

Image

Source code download:
http://smokey01.com/saintless/source-co ... s-new2.zip

New version of apt2sfs. It does actually install, configure and uninstall again the packages, This gives greater chance the new module will work out of the box.
Screenshots with new apt2sfs process:
Image
Image
Image
Image
Image
Image
Image

============================================

Apt2Sfs-old: from Fred.

Source code download:
http://smokey01.com/saintless/source-co ... sfs.tar.gz

Image

As the information on the screen shot says you need to have ext formated partition to use apt2sfs.
Apt2sfs will download the packages you want with all the dependencies without installing them. Then it create SFS module from them.
Depending on the type of the application it may not work with some applications but in general it will work.
Apt2Sfs auto runs

Code: Select all

apt-get clean
to make sure no packages left in /var/cache/apt/archives and apt2sfs will include only the packages you need.

=======================================
Last edited by saintless on Sun 01 Feb 2015, 13:59, edited 9 times in total.

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#12 Post by saintless »

SFS-Portable: from Fred.

DebianDog from February 2015 has moded portablesfs with option to choose chroot mode (works also from full install):

Image

Image

Image


Source code download:
http://smokey01.com/saintless/source-co ... blesfs.zip

Image

ImageImage

SFS-portable will create executable script in the same folder where the SFS file is. After that you will be able to load and auto-start the application inside SFS module with single click on the executable script. Single click on the executable will open abiword in the example on the picture.

=======================================
Last edited by saintless on Sun 01 Feb 2015, 14:03, edited 7 times in total.

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#13 Post by saintless »

Setup Keyboard layout:

Run it from Settings menu to add different keyboard layout. Just follow the instructions confirming the choices for your language. Please, read the messages before confirming. Most choices are proper auto-selected. The only thing you need to select is the layout for your language and phonetic, standard or other option for it.
You need to reboot the PC after that.

Image
Last edited by saintless on Fri 25 Apr 2014, 07:15, edited 3 times in total.

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#14 Post by saintless »

Setup Time Zone:

Run it from Settings menu to choose the correct time zone. It will auto synchronize date and time on your system.

Image
Last edited by saintless on Fri 25 Apr 2014, 07:09, edited 1 time in total.

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#15 Post by saintless »

Synaptic: GUI package manager.

Image

Synaptic GUI package manager. It will give you information for every package available in debian repository.
All repositories you will need are activated in /etc/apt/sources.list
After first boot only you need to type in terminal:

Code: Select all

apt-get update
Then you can use Synaptic or apt-get to install programs. All their dependencies will be installed automatically.
Link to Ubuntu HowTo about Synaptic with pictures:
https://help.ubuntu.com/community/SynapticHowto

====================================
Last edited by saintless on Sat 26 Apr 2014, 06:06, edited 3 times in total.

labbe5
Posts: 2159
Joined: Wed 13 Nov 2013, 14:26
Location: Canada

DebianDog utilities

#16 Post by labbe5 »

Hi,

For me and others not familiar with the inner workings of an operating system, those utilities will be handy to deal with changes done in the system.

Many Thanks.

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#17 Post by saintless »

Desktop file editor::

Edit: the original desktop-editor needs fixing because of mixed categories. Replaced with version from porteus and puppy (see the screenshots):
Image
Image

================================

Old one (needs fixing):

Download source code:
http://smokey01.com/saintless/source-co ... editor.zip

Image

This is GUI editor for converted /usr/share/menu files from Menu Puppy (mk-jwm.menu and desktop-convert scripts) in /usr/share/applications folder.
Probably you will not need it at all since the conversion works fine.
Useful program if you need to change menu category for example instead using text editor.

==========================================
Last edited by saintless on Mon 29 Sep 2014, 19:45, edited 3 times in total.

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#18 Post by sunburnt »

Removed...
Last edited by sunburnt on Fri 25 Apr 2014, 15:10, edited 9 times in total.

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#19 Post by saintless »

FtpMount GUI from Fred:

Image

GUI program for curlftpfs.
Use it to mount ftp in a folder on your hard drive.

========================================
Last edited by saintless on Sat 26 Apr 2014, 06:36, edited 3 times in total.

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#20 Post by saintless »

Pureftpd-GUI from Fred:

Image

Information from Fred's post:
Basically it's taken from here by GuestToo:
http://www.murga-linux.com/puppy/viewtopic.php?t=12859
But I added some options using yad for:
- Choice of directory to share
- Give a custom ftp username and password.
- Choice for anonymous support or not.
When choosing anonymous still the user may get a prompt for password.
Leaving it empty and click OK should work then.
When using the default: (username: ftpuser password: dog)
Test it then in address bar of your browser:

Code: Select all

ftp://ftpuser:dog@127.0.0.1/
Last edited by saintless on Sat 26 Apr 2014, 06:41, edited 2 times in total.

Post Reply