Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   <b>READ-ONLY-MODE: PLEASE DO NOT LOGIN</b>READ-ONLY-MODE: PLEASE DO NOT LOGIN 

The time now is Sat 08 Aug 2020, 15:03
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
BusterDog + build system (no-systemd)
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 22 of 24 [360 Posts]   Goto page: Previous 1, 2, 3, ..., 20, 21, 22, 23, 24 Next
Author Message
fredx181


Joined: 11 Dec 2013
Posts: 4479
Location: holland

PostPosted: Mon 11 May 2020, 04:03    Post subject:  

trister wrote:
So, the problem is that if I'm in a hurry and start one of the apps that uses /mnt/home it kind of messes up /mnt/home path and all the apps are useless -and I need to restart the system and keep in mind to be more patient next time

OK, I see, here's a way to create the /mnt/home symlink very early in the boot process by creating a separate initscript (instead of doing it from /etc/rc.local)
Comment out in /etc/rc.local, so becomes this:
Code:
# By default this script does nothing.
#if [ -f /mnt/live/tmp/modules ]; then
#/usr/local/bin/mountlink
#else
#/usr/local/bin/mnt-backing
#fi

Place attached script "lnmounts" in /etc/init.d (after removing fake.gz and making executable) and activate it:
Code:
insserv lnmounts

Check in /etc/rc2.d/ if symlink S02lnmounts is created

