quirkian2new wrote:But found that hda1 and hda2 were automatically mounted at bootup ? is there any boot parameter that prevents such automatical mounting of hda1 and hda2 ?
Yes, add noauto to the kernel boot command line.
Fred
Adding parameter fsck to the kernel boot command line will check all partitions.I'm getting a lot of "structure needs cleaning" errors. How do I fix them. I'm running stetchdog in a virtualbox. It was working well for quite a while but I don't see an option to do e2fsk in the boot menu.
Yes, boot partition is always mounted at start, but to unmount you can add a simple scriptt to /root/Startupi add noauto to the kernel boot command line, but my sda2 is still automatically mounted under /mnt/sda2
Code: Select all
#!/bin/sh
hdrv=$(cat /mnt/live/etc/homedrv | cut -d'/' -f3)
umount /dev/$hdrv
Hello Rafael,Porteus Modules: How can load then at startup, how can I extract them to convert them to SFS
How can I chanbge from single click to double click in XFCE.
I use Pocket with Firefox but it seems to be broken.
I had a question about printing but I solved that.
My Network connection keeps dropping and I dont know where to fixit.
My wireless connection only recognizes my wireless printer but not the wifi.
I am completely new to both Debian and Puppy, I have everythin in Porteus.
Thanks in advance
Rafael Alcocer
In the Preferences of Thunar and in Desktop settings (right-click on Desktop)How can I chanbge from single click to double click in XFCE
I'm returning to that question. I did make a squashfs with the script you pointed out to me but I noticed something yesterday:trister wrote: Is it possible in the EXIT: boot option to disable the save session message when shutting down (or at least make default the Do Not Save option) ?
I want to save the session only when I want (eg with save2flash).
Hi trister, the script for to Save or NoSave from console is: /usr/local/bin/snaptrister wrote:I'm returning to that question. I did make a squashfs with the script you pointed out to me but I noticed something yesterday:trister wrote: Is it possible in the EXIT: boot option to disable the save session message when shutting down (or at least make default the Do Not Save option) ?
I want to save the session only when I want (eg with save2flash).
While the posted script does sets as default the "Do Not Save" graphical enviroment (window popup) , it does not seem to change the text based question for saving (the one that it shown outside the windows manager.
Is there another location for the save-on-exit poweroff script? (when outside window managers)
Code: Select all
dialog --timeout 10 --yes-label "SAVE" --no-label "NO SAVE" --yesno "Press ENTER key within 10 seconds to save the session...
Or, press TAB then ENTER to not save session...
After waiting 10 seconds the session will not be saved..." 0 0 >/dev/console
ret=$?
[ $ret -ne 0 ] || SAVE="yes"
if [ "$SAVE" != "" ];then
echo
echo "[1;32m""Saving session...""[0m"
/usr/bin/snapmergepuppy 2> /dev/null
else
echo
echo "[1;31m""Session not saved""[0m"
fi
Code: Select all
while :
do
printf '\033[s'
printf '\033[1;31mSession not saved\033[0m'
sleep 1
printf '\033[u'
printf '\033[s'
printf '\033[1;32mSession not saved\033[0m'
printf '\033[u'
sleep 1
done
Code: Select all
awk 'BEGIN{
s="/\\/\\/\\/\\/\\"; s=s s s s s s s s;
for (colnum = 0; colnum<77; colnum++) {
r = 255-(colnum*255/76);
g = (colnum*510/76);
b = (colnum*255/76);
if (g>255) g = 510-g;
printf "\033[48;2;%d;%d;%dm", r,g,b;
printf "\033[38;2;%d;%d;%dm", 255-r,255-g,255-b;
printf "%s\033[0m", substr(s,colnum+1,1);
}
printf "\n";
}'
I can report that adding this option fixed my problemfredx181 wrote:@s243aAdding parameter fsck to the kernel boot command line will check all partitions.I'm getting a lot of "structure needs cleaning" errors. How do I fix them. I'm running stetchdog in a virtualbox. It was working well for quite a while but I don't see an option to do e2fsk in the boot menu.
(but I didn't test with virtualbox)
rufwoof wrote:ANSI esc code didn't quote very well in the previous posting.
...
Code: Select all
dialog --timeout 10 --yes-label "SAVE" --no-label "NO SAVE" --yesno "Press ENTER key within 10 seconds to save the session...
Or, press TAB then ENTER to not save session...
After waiting 10 seconds the session will not be saved..." 0 0 >/dev/console
ret=$?
[ $ret -ne 0 ] || SAVE="yes"
if [ "$SAVE" != "" ];then
echo
echo -e "\e[0;32mSaving session...\033[0m"
/usr/bin/snapmergepuppy 2> /dev/null
else
echo
echo -e "\e[0;31mSession not saved\033[0m"
fi
urxvt can be compiled with true color support. (For Fatdog64 you can find a contrib package at the link in my signature).rufwoof wrote:
A nice feature of (real) xterm is its better true-colour support. ...
whereas I believe urxvt isn't supportive
Debian Packages To Eliminate Vendor-Specific Patches, Affecting Downstreams Like Ubuntu
Hi sszindian, strange... works ok for me, clock is displaying, did you do anything special , e.g. different Desktop or other changed configuration, so then knowing that I could possibly try to reproduce ?sszindian wrote:Installed Conky Clock from the PM... upon selecting from the menu, a dialog-box of many nice clock-faces appear to use... selecting any of them only gets a "#" to show up on the desktop.
Any suggestions appreciated!!
>>>---Indian------>
Code: Select all
root@live:~# conkyclock
conky: Syntax error (/root/.conky/Analog_clock/conkyrc1:3: unexpected symbol near '#') while reading config file.
conky: Assuming it's in old syntax and attempting conversion.
conky: desktop window (800147) is subwindow of root window (277)
conky: window type - normal
conky: drawing to created window (0x3200001)
conky: drawing to double buffer
conky: Unknown setting 'color10'
Mmm.. sounds bad, looks like something went wrong earlier which may be also be the reason why conkyclock didn't work.sszindian wrote:Trying various things, I lost all my savefolder upgrades and a basic stretch now loads and the mouse is totally froze up... so I can't do anything except a hard shut down (several times)... lost a lot of work here!!! Setting StretchDog on the side for now, may get back into it at a later date hard to believe all because of wanting that nice Conky Clock on my desktop
Thanks for your help Fred!
>>>---Indian------>