The time now is Wed 22 May 2013, 20:05
All times are UTC - 4 |
| Author |
Message |
postfs1

Joined: 27 Mar 2010 Posts: 831
|
Posted: Thu 01 Dec 2011, 23:33 Post subject:
Scripts for first use of the "Quirky Linux - 1.40" OS Subject description: Operating System: "Quirky Linux - 1.40" |
|
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Options of booting:
variant: puppy pfix=nox,ram
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
variant: puppy acpi=force use_timer_override pfix=nox,ram
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
nothing, but the word "nothing" is not an option.
When the "xorgwizard" program has appeared after other programs, the "Xorg" button is my choice over there, and then "Probe", and then "OK", and then "EXIT".
So that, i don't have a configuration file for X-system as in those cases where i typed the "pfix=nox" option.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
nothing, but the word "nothing" is not an option.
When the "xorgwizard" program has appeared after other programs, the "Xorg" button is my choice over there, and then the "Best variant for my video card" scheme is my choice, what gives not the best configuration of xorg.conf, but what gives the working "JWM" with which i can use "pmount" program to open CD disk correctly. Then, i go back to CLI mode.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
| Quote: |
1st_script.sh
If there would has been a lot of memory in my computer then the script would has been another.
I tried to use EXT3 filesystem here, but such a variant gave the error message at use of translator from google and at use of some multimedia sites.
| Code: |
#!/bin/bash
#This is the first script for use after booting with the parameter: pfix=nox,ram
#This script is for starting of use of the place, which the SFS file occupies after booting from the CD.
#Information "size=122000k" is from /etc/mtab
umount -l /dev/loop0 ;
umount -l /initrd/mnt/tmpfs ;
umount -l /initrd/pup_rw ;
#
mount tmpfs /initrd/mnt/tmpfs -t tmpfs -o size=122000k ;
cp --preserve=all -r /usr/bin /archive ;
mv /usr/bin /usr/"bin " ;
mkdir /usr/bin ;
mount --bind /initrd/mnt/tmpfs /usr/bin ;
echo "STEP - 1."
cp --preserve=all -r /archive/bin/*?* /usr/bin ;
chmod 0755 /usr/bin ;
rm -r /usr/"bin " ;
rm -r /archive/bin ;
echo "STEP - 2. FINISH."
|
Edit: 2011, dec 1.
|
| Quote: |
2nd_script.sh
The "Smooth-Color.tar.xz" is a file with the icons for the desktop and these icons are represented in a different sizes.
Time zone is "Greenwich".
| Code: |
#!/bin/bash
#
# # #
#
#timezone-set # Tool to set the time zone with use of TUI.
#
#sed -i 's/ exec xwin/ exec sleep 0.5s/' /etc/profile ; # <==== OS is installed onto HDD: automatic launch of Xorg is stopped.
#
#xorgwizard # Tool to set the parameters of work of video card.
#
# # #
#
#
rm /dev/tty6 /dev/tty7 /dev/tty8 /dev/tty9 /dev/tty10 /dev/tty11 /dev/tty12 ;
rm /dev/ttyI1 /dev/ttyS1 ;
#
ln -s /dev/loop10 /dev/tty6 ;
ln -s /dev/loop10 /dev/tty7 ;
ln -s /dev/loop10 /dev/tty8 ;
ln -s /dev/loop10 /dev/tty9 ;
ln -s /dev/loop10 /dev/tty10 ;
ln -s /dev/loop10 /dev/tty11 ;
ln -s /dev/loop10 /dev/tty12 ;
# STEP - 1.
# # #
#
deluser ftp ;
deluser sshd ;
deluser webuser ;
# STEP - 2.
# # #
#
sed -i 's/name="action_mount">1</name="action_mount">0</' /root/.config/rox.sourceforge.net/ROX-Filer/Options ;
sed -i 's/name="action_link">1</name="action_link">0</' /root/.config/rox.sourceforge.net/ROX-Filer/Options ;
sed -i 's/name="display_inherit_options">0</name="display_inherit_options">1</' /root/.config/rox.sourceforge.net/ROX-Filer/Options ;
sed -i 's/name="display_show_hidden">0</name="display_show_hidden">1</' /root/.config/rox.sourceforge.net/ROX-Filer/Options ;
sed -i 's/name="filer_view_type">0</name="filer_view_type">1</' /root/.config/rox.sourceforge.net/ROX-Filer/Options ;
sed -i 's/name="display_icon_size">0</name="display_icon_size">1</' /root/.config/rox.sourceforge.net/ROX-Filer/Options ;
# STEP - 3.
# # #
#
cp -f /root/.jwm/themes/Gradient-blueish-colors /root/.jwm/jwm_colors ;
cp -f /root/.jwm/themes/Gradient-blueish-jwmrc /root/.jwm/jwmrc-theme ;
# STEP - 4.
# # #
#
cd /usr/local/lib/X11/themes/Smooth-Color ;
curl -C - -O file:///mnt/sr0/0-0-/0_Files_and_scripts/_usr_local_lib_X11_themes_Smooth-Color/Smooth-Color.tar.xz ;
sleep 0.5s ;
echo "63da3e1f15c61a80d31c40d022827914 Smooth-Color.tar.xz" > /usr/local/lib/X11/themes/Smooth-Color/md5sum_Smooth-Color.txt ;
if [ ! `ps -eocomm | grep jwm | head -1` ] ; then
echo "`md5sum -c md5sum_Smooth-Color.txt | cat`" ;
else
xmessage "`md5sum -c md5sum_Smooth-Color.txt | cat`" ;
fi ;
tar Jxf Smooth-Color.tar.xz ;
sleep 0.5s ;
rm /usr/local/lib/X11/themes/Smooth-Color/Smooth-Color.tar.xz ;
rm /usr/local/lib/X11/themes/Smooth-Color/md5sum_Smooth-Color.txt ;
#
cd / ;
#
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/archive24.png /usr/local/lib/X11/pixmaps/archive24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/archive48.png /usr/local/lib/X11/pixmaps/archive48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/card24.png /usr/local/lib/X11/pixmaps/card24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/card48.png /usr/local/lib/X11/pixmaps/card48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/card_mntd24.png /usr/local/lib/X11/pixmaps/card_mntd24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/card_mntd48.png /usr/local/lib/X11/pixmaps/card_mntd48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/card_mntd_boot24.png /usr/local/lib/X11/pixmaps/card_mntd_boot24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/card_mntd_boot48.png /usr/local/lib/X11/pixmaps/card_mntd_boot48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/chat24.png /usr/local/lib/X11/pixmaps/chat24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/chat48.png /usr/local/lib/X11/pixmaps/chat48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/clipboard24.png /usr/local/lib/X11/pixmaps/clipboard24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/clipboard48.png /usr/local/lib/X11/pixmaps/clipboard48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/configuration24.png /usr/local/lib/X11/pixmaps/configuration24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/configuration48.png /usr/local/lib/X11/pixmaps/configuration48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/connect24.png /usr/local/lib/X11/pixmaps/connect24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/connect48.png /usr/local/lib/X11/pixmaps/connect48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/console24.png /usr/local/lib/X11/pixmaps/console24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/console48.png /usr/local/lib/X11/pixmaps/console48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/date24.png /usr/local/lib/X11/pixmaps/date24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/date48.png /usr/local/lib/X11/pixmaps/date48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/draw24.png /usr/local/lib/X11/pixmaps/draw24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/draw48.png /usr/local/lib/X11/pixmaps/draw48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/drive24.png /usr/local/lib/X11/pixmaps/drive24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/drive48.png /usr/local/lib/X11/pixmaps/drive48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/drive_mntd24.png /usr/local/lib/X11/pixmaps/drive_mntd24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/drive_mntd48.png /usr/local/lib/X11/pixmaps/drive_mntd48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/drive_mntd_boot24.png /usr/local/lib/X11/pixmaps/drive_mntd_boot24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/drive_mntd_boot48.png /usr/local/lib/X11/pixmaps/drive_mntd_boot48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/drives24.png /usr/local/lib/X11/pixmaps/drives24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/drives48.png /usr/local/lib/X11/pixmaps/drives48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/edit24.png /usr/local/lib/X11/pixmaps/edit24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/edit48.png /usr/local/lib/X11/pixmaps/edit48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/email24.png /usr/local/lib/X11/pixmaps/email24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/email48.png /usr/local/lib/X11/pixmaps/email48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/floppy24.png /usr/local/lib/X11/pixmaps/floppy24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/floppy48.png /usr/local/lib/X11/pixmaps/floppy48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/floppy_mntd24.png /usr/local/lib/X11/pixmaps/floppy_mntd24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/floppy_mntd48.png /usr/local/lib/X11/pixmaps/floppy_mntd48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/floppy_mntd_boot24.png /usr/local/lib/X11/pixmaps/floppy_mntd_boot24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/floppy_mntd_boot48.png /usr/local/lib/X11/pixmaps/floppy_mntd_boot48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/folder24.png /usr/local/lib/X11/pixmaps/folder24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/folder48.png /usr/local/lib/X11/pixmaps/folder48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/games24.png /usr/local/lib/X11/pixmaps/games24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/games48.png /usr/local/lib/X11/pixmaps/games48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/help24.png /usr/local/lib/X11/pixmaps/help24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/help48.png /usr/local/lib/X11/pixmaps/help48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/home24.png /usr/local/lib/X11/pixmaps/home24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/home48.png /usr/local/lib/X11/pixmaps/home48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/lock-screen24.png /usr/local/lib/X11/pixmaps/lock-screen24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/lock-screen48.png /usr/local/lib/X11/pixmaps/lock-screen48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/multimedia24.png /usr/local/lib/X11/pixmaps/multimedia24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/multimedia48.png /usr/local/lib/X11/pixmaps/multimedia48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/optical24.png /usr/local/lib/X11/pixmaps/optical24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/optical48.png /usr/local/lib/X11/pixmaps/optical48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/optical_mntd24.png /usr/local/lib/X11/pixmaps/optical_mntd24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/optical_mntd48.png /usr/local/lib/X11/pixmaps/optical_mntd48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/optical_mntd_boot24.png /usr/local/lib/X11/pixmaps/optical_mntd_boot24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/optical_mntd_boot48.png /usr/local/lib/X11/pixmaps/optical_mntd_boot48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/paint24.png /usr/local/lib/X11/pixmaps/paint24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/paint48.png /usr/local/lib/X11/pixmaps/paint48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/pc24.png /usr/local/lib/X11/pixmaps/pc24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/pc48.png /usr/local/lib/X11/pixmaps/pc48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/pet24.png /usr/local/lib/X11/pixmaps/pet24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/pet48.png /usr/local/lib/X11/pixmaps/pet48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/save24.png /usr/local/lib/X11/pixmaps/save24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/save48.png /usr/local/lib/X11/pixmaps/save48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/shutdown24.png /usr/local/lib/X11/pixmaps/shutdown24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/shutdown48.png /usr/local/lib/X11/pixmaps/shutdown48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/spread24.png /usr/local/lib/X11/pixmaps/spread24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/spread48.png /usr/local/lib/X11/pixmaps/spread48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/trashcan_empty24.png /usr/local/lib/X11/pixmaps/trashcan_empty24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/trashcan_empty48.png /usr/local/lib/X11/pixmaps/trashcan_empty48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/trashcan_full24.png /usr/local/lib/X11/pixmaps/trashcan_full24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/trashcan_full48.png /usr/local/lib/X11/pixmaps/trashcan_full48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/usbdrv24.png /usr/local/lib/X11/pixmaps/usbdrv24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/usbdrv48.png /usr/local/lib/X11/pixmaps/usbdrv48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/usbdrv_mntd24.png /usr/local/lib/X11/pixmaps/usbdrv_mntd24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/usbdrv_mntd48.png /usr/local/lib/X11/pixmaps/usbdrv_mntd48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/usbdrv_mntd_boot24.png /usr/local/lib/X11/pixmaps/usbdrv_mntd_boot24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/usbdrv_mntd_boot48.png /usr/local/lib/X11/pixmaps/usbdrv_mntd_boot48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/utility24.png /usr/local/lib/X11/pixmaps/utility24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/utility48.png /usr/local/lib/X11/pixmaps/utility48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/webedit24.png /usr/local/lib/X11/pixmaps/webedit24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/webedit48.png /usr/local/lib/X11/pixmaps/webedit48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/word24.png /usr/local/lib/X11/pixmaps/word24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/word48.png /usr/local/lib/X11/pixmaps/word48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/www24.png /usr/local/lib/X11/pixmaps/www24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/www48.png /usr/local/lib/X11/pixmaps/www48.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/x24.png /usr/local/lib/X11/pixmaps/x24.png ;
ln -f -s /usr/local/lib/X11/themes/Smooth-Color/x48.png /usr/local/lib/X11/pixmaps/x48.png ;
#
echo "Smooth-Color" > /etc/desktop_icon_theme ;
chmod 0644 /etc/desktop_icon_theme ;
#
if [ ! `ps -eocomm | grep jwm | head -1` ] ; then
echo "-=Smooth-Color=- theme has been installed." ;
else
xmessage "-=Smooth-Color=- theme has been installed." ;
fi ;
# STEP - 5.
# # #
#
if [ -e /usr/local/lib/X11/themes/FlatOrange/ ] ; then
rm -r /usr/local/lib/X11/themes/FlatOrange ;
fi ;
#
if [ -e /usr/local/lib/X11/themes/JQ8flat/ ] ; then
rm -r /usr/local/lib/X11/themes/JQ8flat ;
fi ;
#
if [ -e /usr/local/lib/X11/themes/Silver-Marble/ ] ; then
rm -r /usr/local/lib/X11/themes/Silver-Marble ;
fi ;
#
if [ -e /usr/local/lib/X11/themes/Stardust/ ] ; then
rm -r /usr/local/lib/X11/themes/Stardust ;
fi ;
# STEP - 6.
# # #
#
rm /usr/share/backgrounds/DarkGrey.jpg ;
rm /usr/share/backgrounds/lightblue.jpg ;
rm /usr/share/backgrounds/puppy43.jpg ;
rm /usr/share/backgrounds/puppywallpaper1024x768.jpg ;
rm /usr/share/backgrounds/squiggles.jpg ;
rm /usr/share/backgrounds/sunset_jesse.jpg ;
rm /usr/share/backgrounds/wary_stu90.jpg ;
#
cp /mnt/sr0/0-0-/0_Files_and_scripts/_usr_share_backgrounds/Small_Size/*.png /usr/share/backgrounds/ ;
#
# STEP - 7.
# # #
#
rm -r /usr/share/examples/* ;
rm -r /usr/share/themes/Citrus-cut ;
rm -r /usr/share/themes/Emacs ;
rm -r /usr/share/themes/Gradient-brown ;
rm -r /usr/share/themes/Raleigh ;
# STEP - 8.
# # #
#
rm /root/.jwm/themes/Black-vg-colors ;
rm /root/.jwm/themes/Black-vg-jwmrc ;
rm /root/.jwm/themes/Black-vg-tray.png ;
rm /root/.jwm/themes/Black-vg-window.png ;
rm /root/.jwm/themes/Citrus-cut-colors ;
rm /root/.jwm/themes/Citrus-cut-jwmrc ;
rm /root/.jwm/themes/Citrus-cut-tray.png ;
rm /root/.jwm/themes/Citrus-cut-window.png ;
rm /root/.jwm/themes/Flat-grey-colors ;
rm /root/.jwm/themes/Flat-grey-jwmrc ;
rm /root/.jwm/themes/Flat-grey-tray.png ;
rm /root/.jwm/themes/Flat-grey-window.png ;
rm /root/.jwm/themes/Gradient-brown-colors ;
rm /root/.jwm/themes/Gradient-brown-jwmrc ;
rm /root/.jwm/themes/Gradient-brown-tray.png ;
rm /root/.jwm/themes/Gradient-brown-window.png ;
rm /root/.jwm/themes/Gradient-grey-colors ;
rm /root/.jwm/themes/Gradient-grey-jwmrc ;
rm /root/.jwm/themes/Gradient-grey-tray.png ;
rm /root/.jwm/themes/Gradient-grey-window.png ;
rm /root/.jwm/themes/Original-colors ;
rm /root/.jwm/themes/Original-jwmrc ;
rm /root/.jwm/themes/Original-tray.png ;
rm /root/.jwm/themes/Original-window.png ;
# STEP - 9.
# # #
#
ln -sf /usr/share/zoneinfo/Etc/Greenwich /etc/localtime ;
ln -s /usr/share/zoneinfo /usr/lib/zoneinfo ;
# STEP - 10.
# # #
#
mkdir -p /room/scripts/FewScripts ;
cp /mnt/sr0/0-0-/0_Files_and_scripts/scripts/FewScripts/X.Org-NV.sh /room/scripts/FewScripts ;
cp /mnt/sr0/0-0-/0_Files_and_scripts/scripts/FewScripts/XVesa.sh /room/scripts/FewScripts ;
cp /mnt/sr0/0-0-/0_Files_and_scripts/scripts/Inst-ALSAuse_UMountDVD_Eth0--v3.sh /room/scripts/FewScripts ;
cp /mnt/sr0/0-0-/0_Files_and_scripts/scripts/Replace_ICONS_for_-first_boot-_variant.sh /room/scripts/FewScripts ;
cp /mnt/sr0/0-0-/0_Files_and_scripts/scripts/Inst_Icons--Geany_Pmount_ROX_Urxvt--ManyDisks.sh /room/scripts/FewScripts ;
cp /mnt/sr0/0-0-/0_Files_and_scripts/scripts/Inst_Icons--Geany_Pmount_ROX_Urxvt--SmallAmountOfDisks.sh /room/scripts/FewScripts ;
#
chmod -R 0500 /room ;
# STEP - 11.
# # #
#
cp /mnt/sr0/0-0-/0_Files_and_scripts/_usr_share_icons/* /usr/share/icons/hicolor/48x48/apps ;
cp /mnt/sr0/0-0-/0_Files_and_scripts/scripts/FewScripts/Ceth /usr/local/bin ;
# STEP - 12.
# # #
#
echo '<?xml version="1.0"?>' > /root/Choices/ROX-Filer/PuppyPin ;
echo '<pinboard>' >> /root/Choices/ROX-Filer/PuppyPin ;
#echo ' <backdrop style="Stretched">/usr/share/backgrounds/color.jpg</backdrop>' >> /root/Choices/ROX-Filer/PuppyPin ;
#echo ' <backdrop style="Centred">/usr/share/backgrounds/color.jpg</backdrop>' >> /root/Choices/ROX-Filer/PuppyPin ;
#echo ' <backdrop style="Tiled">/usr/share/backgrounds/color.jpg</backdrop>' >> /root/Choices/ROX-Filer/PuppyPin ;
echo ' <backdrop style="Stretched">/usr/share/backgrounds/default.jpg</backdrop>' >> /root/Choices/ROX-Filer/PuppyPin ;
echo '</pinboard>' >> /root/Choices/ROX-Filer/PuppyPin ;
sleep 1s ;
# STEP - 13.
# # #
#
#
#kill -9 `pidof cupsd` ;
/etc/init.d/cups stop ;
# STEP - 14.
# # #
#
if [ ! `ps -eocomm | grep -x xinit` ] ; then
echo "Program -=xinit=- is ready for use in active mode. NOTE: -=xorg.conf=- file must to exist." ;
else
/usr/bin/restartwm `echo -e "Close all launched by you boxes, please.\nThere will be the restart of WM."|xmessage -file -` ;
fi
|
Edit: 2012, sep 09.
| Quote: | Topic about the smallest wallpaper is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=644400#644400 |
|
| Quote: | Topic about the "Ceth" script is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=500216#500216 |
|
| Quote: | Topic about the "Inst-ALSAuse_UMountDVD_Eth0--v3.sh" script is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=536646#536646 |
|
|
| Quote: |
3rd_script.sh
? = digit
| Code: |
#!/bin/bash
echo '' > /etc/X11/xorg.conf ;
echo 'Section "ServerLayout"' >> /etc/X11/xorg.conf ;
echo ' Identifier "X.org Configured"' >> /etc/X11/xorg.conf ;
echo ' Screen 0 "Screen0" 0 0' >> /etc/X11/xorg.conf ;
echo ' InputDevice "Mouse0" "CorePointer"' >> /etc/X11/xorg.conf ;
echo ' InputDevice "Keyboard0" "CoreKeyboard"' >> /etc/X11/xorg.conf ;
echo 'EndSection' >> /etc/X11/xorg.conf ;
echo '' >> /etc/X11/xorg.conf ;
echo 'Section "Files"' >> /etc/X11/xorg.conf ;
echo ' RgbPath "/usr/X11R6/lib/X11/rgb"' >> /etc/X11/xorg.conf ;
echo ' ModulePath "/usr/X11R7/lib/xorg/modules/drivers"' >> /etc/X11/xorg.conf ;
echo ' ModulePath "/usr/X11R7/lib/xorg/modules/fonts"' >> /etc/X11/xorg.conf ;
echo ' ModulePath "/usr/X11R7/lib/xorg/modules/input"' >> /etc/X11/xorg.conf ;
echo ' ModulePath "/usr/X11R7/lib/xorg/modules"' >> /etc/X11/xorg.conf ;
echo ' ModulePath "/usr/X11R7/lib"' >> /etc/X11/xorg.conf ;
echo ' FontPath "/usr/X11R7/lib/X11/fonts/misc"' >> /etc/X11/xorg.conf ;
echo ' FontPath "/usr/X11R7/lib/X11/fonts/TTF"' >> /etc/X11/xorg.conf ;
echo ' FontPath "/usr/X11R7/lib/X11/fonts/Type1"' >> /etc/X11/xorg.conf ;
echo 'EndSection' >> /etc/X11/xorg.conf ;
echo '' >> /etc/X11/xorg.conf ;
echo 'Section "Module"' >> /etc/X11/xorg.conf ;
echo '#Space;Space;Space;Space;Space;Space;Space;Space;' >> /etc/X11/xorg.conf ;
echo ' Load "vbe"' >> /etc/X11/xorg.conf ;
echo ' Load "dbe"' >> /etc/X11/xorg.conf ;
echo ' Load "fbdevhw"' >> /etc/X11/xorg.conf ;
echo ' Load "record"' >> /etc/X11/xorg.conf ;
echo ' Load "freetype"' >> /etc/X11/xorg.conf ;
echo ' Load "type1"' >> /etc/X11/xorg.conf ;
echo '#Space;Space;Space;Space;Space;Space;Space;Space;' >> /etc/X11/xorg.conf ;
echo ' Load "xtrap"' >> /etc/X11/xorg.conf ;
echo '# Load "v4l"' >> /etc/X11/xorg.conf ;
echo '#Space;Space;Space;Space;Space;Space;Space;Space;' >> /etc/X11/xorg.conf ;
echo ' Load "extmod"' >> /etc/X11/xorg.conf ;
echo ' Load "glx"' >> /etc/X11/xorg.conf ;
echo ' Load "dri"' >> /etc/X11/xorg.conf ;
echo 'EndSection' >> /etc/X11/xorg.conf ;
echo '' >> /etc/X11/xorg.conf ;
echo 'Section "ServerFlags"' >> /etc/X11/xorg.conf ;
echo ' Option "RandR" "on"' >> /etc/X11/xorg.conf ;
echo ' Option "NoPM" "True"' >> /etc/X11/xorg.conf ;
echo '#AIGLX needs driver support to run.' >> /etc/X11/xorg.conf ;
echo '#Specifically, it depends on the texture_from_pixmap OpenGL extension,' >> /etc/X11/xorg.conf ;
echo '#which is supported on embedded Intel i810 through G45 graphics' >> /etc/X11/xorg.conf ;
echo '#chipsets & ATI Radeon cards up to X1900 series through free drivers' >> /etc/X11/xorg.conf ;
echo '#in X.org and NVIDIA graphics card through NVIDIA`s proprietary' >> /etc/X11/xorg.conf ;
echo '#9xxx series drivers (although with these drivers, compositing' >> /etc/X11/xorg.conf ;
echo '#managers do not require AIGLX proper — only X.Org 7.1).' >> /etc/X11/xorg.conf ;
echo ' Option "aiglx" "off"' >> /etc/X11/xorg.conf ;
echo 'EndSection' >> /etc/X11/xorg.conf ;
echo '' >> /etc/X11/xorg.conf ;
echo 'Section "InputDevice"' >> /etc/X11/xorg.conf ;
echo ' Identifier "Keyboard0"' >> /etc/X11/xorg.conf ;
echo ' Driver "kbd"' >> /etc/X11/xorg.conf ;
echo ' Option "XkbRules" "xorg"' >> /etc/X11/xorg.conf ;
echo ' Option "XkbModel" "pc104"' >> /etc/X11/xorg.conf ;
echo ' Option "XkbLayout" "us,ru" #xkeymap0' >> /etc/X11/xorg.conf ;
echo ' Option "XkbOptions" "grp:shifts_toggle,grp_led:scroll"' >> /etc/X11/xorg.conf ;
echo 'EndSection' >> /etc/X11/xorg.conf ;
echo '' >> /etc/X11/xorg.conf ;
echo 'Section "InputDevice"' >> /etc/X11/xorg.conf ;
echo ' Identifier "Mouse0"' >> /etc/X11/xorg.conf ;
echo ' Driver "mouse"' >> /etc/X11/xorg.conf ;
echo ' Option "Protocol" "IMPS/2" #mouse0protocol' >> /etc/X11/xorg.conf ;
echo ' Option "Device" "/dev/input/mice"' >> /etc/X11/xorg.conf ;
echo ' Option "Emulate3Buttons" "yes"' >> /etc/X11/xorg.conf ;
echo '# Option "Emulate3Buttons"' >> /etc/X11/xorg.conf ;
echo '# Option "Emulate3Timeout" "50"' >> /etc/X11/xorg.conf ;
echo ' Option "ZAxisMapping" "4 5" #scrollwheel' >> /etc/X11/xorg.conf ;
echo 'EndSection' >> /etc/X11/xorg.conf ;
echo '' >> /etc/X11/xorg.conf ;
echo 'Section "Monitor"' >> /etc/X11/xorg.conf ;
echo ' Identifier "Monitor0"' >> /etc/X11/xorg.conf ;
echo ' VendorName "Monitor Vendor"' >> /etc/X11/xorg.conf ;
echo '#monitor-edid-2.4-1.fc11.i586.rpm gives the tool' >> /etc/X11/xorg.conf ;
echo '#which can show the monitor`s name:' >> /etc/X11/xorg.conf ;
echo ' ModelName "??????"' >> /etc/X11/xorg.conf ;
echo ' HorizSync ??.?-??.0' >> /etc/X11/xorg.conf ;
echo ' VertRefresh ??-???' >> /etc/X11/xorg.conf ;
echo '#>->->(1024x0.??=???; 768x0.??=???)>->->->' >> /etc/X11/xorg.conf ;
echo ' DisplaySize ??? ???' >> /etc/X11/xorg.conf ;
echo ' Gamma 1.0 1.0 1.0' >> /etc/X11/xorg.conf ;
echo '#Program -=xvidtune=- gives the parameters' >> /etc/X11/xorg.conf ;
echo '#of a good screen position:' >> /etc/X11/xorg.conf ;
echo '#>->->unique name of mode is important>->->->' >> /etc/X11/xorg.conf ;
echo ' Modeline "1024x768_nv" ??.?? ???? ???? ???? ???? ??? ??? ??? ??? +hsync +vsync' >> /etc/X11/xorg.conf ;
echo '# Option "PreferredMode" "1024x768"' >> /etc/X11/xorg.conf ;
echo '# Option "DPMS" "false"' >> /etc/X11/xorg.conf ;
echo 'EndSection' >> /etc/X11/xorg.conf ;
echo '' >> /etc/X11/xorg.conf ;
echo 'Section "Device"' >> /etc/X11/xorg.conf ;
echo ' Identifier "Videocard0"' >> /etc/X11/xorg.conf ;
echo ' Driver "nv"' >> /etc/X11/xorg.conf ;
echo ' VendorName "nVidia Corporation"' >> /etc/X11/xorg.conf ;
echo ' BoardName "GeForce ????"' >> /etc/X11/xorg.conf ;
echo ' BusID "PCI:?:?:?"' >> /etc/X11/xorg.conf ;
echo '#Option which provides ignoring of EDID>->->' >> /etc/X11/xorg.conf ;
echo '# Option "NoDDC" "on"' >> /etc/X11/xorg.conf ;
echo '# Option "DDCMode" "off"' >> /etc/X11/xorg.conf ;
echo '# Option "IgnoreEDID" "on"' >> /etc/X11/xorg.conf ;
echo ' Option "NoDDC" "on"' >> /etc/X11/xorg.conf ;
echo '#<-<-<-<' >> /etc/X11/xorg.conf ;
echo 'EndSection' >> /etc/X11/xorg.conf ;
echo '' >> /etc/X11/xorg.conf ;
echo 'Section "Screen"' >> /etc/X11/xorg.conf ;
echo ' Identifier "Screen0"' >> /etc/X11/xorg.conf ;
echo ' Device "Videocard0"' >> /etc/X11/xorg.conf ;
echo ' Monitor "Monitor0"' >> /etc/X11/xorg.conf ;
echo ' DefaultDepth ??' >> /etc/X11/xorg.conf ;
echo '# Option "BiosLocation" "primary:0x?????"' >> /etc/X11/xorg.conf ;
echo '# Option "BiosLocation" "pci:?:?:?"' >> /etc/X11/xorg.conf ;
echo '# Option "BiosLocation" "file:/folder/????.bio"' >> /etc/X11/xorg.conf ;
echo ' SubSection "Display"' >> /etc/X11/xorg.conf ;
echo ' Viewport 0 0' >> /etc/X11/xorg.conf ;
echo ' Depth ??' >> /etc/X11/xorg.conf ;
echo ' Modes "1024x768_nv"' >> /etc/X11/xorg.conf ;
echo ' EndSubSection' >> /etc/X11/xorg.conf ;
echo 'EndSection' >> /etc/X11/xorg.conf ;
echo '' >> /etc/X11/xorg.conf ;
echo '#Then you are trying to run as a user that doesn`t have' >> /etc/X11/xorg.conf ;
echo '#permission to use the DRI (root is the default allowed user).' >> /etc/X11/xorg.conf ;
echo '#To let all users access the DRI,' >> /etc/X11/xorg.conf ;
echo '#add the following section to your xorg.conf:' >> /etc/X11/xorg.conf ;
echo 'Section "DRI"' >> /etc/X11/xorg.conf ;
echo ' Group 0' >> /etc/X11/xorg.conf ;
echo ' Mode 0666' >> /etc/X11/xorg.conf ;
echo 'EndSection' >> /etc/X11/xorg.conf ;
echo '' >> /etc/X11/xorg.conf ;
echo 'Section "Extensions"' >> /etc/X11/xorg.conf ;
echo 'Option "Composite" "off"' >> /etc/X11/xorg.conf ;
echo 'EndSection' >> /etc/X11/xorg.conf ;
echo '' >> /etc/X11/xorg.conf ;
echo '#PuppyHardwareProfile=NVIDIA' >> /etc/X11/xorg.conf ;
echo '' >> /etc/X11/xorg.conf ;
#
if [ ! `ps -eocomm | grep xinit | head -1` ] ; then
echo "Now, Xorg is ready for use in active mode with the -=NV=- driver using." ;
else
xmessage "Now, Xorg is ready for use in active mode with the -=NV=- driver using." ;
fi
|
Edit: 2011, dec 1.
|
| Quote: |
Situation:
Video card = NVidia
Driver for video card = NV
Monitor = some monitor, from the box, with paper documentation
# # #
Example of /etc/X11/xorg.conf
| Code: |
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R7/lib/xorg/modules/drivers"
ModulePath "/usr/X11R7/lib/xorg/modules/fonts"
ModulePath "/usr/X11R7/lib/xorg/modules/input"
ModulePath "/usr/X11R7/lib/xorg/modules"
ModulePath "/usr/X11R7/lib"
FontPath "/usr/X11R7/lib/X11/fonts/misc"
FontPath "/usr/X11R7/lib/X11/fonts/TTF"
FontPath "/usr/X11R7/lib/X11/fonts/Type1"
EndSection
Section "Module"
#Space;Space;Space;Space;Space;Space;Space;Space;
Load "vbe"
Load "dbe"
Load "fbdevhw"
Load "record"
Load "freetype"
Load "type1"
#Space;Space;Space;Space;Space;Space;Space;Space;
Load "xtrap"
# Load "v4l"
#Space;Space;Space;Space;Space;Space;Space;Space;
Load "extmod"
Load "glx"
Load "dri"
EndSection
Section "ServerFlags"
Option "RandR" "on"
Option "NoPM" "True"
#AIGLX needs driver support to run.
#Specifically, it depends on the texture_from_pixmap OpenGL extension,
#which is supported on embedded Intel i810 through G45 graphics
#chipsets & ATI Radeon cards up to X1900 series through free drivers
#in X.org and NVIDIA graphics card through NVIDIA`s proprietary
#9xxx series drivers (although with these drivers, compositing
#managers do not require AIGLX proper — only X.Org 7.1).
Option "aiglx" "off"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us,ru" #xkeymap0
Option "XkbOptions" "grp:shifts_toggle,grp_led:scroll"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2" #mouse0protocol
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "yes"
# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"
Option "ZAxisMapping" "4 5" #scrollwheel
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
#monitor-edid-2.4-1.fc11.i586.rpm gives the tool
#which can show the monitor`s name:
ModelName "CT501R"
#from paper documentation:
HorizSync 31.0-91.0
#from paper documentation:
VertRefresh 50-130
#from paper documentation:
#>->->(1024x0.20=205; 768x0.22=169)>->->->
DisplaySize 205 169
Gamma 1.0 1.0 1.0
#Program -=xvidtune=- gives the parameters
#of a good screen position:
#>->->unique name of mode is important>->->->
Modeline "1024x768_nv" 94.50 1024 1088 1184 1376 768 769 772 808 +hsync +vsync
# Option "PreferredMode" "1024x768"
# Option "DPMS" "false"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nv"
VendorName "nVidia Corporation"
BoardName "GeForce 6200"
BusID "PCI:2:0:0"
#Option which provides ignoring of EDID>->->
# Option "NoDDC" "on"
# Option "DDCMode" "off"
# Option "IgnoreEDID" "on"
Option "NoDDC" "on"
#<-<-<-<
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
# Option "BiosLocation" "primary:0xC0000"
# Option "BiosLocation" "pci:2:0:0"
# Option "BiosLocation" "file:/root/test.bio"
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768_nv"
EndSubSection
EndSection
#Then you are trying to run as a user that doesn`t have
#permission to use the DRI (root is the default allowed user).
#To let all users access the DRI,
#add the following section to your xorg.conf:
Section "DRI"
Group 0
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "off"
EndSection
#PuppyHardwareProfile=NVIDIA
|
Edit: 2013, jan 10.
|
| Quote: |
4th_script.sh
| Quote: |
0_Protect_Exit.sh
| Code: |
#!/bin/bash
rm /bin/autologinroot ;
echo "#!/bin/bash" > /bin/autologinroot ;
echo '/sbin/getty 38400 tty1' >> /bin/autologinroot ;
chmod 0100 /bin/autologinroot ;
sleep 0.5s ;
echo 'Now, use such a command: kill -9 `pidof sh`'
|
|
After the "4th_script.sh" script and after the entering into user's environment, i execute such a script:
| Quote: |
0_Protect-2_Exit.sh
| Code: |
#!/bin/bash
yes `md5sum /proc/meminfo|cut -d' ' -f1` | passwd spot ;
yes `md5sum /proc/meminfo|cut -d' ' -f1` | passwd nobody ;
yes `md5sum /proc/meminfo|cut -d' ' -f1` | passwd root ;
yes `md5sum /proc/meminfo|cut -d' ' -f1` | passwd daemon ;
yes `md5sum /proc/meminfo|cut -d' ' -f1` | passwd bin ;
history -c >/root/.history ; printf '\ec' ;
#
if [ ! `ps -eocomm | grep xinit` ] ; then
echo "Change the PASSWORD of an active user if there is a need to execute EXIT." ;
else
xmessage "Change the PASSWORD of an active user if there is a need to execute EXIT." ;
fi
|
| Quote: |
Situation: QUIRKY LINUX 1.40 is installed onto HDD(partition is such: /dev/sda1) and variant of installation is FULL.
If the access to the account was lost, then there is such a way: to delete the old password and to activate a new password --->
| Code: |
#STEP-1>>>
init=/bin/bash # <---Option for kernel at use of GRUB bootloader(button 'e' activates the mode where the user can temporarily change the boot parameters for GRUB bootloader)
#<<<STEP-1
#STEP-2>>>
#When the OS has been loaded.
mount -n -o remount,rw /dev/sda1
#<<<STEP-2
#STEP-3>>>
stat /etc/shadow #If the value is 0400 then do the following: chmod 0600 /etc/shadow
#Later, after the appearing of the new password, old file permissions can be repaired.
vi /etc/shadow #Button INSERT will activate the editing mode
#vi <--- WAS ---> root:$1$4tcduAEz$tbgVvhUfVpudpypgCwWt34:14477:0:33333:7:::
#vi <--- HAS BECAME ---> root::14477:0:33333:7:::
#vi <--- to write changes in vi ---> Buttons: 'Esc'; ':'; 'w'; 'Enter'.
#vi <--- to quit from vi ---> Buttons: 'Esc'; ':'; 'q'; 'Enter'.
#<<<STEP-3
#STEP-4>>>
mount -n -o remount,ro /dev/sda1
#<<<STEP-4
#STEP-5>>>
#Buttons: CTRL+ALT+Delete <--- to execute the reboot
#<<<STEP-5
|
|
|
Edit: 2012, dec 25.
|
| Quote: |
Situation: there is a need to watch a videos on YOUTUBE.COM with use of such an user as SPOT. Web-browser: http://www.murga-linux.com/puppy/viewtopic.php?p=640602#640602
| Code: |
#find /etc -type f -exec grep -i 'audio:' {} \; -print #OUTPUT ====>
audio::17: #OUTPUT
/etc/group #OUTPUT
audio::17: #OUTPUT
/etc/group- #OUTPUT
# # #
delgroup audio ;
addgroup -g 17 audio ;
addgroup spot audio ;
chgrp -R audio /dev/dsp /dev/snd ;
chmod 0775 /usr/lib/mozilla
chgrp audio /usr/lib/mozilla
|
One page which was helpful for me: http://www.murga-linux.com/puppy/viewtopic.php?t=75389
Edit: 2013, jan 10.
|
| Quote: |
Situation: there is a need to clean user's history(root's history) and operative memory; there is a wish to do something unusual.
| Code: |
sync; echo 3 >/proc/sys/vm/drop_caches; echo -en "lx\niu\nnn\nui\nxl\n"; sleep 1; pushd /lost+found ; popd +1 ; history -c >/root/.history; printf '\ec'
|
Situation: there is a need to clean user's history(spot's history) and there is a need to use a box which has Command Line Interface, i.e. there is a need to use such a product as the RXVT program.
| Code: |
pushd /tmp ; popd +1 ; history -c >/root/spot/.bash_history ; printf '\ec'
|
Edit: 2013, feb 04.
|
A script's content can be copied into text editor by means of <Quote> mode.
I want to warn that the text from me becomes another sometimes. I understand that the changing of password here can not help me in the deal of protection of posts. Maybe, i have to convert all information from me into pictures.
_________________
- I don't know why laboratories are named a hospitals.
- The alive personage is like a tea bag with granules of unknown density inside, at that one the packet was made of organic material and was placed in the evaporated liquid or liquid.
Last edited by postfs1 on Sat 30 Mar 2013, 13:17; edited 43 times in total
|
|
Back to top
|
|
 |
postfs1

Joined: 27 Mar 2010 Posts: 831
|
Posted: Thu 01 Dec 2011, 23:44 Post subject:
|
|
[ > ] Addition
| Quote: |
Install_Cupsd-Launcher.sh
QW = "QtWeb" web-browser.
| Code: |
#!/bin/bash
#
echo '[Desktop Entry]' > /usr/share/applications/Cupsd-Lnchr.desktop ;
echo 'Encoding=UTF-8' >> /usr/share/applications/Cupsd-Lnchr.desktop ;
#
#Don't touch this >>>
#Exec=bash -c 'bash -c "`Xdialog --title \"Cupsd Launcher\" --no-tags --radiolist \"\" 17 65 10 \"/etc/init.d/cups start\" \"Turn -=cupsd=- ON.\" off \"/etc/init.d/cups stop\" \"Turn -=cupsd=- OFF.\" on \"echo \"'\''\"#!/bin/bash\"'\''\" >/usr/local/bin/defaultbrowser ; echo "'\'exec\ firefox\ \'"\"'\"'\"$@\"'\"'\""\'\''" >>/usr/local/bin/defaultbrowser\" \"To make -=firefox=- the default launcher of web-browser.\" off \"echo \"'\''\"#!/bin/bash\"'\''\" >/usr/local/bin/defaultbrowser ; echo "'\'exec\ mozstart\ \'"\"'\"'\"$@\"'\"'\""\'\''" >>/usr/local/bin/defaultbrowser\" \"To make -=mozstart=- the default launcher of web-browser.\" off \"echo \"'\''\"#!/bin/bash\"'\''\" >/usr/local/bin/defaultbrowser ; echo "'\'exec\ QW\ \'"\"'\"'\"$@\"'\"'\""\'\''" >>/usr/local/bin/defaultbrowser\" \"To make -=QW=- the default launcher of web-browser.\" off 2>&1`"'
grep '\-\-radiolist' /mnt/sr0/_Files/Cupsd_Launcher/Install_Cupsd-Launcher.sh | grep -v "Install_Cupsd-Launcher.sh" | sed 's/#//' >> /usr/share/applications/Cupsd-Lnchr.desktop ;
# <<<
#
echo 'GenericName=' >> /usr/share/applications/Cupsd-Lnchr.desktop ;
echo 'Icon=/usr/local/lib/X11/mini-icons/tb_print.xpm' >> /usr/share/applications/Cupsd-Lnchr.desktop ;
echo 'MimeType=' >> /usr/share/applications/Cupsd-Lnchr.desktop ;
echo 'Path=' >> /usr/share/applications/Cupsd-Lnchr.desktop ;
echo 'StartupNotify=false' >> /usr/share/applications/Cupsd-Lnchr.desktop ;
echo 'Terminal=false' >> /usr/share/applications/Cupsd-Lnchr.desktop ;
echo 'TerminalOptions=' >> /usr/share/applications/Cupsd-Lnchr.desktop ;
echo 'Type=Application' >> /usr/share/applications/Cupsd-Lnchr.desktop ;
echo 'X-DCOP-ServiceType=' >> /usr/share/applications/Cupsd-Lnchr.desktop ;
echo 'X-KDE-SubstituteUID=false' >> /usr/share/applications/Cupsd-Lnchr.desktop ;
echo 'X-KDE-Username=' >> /usr/share/applications/Cupsd-Lnchr.desktop ;
echo 'Name=CUPS manage printing - Addition' >> /usr/share/applications/Cupsd-Lnchr.desktop ;
echo 'Comment=CUPS Web Interface' >> /usr/share/applications/Cupsd-Lnchr.desktop ;
echo 'Categories=no' >> /usr/share/applications/Cupsd-Lnchr.desktop ;
#
#A launch from the menu of -=Cupsd-Lnchr.desktop=- loses this thing: $@
#
# # #
#
echo '[Desktop Entry]' > /usr/share/applications/Cupsd-Lnchr-Lk.desktop ;
echo 'Encoding=UTF-8' >> /usr/share/applications/Cupsd-Lnchr-Lk.desktop ;
echo 'Exec=rox /usr/share/applications/Cupsd-Lnchr.desktop' >> /usr/share/applications/Cupsd-Lnchr-Lk.desktop ;
echo 'GenericName=' >> /usr/share/applications/Cupsd-Lnchr-Lk.desktop ;
echo 'Icon=/usr/local/lib/X11/mini-icons/tb_print.xpm' >> /usr/share/applications/Cupsd-Lnchr-Lk.desktop ;
echo 'MimeType=' >> /usr/share/applications/Cupsd-Lnchr-Lk.desktop ;
echo 'Path=' >> /usr/share/applications/Cupsd-Lnchr-Lk.desktop ;
echo 'StartupNotify=false' >> /usr/share/applications/Cupsd-Lnchr-Lk.desktop ;
echo 'Terminal=false' >> /usr/share/applications/Cupsd-Lnchr-Lk.desktop ;
echo 'TerminalOptions=' >> /usr/share/applications/Cupsd-Lnchr-Lk.desktop ;
echo 'Type=Application' >> /usr/share/applications/Cupsd-Lnchr-Lk.desktop ;
echo 'X-DCOP-ServiceType=' >> /usr/share/applications/Cupsd-Lnchr-Lk.desktop ;
echo 'X-KDE-SubstituteUID=false' >> /usr/share/applications/Cupsd-Lnchr-Lk.desktop ;
echo 'X-KDE-Username=' >> /usr/share/applications/Cupsd-Lnchr-Lk.desktop ;
echo 'Name=CUPS manage printing - Addition' >> /usr/share/applications/Cupsd-Lnchr-Lk.desktop ;
echo 'Comment=CUPS Web Interface' >> /usr/share/applications/Cupsd-Lnchr-Lk.desktop ;
echo 'Categories=System' >> /usr/share/applications/Cupsd-Lnchr-Lk.desktop ;
#
rox -p=/root/Choices/ROX-Filer/PuppyPin ;
fixmenus ;
xmessage "-=Cupsd-Launcher=- has been installed." `jwm -restart`
|
Edit: 2011, dec 1.
|
| Quote: | Topic about the "QtWeb" web-browser is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=586421#586421 |
|
| Quote: | Topic about the "Firefox" web-browser is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=563172#563172 |
|
 
[ > ] Addition
| Quote: |
Set of Operating Systems which are able to boot through Grub4dos which is installed out of -=QUIRKY LINUX - 1.40=-
USB_FlashDrive -----> sda: sda1 = (hd0,0) = File System: FAT32
Grub4dos -----> from QUIRKY LINUX - 1.40 where there is such a program as Grub4DosConfig-v.1.6.2
Variant of booting -----> ISO to RAM (RAM = Operative Memory)
| Quote: |
'Parted Magic - 5.8'
Note: UUID is available out of 'blkid' program.
| Code: |
title Parted Magic - test - 5.8 UUID - v1
find --set-root /images/pmagic-5.8.iso
map --heads=0 --sectors-per-track=0 /images/pmagic-5.8.iso (0xff)
map --hook
root (0xff)
kernel /pmagic/bzImage iso_location=/images filename=/images/pmagic-5.8.iso uuid=2575-4789 edd=off
initrd /pmagic/initramfs
|
| Code: |
title Parted Magic - test - 5.8 UUID - v2 !
find --set-root /images/pmagic-5.8.iso
map --heads=0 --sectors-per-track=0 /images/pmagic-5.8.iso (0xff)
map --hook
root (0xff)
kernel /pmagic/bzImage iso_location=/images iso_filename=pmagic-5.8.iso uuid=2575-4789 edd=off
initrd /pmagic/initramfs
|
|
| Quote: |
'Hardware Detection Tool'
| Code: |
title | Hardware Detection Tool (HDT) |\n\n An interactive hardward analyzer by Erwan Velu
map --heads=0 --sectors-per-track=0 /images/pmagic-5.8.iso (0xff)
map --hook
root (0xff)
kernel /boot/syslinux/memdisk
initrd /boot/syslinux/hdt.gz
|
|
Also:
| Quote: |
http://www.murga-linux.com/puppy/viewtopic.php?p=682918#682918
|
Edit: 2013, feb 05.
|
A code's content can be copied into text editor by means of <Quote> mode.
_________________
- I don't know why laboratories are named a hospitals.
- The alive personage is like a tea bag with granules of unknown density inside, at that one the packet was made of organic material and was placed in the evaporated liquid or liquid.
Last edited by postfs1 on Wed 06 Feb 2013, 04:55; edited 7 times in total
|
|
Back to top
|
|
 |
postfs1

Joined: 27 Mar 2010 Posts: 831
|
Posted: Mon 05 Dec 2011, 16:10 Post subject:
|
|
Addition
| Quote: |
Theme: Browsers and Internet
| Quote: | Topic about the "Adobe-Flash" plugin is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=587249#587249 |
|
| Quote: | Topic about the "Firefox" web-browser("Icecat") is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=563172#563172 |
|
| Quote: | "Firefox" web-browser:
| Code: |
Fedora-11_files/dbus-glib-0.80-2.fc11.i586.rpm
Fedora-11_files/dbus-libs-1.2.12-2.fc11.i586.rpm
CentOS-5_files/firefox-10.0.11-1.el5.centos.i386.rpm
CentOS-5_files/hicolor-icon-theme-0.9-2.1.noarch.rpm
CentOS-5_files/nspr-4.9.1-4.el5_8.i386.rpm
CentOS-5_files/nss-3.13.5-4.el5_8.i386.rpm
CentOS-5_files/xulrunner-10.0.11-1.el5_8.i386.rpm
|
|
| Quote: | Topic about the "QtWeb" web-browser is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=586421#586421 |
|
| Quote: |
Topic about the "HV3" web-browser is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=521571#521571 |
|
| Quote: |
Topic about the "Dillo" web-browser is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=521571#521571 |
|
| Quote: |
Topic about the "Links" web-browser is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=521571#521571 |
|
| Quote: |
"Seamonkey" web-browser:
| Code: |
Fedora-11_files/dbus-glib-0.80-2.fc11.i586.rpm
Fedora-11_files/dbus-libs-1.2.12-2.fc11.i586.rpm
Slackware-12.2_files/seamonkey-2.0.14-i486-1_slack12.2.tgz
Slackware-12.2_files/seamonkey-solibs-2.0.14-i486-1_slack12.2.tgz
|
|
| Quote: |
"Chromium" web-browser:
| Code: |
PCLinuxOS-2010_files/chromium-browser-9.0.570.64589-1pclos2010.i586.rpm
under Q: PCLinuxOS-2010_files/libflashsupport-1.2-1pclos2010.i586.rpm
|
|
|
| wrote: |
|
| Quote: |
Theme: Compiling = //"House Training"/"HOWTO ( Solutions )"
| Quote: | Topic about development software is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=543888#543888 |
|
|
| wrote: |
|
| Quote: |
Theme: Documents
| Quote: |
Topic about the "Open Office" program is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=584405#584405 |
|
|
| wrote: |
|
| Quote: |
Theme: Drivers = //"House Training"/"HOWTO ( Solutions )"
| Quote: | Topic about the "NVidia" non-free driver is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=543182#543182 |
|
|
| wrote: |
|
| Quote: |
Theme: Educational
| Quote: | Topic about the "Help Service Helper" is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=585222#585222 |
|
| Quote: | Topic about the "Man Page Reader" is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=584413#584413 |
|
|
| wrote: |
|
| Quote: |
Theme: Eye Candy
| Quote: | Topic about the "Desktop Picture Replacer" is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=584411#584411 |
|
| Quote: | Topic "How to create the smallest pixel for background of desktop" is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=644400#644400 |
|
|
| wrote: |
|
| Quote: |
Theme: Filesystem
| Quote: | Topic about the "MC" program is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=492263#492263 |
|
| Quote: | Topic about the "Peazip" program is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=587248#587248 |
|
| Quote: | Topic about the "GParted" program is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=588206#588206 |
|
| Quote: | Topic about the "Pmount" program is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=669635#669635 |
|
| Quote: | "Testdisk" program - tool to search a deleted files:
| Code: |
CentOS-5_files/testdisk-6.13-1.el5.rf.i386.rpm
CentOS-5_files/progsreiserfs-0.3.0.4-1.2.el5.rf.i386.rpm
CentOS-5_files/ntfsprogs-1.13.1-6.el5.i386.rpm
CentOS-5_files/libewf-20100226-1.el5.rf.i386.rpm
|
|
|
| wrote: |
|
| Quote: |
Theme: Games
| Quote: | Topic about the "Bubbles" program is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=588198#588198 |
|
| Quote: | Topic about the "Xtris" program is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=585232#585232 |
|
|
| wrote: |
|
| Quote: |
Theme: Graphics
| Quote: | Topic about the "Gimp" program is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=586673#586673 |
|
|
| wrote: |
|
| Quote: |
Theme: Multimedia = //Advanced Topics/Hardware/Audio
| Quote: | Topic about the "Guvcview" program is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=484853#484853 |
|
|
| wrote: |
|
| Quote: |
Theme: Multimedia
| Quote: | Topic about the "Audacity" program is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=491376#491376 |
|
| Quote: | Topic about the "Smplayer" and "Mencoder" programs is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=521576#521576 |
|
| Quote: | Topic about the "Xine" program is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=587253#587253 |
|
| Quote: | Topic about the "Alsaplayer" program is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=585227#585227 |
|
| Quote: | Topic about the "Kaffeine" program is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=586439#586439 |
|
| Quote: | Topic about the "Openshot" program is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=586442#586442 |
|
| Quote: | Topic about the "Ffmpeg" and "Winff" programs is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=587238#587238 |
|
| Quote: | Topic about the "Mediainfo-gui" program is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=587243#587243 |
|
| Quote: | Topic about the "MPG321" program is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=680262#680262 |
|
| Quote: | Topic about the "K3B" program(old version) is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=536889#536889 |
|
| Quote: | Topic about the "K3B" program(old version) is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=584378#584378 |
|
| Quote: | Topic about the "K3B" program(this version is newer than the shown above) is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=536634#536634 |
|
| Quote: | Topic about the "JCDWriter" program is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=584380#584380 |
|
| Quote: | Topic about the "Gcombust" program is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=586436#586436 |
|
| Quote: | Topic about the "wodim" program is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=639430#639430 |
|
|
| wrote: |
|
| Quote: |
Theme: Network
| Quote: | Topic about the "Etherape", "IPtraf", "Nethogs", "Pktstat" programs is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=494894#494894 |
|
|
| wrote: |
|
| Quote: |
Theme: Security/Privacy = //"House Training"/"HOWTO ( Solutions )"
| Quote: | Topic about the hiding of file is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=544623#544623 |
|
|
| wrote: |
|
| Quote: |
Theme: Security/Privacy
| Quote: | Topic about the "Guarddog" program is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=490898#490898 |
|
| Quote: | Topic about the "Firestarter" program is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=492210#492210 |
|
| Quote: | Topic about the "Gufw" program is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=584419#584419 |
|
| Quote: | Topic about the "FWBuilder" program is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=584421#584421 |
|
| Quote: | Topic about the "Manager of built-in firewall" is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=630596#630596 |
|
| Quote: | Topic about the "Clamav" and "Clamtk" programs is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=585229#585229 |
|
| Quote: | "Clamav" antivirus:
| Code: |
/clamav-0.97.6-1.el5.rf.i386.rpm
/clamav-db-0.97.6-1.el5.rf.i386.rpm
/clamav-milter-0.97.6-1.el5.rf.i386.rpm
/clamd-0.97.6-1.el5.rf.i386.rpm
|
|
|
| wrote: |
|
| Quote: |
Theme: System
| Quote: | Topic about the "Dbus", "Avahi", "Hal" programs is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=584359#584359 |
|
| Quote: | Topic about the "Java Runtime Environment" product is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=571721#571721 |
|
|
| wrote: |
|
| Quote: |
Theme: Utilities
| Quote: | Topic about the "Lm_sensors" program is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=557291#557291 |
|
| Quote: | Topic about the "KLM(Keyboard Layout Manager)" is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=636855#636855 |
|
| Quote: | Topic about the eraser of pre-installed software is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=584416#584416 |
|
| Quote: | Topic about the tools which give an information about display and video card is here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=599515#599515 |
|
| Quote: | Topic about the -=bc=- calculator is here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=645535#645535 |
|
|
| wrote: |
|
| Quote: |
Theme: Virtualization
| Quote: | Topic about the "Wine" program(not the freshest version) is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=493708#493708 |
|
| Quote: | Topic about the "Wine" program(newer than the shown above) is over here:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=522109#522109 |
|
|
| wrote: |
|
| Quote: |
Theme:
| Quote: | Topic about the tool for installation and deinstallation of programs:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=595054#595054 |
|
| Quote: | Topic: How to search for files in Puppy:
| Code: | | http://www.murga-linux.com/puppy/viewtopic.php?p=599196#599196 |
|
|
| wrote: |
|
_________________
- I don't know why laboratories are named a hospitals.
- The alive personage is like a tea bag with granules of unknown density inside, at that one the packet was made of organic material and was placed in the evaporated liquid or liquid.
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|