If you changed the order of frisbee (as in above post) can you let me know if you still see the message "IP address acquired ..." ? (if not, it started too early, which is not a big problem, but just like to know how it's turning out on a fast computer).

Fred
lnmounts.gz
Description  Remove fake .gz, make executable, place in /etc/init.d and activate with: insserv lnmounts
gz

 Download 
Filename  lnmounts.gz 
Filesize  711 Bytes 
Downloaded  41 Time(s) 

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
trister

Joined: 01 Mar 2015
Posts: 137

PostPosted: Mon 11 May 2020, 13:17    Post subject:  

Thanks fred
I tried it along with various versions of re-ordered rc2.d but I always get the same result as before :

I have an initial delay after logging with slim and then all stuff happen (/mnt/home/ get ip etc...).

It seems that indeed it is a speed issue. I will copy the frugal install in another slower PC and I will check. If it is this I will just have to live with it -or I could go back to StretchDog in this PC Smile

Thanks again for your time fred
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4479
Location: holland

PostPosted: Thu 14 May 2020, 06:47    Post subject: Bug fix  

Bug fixed for:
- "upgrade kernel" .deb packages
- and initrd1.xz (for porteus-boot) in pre-fab kernel tarballs Here (kernel-stretch-*, kernel-ceres-*(=buster) and kernel-sid-*)

Bug description: When using save folder there's a check for posix compatibility, if not, there should be a message "A Windows filesystem (FAT, NTFS) or other non-posix compatible filesystem has been detected".
This message didn't appear due to a mistake I made when editing linuxrc (init script in initrd1.xz) a few weeks back, resulting in continued boot with a savefolder that's not usable.
Not affected when you use a savefolder on a posix compatible (ext2/3/4) Linux filesytem of course.

To fix when recently made a build with mklive-buster, replace the initrd1.xz in "live" with the one inside kernel-ceres-i386-pae.tar.gz or kernel-ceres-amd64.tar.gz (according to architecture)
Similar for Stretch and Sid (kernel-stretch-* , kernel-sid-*), replace initrd1.xz (or extract all contents of tarball in "live" folder).

Update "upgrade kernel" or "upgrade-kernel-buster-bpo" packages with synaptic or apt.

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
recobayu


Joined: 15 Sep 2010
Posts: 389
Location: indonesia

PostPosted: Sat 16 May 2020, 00:51    Post subject: Shortcut to snap window to edge of screen  

Hi Fred and All..
I just explore about keybinding in my Busterdog, and from here:
http://openbox.org/wiki/Help:Actions#If, I got something interesting.

We can make our openbox like cinnamon/windows 10/stickyjwm. That is the window can snap into edge screen by press win + arrow.
In stickyjwm (http://murga-linux.com/puppy/viewtopic.php?p=1017372#1017372) I use wmctrl, but in openbox, I use the config from openbox it self.

Here what I do.

First, we edit the file:
Code:
/root/.config/openbox/rc.xml

and add this code between the <keyboard> and </keyboard> tag
after that, we reconfigure the openbox by type:
Code:
openbox --reconfigure

After that, we can play around by press win + arrow.

Code:
<!-- add shortcut like cinnamon/wdz10/stickyjwm -->
<!-- win + arrow -->
<!-- by: recobayu -->
   <keybind key="W-Up">
      <action name="If">
         <query target="focus">
            <maximizedvertical>true</maximizedvertical>
         </query>
         <then>
            <action name="If">
               <query target="focus">
                  <maximizedhorizontal>true</maximizedhorizontal>
               </query>
               <then>
                  <action name="UnmaximizeFull"/>
                  <action name="MoveResizeTo">
                     <y>0</y>
                     <height>50%</height>
                     <width>100%</width>
                  </action>
                  <action name="MaximizeHorz"/>
               </then>
               <else>
                  <action name="UnmaximizeFull"/>
                  <action name="MoveResizeTo">
                     <y>0</y>
                     <height>50%</height>
                  </action>
               </else>
            </action>
         </then>
         <else>
            <action name="MaximizeVert"/>
         </else>
      </action>
   </keybind>
   
   <keybind key="W-Down">
      <action name="If">
         <query target="focus">
            <maximizedvertical>true</maximizedvertical>
         </query>
         <then>
            <action name="If">
               <query target="focus">
                  <maximizedhorizontal>true</maximizedhorizontal>
               </query>
               <then>
                  <action name="UnmaximizeFull"/>
                  <action name="MoveResizeTo">
                     <y>-0</y>
                     <height>50%</height>
                     <width>100%</width>
                  </action>
                  <action name="MaximizeHorz"/>
               </then>
               <else>
                  <action name="UnmaximizeFull"/>
                  <action name="MoveResizeTo">
                     <y>-0</y>
                     <height>50%</height>
                  </action>
               </else>
            </action>
         </then>
         <else>
            <action name="MaximizeVert"/>
         </else>
      </action>
   </keybind>

   <keybind key="W-Left">
      <action name="If">
         <query target="focus">
            <maximizedhorizontal>true</maximizedhorizontal>
         </query>
         <then>
            <action name="If">
               <query target="focus">
                  <maximizedvertical>true</maximizedvertical>
               </query>
               <then>
                  <action name="UnmaximizeFull"/>
                  <action name="MoveResizeTo">
                     <x>0</x>
                     <width>50%</width>
                  </action>
                  <action name="MaximizeVert"/>
               </then>
               <else>
                  <action name="UnmaximizeFull"/>
                  <action name="MoveResizeTo">
                     <x>0</x>
                     <width>50%</width>
                  </action>
               </else>
            </action>
         </then>
         <else>
            <action name="MaximizeHorz"/>
         </else>
      </action>
   </keybind>

   <keybind key="W-Right">
      <action name="If">
         <query target="focus">
            <maximizedhorizontal>true</maximizedhorizontal>
         </query>
         <then>
            <action name="If">
               <query target="focus">
                  <maximizedvertical>true</maximizedvertical>
               </query>
               <then>
                  <action name="UnmaximizeFull"/>
                  <action name="MoveResizeTo">
                     <x>-0</x>
                     <width>50%</width>
                     <height>100%</height>
                  </action>
                  <action name="MaximizeVert"/>
               </then>
               <else>
                  <action name="UnmaximizeFull"/>
                  <action name="MoveResizeTo">
                     <x>-0</x>
                     <width>50%</width>
                  </action>
               </else>
            </action>
         </then>
         <else>
            <action name="MaximizeHorz"/>
         </else>
      </action>
   </keybind>

   <keybind key="W-F5">
      <action name="Reconfigure"/>
   </keybind>


Oh ya, we can reconfigure the openbox by press winkey + F5 (I include that in the keybind).

Thank you for your Busterdog build. With this Busterdog, I have a Libreoffice 6.4.4.1 from buster-backports repo in this 32bit Busterdog.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4479
Location: holland

PostPosted: Sat 16 May 2020, 15:36    Post subject:  

Very nice stuff, thanks recobayu !

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
recobayu


Joined: 15 Sep 2010
Posts: 389
Location: indonesia

PostPosted: Tue 19 May 2020, 06:35    Post subject:  

I look at here:
http://openbox.org/wiki/Help:WindowsInteractionWithWindowsKey
and I got this shortcut is better than mine in the previous post. Here the script:
Code:

    <keybind key="W-Up">
      <action name="UnmaximizeFull"/>
      <action name="GrowToEdgeNorth"/>
    </keybind>
    <keybind key="W-Down">
      <action name="UnmaximizeFull"/>
      <action name="GrowToEdgeSouth"/>
    </keybind>
    <keybind key="W-Left">
      <action name="UnmaximizeFull"/>
      <action name="GrowToEdgeWest"/>
    </keybind>
    <keybind key="W-Right">
      <action name="UnmaximizeFull"/>
      <action name="GrowToEdgeEast"/>
    </keybind>

    <keybind key="W-S-Up">
      <action name="UnmaximizeFull"/>
      <action name="ShrinkToEdge">
      <direction>north</direction>
      </action>
    </keybind>
    <keybind key="W-S-Down">
      <action name="UnmaximizeFull"/>
      <action name="ShrinkToEdge">
      <direction>South</direction>
      </action>
    </keybind>
    <keybind key="W-S-Left">
      <action name="UnmaximizeFull"/>
      <action name="ShrinkToEdge">
      <direction>West</direction>
      </action>
    </keybind>
    <keybind key="W-S-Right">
      <action name="UnmaximizeFull"/>
      <action name="ShrinkToEdge">
      <direction>East</direction>
      </action>
    </keybind>
   
    <keybind key="W-C-Up">
     <action name="MoveToEdgeNorth"/>
   </keybind>
   <keybind key="W-C-Down">
     <action name="MoveToEdgeSouth"/>
   </keybind>
   <keybind key="W-C-Left">
     <action name="MoveToEdgeWest"/>
   </keybind>
   <keybind key="W-C-Right">
     <action name="MoveToEdgeEast"/>
   </keybind>
   
    <keybind key="W-F5">
      <action name="Reconfigure"/>
   </keybind>


I very like this busterdog. I make it like MX linux. I change theme. But I use openbox. The advantage of busterdog is the capability to run several apps like in puppy linux. use gtkdialog, use sfs load, and it also can do an `apt install` job but still in very low memory usage, it is about 150mb ram usage if I do not use palemoon. and with palemoon, it is about 650mb of ram..
Thank you, Fred..

NB:
Why this busterdog doesn't appear in distrowatch? Maybe it can be in number 1 like mxlinux.

Last edited by recobayu on Thu 25 Jun 2020, 00:37; edited 1 time in total
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4479
Location: holland

PostPosted: Fri 29 May 2020, 10:49    Post subject:  

Some packages upgraded:
(also upgraded in Stretchdog and Bionicdog repos)

- gtkdialog (now v0.8.9)
There was a problem with the <terminal> widget, turned out to be a bug in 01micko's github repo, see here for more info:
http://murga-linux.com/puppy/viewtopic.php?p=1059157#1059157 (thanks, SFR)
And mcewanw included the fix in: https://github.com/DebianDog/Gtkwialog

- youtube-viewer (now v3.7.6)
Quote from "trizen", the maintainer at github:
Quote:
This release include a fix for "No streaming URL has been found" issue.


Install with synaptic or with apt from terminal.

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
enrique

Joined: 09 Nov 2019
Posts: 598
Location: Planet Earth

PostPosted: Sat 30 May 2020, 00:29    Post subject:  

One last time. THANK YOU. Downloading both debs as I have interest in both.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4479
Location: holland

PostPosted: Sun 31 May 2020, 04:47    Post subject:  

Some packages updated in repo's:
By rcrsn51:
- peasyscan, see info Here
- peasyfwmon (Peasy Firewall Monitor)

- straw-viewer (v0.0.4 now), very similar to (gtk-)youtube-viewer, but gtk3 based
Includes a fix for "No streaming URL has been found" issue.
This will replace youtube-viewer (if installed), straw-viewer may be more reliable than youtube-viewer because it depends on the invidious API https://invidio.us/
(latest youtube-viewer (v3.7.6) is packaged with my API key in /root/.config/youtube-viewer, which may be blocked sometimes, I suspect because of maximum user limit)

Install with synaptic or apt (from terminal)

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
enrique

Joined: 09 Nov 2019
Posts: 598
Location: Planet Earth

PostPosted: Sun 31 May 2020, 05:47    Post subject:  

fredx181
Wao. For some time I had unreliable methods to Youtube downloads. And every time fredx181 is keeping us up to date and with even new methods.

I had even got out of confusion. Many of us in the past posted weird behavior, well some unexplained used of bandwidth by gtk viewer. Well after following fredx181 and doing my own learning I found it has nothing to do with gtk-youtube-viewer. What happened is that youtube-dl is very persistent. So If we start a download and stop it, youtube-dl will try to download the full video anyway. So there the difference, I found then easily use taskmanager to kill youtube-dl if I need to stop halfway download for sure. In conclusion now that I know where my lost bandwidth was, I am a very happy user of all this methods, smtube, youtube-dl, gtk-youtuve-viewer, smplayer and the new straw-viewer. Thanks.
Back to top
View user's profile Send private message 
keniv

Joined: 06 Oct 2009
Posts: 607
Location: Scotland

PostPosted: Thu 11 Jun 2020, 10:12    Post subject:  

Hi All,
I have a manual frugal install of BusterDog on a 4GB flash drive formatted as ntfs. It has a 1GB save file. I had other stuff on this drive which I have now deleted and I now want to increase the size of the save file to 3GB. When I go to Menu>DDogSpecial>Resize Save File I find "Resizing mounted save file is not possible". How do I dismount the save file in order to increase its size? Please don't tell me I should use a save folder. I have had hit and miss experiences in trying to get save folders to work in the past whereas save files always seem to work for me. The other thing is I do not want to lose the contents of the 1GB save folder I have now.

Regards,

Ken.
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 1555

PostPosted: Thu 11 Jun 2020, 12:44    Post subject:  

keniv wrote:
Hi All,
I have a manual frugal install of BusterDog on a 4GB flash drive formatted as ntfs. It has a 1GB save file. I had other stuff on this drive which I have now deleted and I now want to increase the size of the save file to 3GB. When I go to Menu>DDogSpecial>Resize Save File I find "Resizing mounted save file is not possible". How do I dismount the save file in order to increase its size? Please don't tell me I should use a save folder. I have had hit and miss experiences in trying to get save folders to work in the past whereas save files always seem to work for me. The other thing is I do not want to lose the contents of the 1GB save folder I have now.

Regards,

Ken.


Boot without the save file and expand your save file from there.

If using Grub4Dos and porteus boot, add an entry into the menu.1st file like so (change for your path obviously):

Quote:
title BusterDog (sda2) No Changes from=/BusterDog/
root (hd0,1)
kernel (hd0,1)/BusterDog/live/vmlinuz1 noauto from=/BusterDog/
initrd (hd0,1)/BusterDog/live/initrd1.xz


edit: If it were me, once you are booted with no save file, I'd make a backup of the save file before you do anything else.
Back to top
View user's profile Send private message 
keniv

Joined: 06 Oct 2009
Posts: 607
Location: Scotland

PostPosted: Fri 12 Jun 2020, 08:40    Post subject:  

@dancytron

Did as you suggested above and I now have a 3GB save file which appears to be working ( I upgraded BusterDog. The upgrade included Palemoon which now shows as 28.10 ). I'll keep the backup of the 1GB changes.dat file until I'm sure everything is definitely OK.

I guess the
Code:
noauto from=/BusterDog/

in BusterDog is equivalent to
Code:
pfix=ram

in the puppys. Very useful. Thanks for your help.

Regards,

Ken.
Edit Now not sure about this having worked. Checked version of palemoon and it was back at at the version I had before I upgraded. I then upgraded palemoon via the option in palemoon. It has updated again to 28.10. I have rebooted and this time palemoon is still 28.10. I'll keep an eye on It.
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 1555

PostPosted: Fri 12 Jun 2020, 12:33    Post subject:  

keniv wrote:
@dancytron

/snip

I guess the
Code:
noauto from=/BusterDog/

in BusterDog is equivalent to
Code:
pfix=ram

in the puppys. Very useful. Thanks for your help.

/snip


It's removing the "changes=XXX" that makes it ignore the save file.
Back to top
View user's profile Send private message 
enrique

Joined: 09 Nov 2019
Posts: 598
Location: Planet Earth

PostPosted: Fri 12 Jun 2020, 13:38    Post subject:  

keniv

Because you have just a 4GB flash. I have a suggestion that had work for me.

change.dat is your equivalent "PuppySave". change.dat is a file that holds ext image. This has no compression.

In the other hand, 01-filesystem.squashfs, is where ButserDog is store. And do have compression.

If you do a Remaster. Then most of the installed libraries currently store at change.dat will move to 01-filesystem.squashfs. This process save space as you see.

Now this is just for you to consider, Remastering is a process that requires even more ext space and most likely you need a external HDD to save a backup of the current files. Be careful and ask for help.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 22 of 24 [360 Posts]   Goto page: Previous 1, 2, 3, ..., 20, 21, 22, 23, 24 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

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
[ Time: 0.1515s ][ Queries: 13 (0.0095s) ][ GZIP on ]