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   Log inLog in 

The time now is Mon 20 May 2019, 15:30
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Create Debian 9 (Stretch) minimal ISO similar to DebianDog
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 66 of 97 [1452 Posts]   Goto page: Previous 1, 2, 3, ..., 64, 65, 66, 67, 68, ..., 95, 96, 97 Next
Author Message
rijsmier

Joined: 12 Oct 2017
Posts: 9
Location: Harties, South Africa

PostPosted: Mon 29 Jan 2018, 03:01    Post subject:  

In my previous post I meant to use scroll wheel from one desktop to another.

How do I edit a post?
Back to top
View user's profile Send private message 
phat7

Joined: 05 Jun 2015
Posts: 121

PostPosted: Mon 29 Jan 2018, 03:36    Post subject:  

rijsmier wrote:
How do I edit a post?
After log in your post will have an Edit button in top right corner.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3918
Location: holland

PostPosted: Mon 29 Jan 2018, 07:49    Post subject:  

rijsmier wrote:
to use scroll wheel from one desktop to another.


Yes, that doesn't work (with openbox/xfce combination), but can be fixed (not easy though), described here:
http://openbox.org/wiki/Help:XFCE/Openbox
Quote:
Also, if you notice scrolling the wheel to change between virtual desktops skips one or another virtual desktop (and this bothers you and would like to fix it just for mental sake), open your ~/.config/openbox/rc.xml file and move the mouse binds with actions "DesktopPrevious" and "DesktopNext" from the context "Desktop" to the context "Root" (you may need to define the Root context).

So, in ~/.config/openbox/rc.xml from line with <context name="Desktop"> till the end of <context name="Root"> (line 732 to 810) becomes:
(all sections containing "GoToDesktop" moved to context named "Root")
Code:
    <context name="Desktop">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="Right" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
    </context>
    <context name="Root">
      <!-- Menus -->
      <mousebind button="Up" action="Click">
        <action name="GoToDesktop">
          <to>previous</to>
        </action>
      </mousebind>
      <mousebind button="Down" action="Click">
        <action name="GoToDesktop">
          <to>next</to>
        </action>
      </mousebind>
      <mousebind button="A-Up" action="Click">
        <action name="GoToDesktop">
          <to>previous</to>
        </action>
      </mousebind>
      <mousebind button="A-Down" action="Click">
        <action name="GoToDesktop">
          <to>next</to>
        </action>
      </mousebind>
      <mousebind button="C-A-Up" action="Click">
        <action name="GoToDesktop">
          <to>previous</to>
        </action>
      </mousebind>
      <mousebind button="C-A-Down" action="Click">
        <action name="GoToDesktop">
          <to>next</to>
        </action>
      </mousebind>
      <mousebind button="Middle" action="Press">
        <action name="ShowMenu">
          <menu>client-list-combined-menu</menu>
        </action>
      </mousebind>
      <mousebind button="Left" action="Press">
        <action name="ShowMenu">
          <menu>root-menu</menu>
        </action>
      </mousebind>
      <mousebind button="Right" action="Press">
        <action name="ShowMenu">
          <menu>desktop-app-menu-lxde</menu>
        </action>
      </mousebind>
    </context>
    <context name="MoveResize">
      <mousebind button="Up" action="Click">
        <action name="GoToDesktop">
          <to>previous</to>
        </action>
      </mousebind>
      <mousebind button="Down" action="Click">
        <action name="GoToDesktop">
          <to>next</to>
        </action>
      </mousebind>
      <mousebind button="A-Up" action="Click">
        <action name="GoToDesktop">
          <to>previous</to>
        </action>
      </mousebind>
      <mousebind button="A-Down" action="Click">
        <action name="GoToDesktop">
          <to>next</to>
        </action>
      </mousebind>
    </context>


EDIT: For info, you can also use keyboard shortcut Ctrl+Alt+left or Ctrl+Alt+right for to switch to next or previous desktop (if these shortcuts are set, not sure if it is on your install)

Instructions for to install virtualbox, here:
https://wiki.debian.org/VirtualBox#Debian_9_.22Stretch.22

Quote:
In synaptic I can't change the size of the panels.


Yes, well, it's possible, but hard to do, it's because of the cursor theme not playing well with gtk3 (probably using "aero" now ?)
Can be fixed by using other cursor theme, e.g. dmz-cursor-theme;
Code:
apt-get install dmz-cursor-theme

And set it to that in "Customize look and feel"

Fred

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


Joined: 05 Sep 2006
Posts: 12627
Location: Stratford, Ontario

PostPosted: Mon 29 Jan 2018, 11:19    Post subject:  

Here is an automated method for converting the Palemoon browser into a squashfs module. And here are the matching scripts for OpenOffice and LibreOffice.

Unpack the attachment below. It is NOT a fake .gz file!
It contains a script and a How-To file. Read the file first.

Important: Run these scripts in a CleanMode setup so they don't conflict with any currently installed versions.

For the Kingsoft WPS Office suite, read here.

-------------------------
make-palemoon-squash.tar.gz
Description  Updated 2019-01-14
gz

 Download 
Filename  make-palemoon-squash.tar.gz 
Filesize  1.14 KB 
Downloaded  180 Time(s) 
make-libreoffice-squash.tar.gz
Description  Updated 2019-01-14
gz

 Download 
Filename  make-libreoffice-squash.tar.gz 
Filesize  882 Bytes 
Downloaded  179 Time(s) 
make-openoffice-squash.tar.gz
Description  Updated 2019-01-14
Bugfix that no one reported for a year
gz

 Download 
Filename  make-openoffice-squash.tar.gz 
Filesize  925 Bytes 
Downloaded  163 Time(s) 

Last edited by rcrsn51 on Fri 08 Feb 2019, 04:16; edited 11 times in total
Back to top
View user's profile Send private message 
rijsmier

Joined: 12 Oct 2017
Posts: 9
Location: Harties, South Africa

PostPosted: Mon 29 Jan 2018, 13:32    Post subject:  

Fred

Thank you for all the information. I got used to doing things my way, but it is no sweat to learn doing it differently. synaptic is just easy to do a quick search. apt-get is still my preferred way to install programs.

Now my serious question: Can I use Debian 9 (Stretch) as my main Linux program? Are you going to keep developing it for the foreseeable future? I really like openbox and the way you set it up. I have looked at Barry Kauler's new directions, but he seems to get bored and then he goes off in another direction. Also he is not using Debian, which I prefer.

Reinier
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3918
Location: holland

PostPosted: Tue 30 Jan 2018, 06:42    Post subject:  

rcrsn51 wrote:
Here is an automated method for converting the Palemoon browser into a squashfs module.

Unpack the attachment below. It is NOT a fake .gz file!

It contains a script and a howto file. Read the file first.

[Update] Here are the matching scripts for OpenOffice and LibreOffice.


Nice ! added these also to NoRepo section:
https://fredx181.github.io/StretchDog/NoRepo/

@rijsmier
Quote:
Now my serious question: Can I use Debian 9 (Stretch) as my main Linux program? Are you going to keep developing it for the foreseeable future? I really like openbox and the way you set it up. I have looked at Barry Kauler's new directions, but he seems to get bored and then he goes off in another direction. Also he is not using Debian, which I prefer.


One can never know, but I don't have plans to stop doing what I do now in the the near future.

Fred

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


Joined: 05 Sep 2006
Posts: 12627
Location: Stratford, Ontario

PostPosted: Tue 30 Jan 2018, 07:47    Post subject:  

I have some apps packaged as squashfs modules that I only use occasionally, and I wanted a fast way to load them on-demand.

So I collected them into a common "squash repo" folder and made the following applet. It is just a front-end for the loadmodule command.

The applet has a system tray launcher. It runs from /root/Startup and will appear on the next reboot.

Update: V1.4 changes the function of the .group object. Previously, it was a text file that contained a list of module names. Now it is a subfolder of the repo that contains the actual modules in the group.

For example, a subfolder named Useful.group could contain a set of modules that you want to load together with one click.

Note: Some modules want to run 'update-mime-database /usr/share/mime' whenever they are loaded. This causes a long pause and disk thrashing.

To stop it, comment out line 124 of /usr/local/bin/loadmodule.
If needed, you can run the command manually with the Update Mime checkbox.

Remove the fake .gz extension.

---------------------
my-squash-loader_1.4_i386.deb.gz
Description  Updated 2019-01-15
New .group function
gz

 Download 
Filename  my-squash-loader_1.4_i386.deb.gz 
Filesize  6.68 KB 
Downloaded  28 Time(s) 
my-squash-loader_1.4_amd64.deb.gz
Description  Updated 2019-01-15
New .group function
gz

 Download 
Filename  my-squash-loader_1.4_amd64.deb.gz 
Filesize  6.65 KB 
Downloaded  27 Time(s) 
snappie.png
 Description   
 Filesize   16.5 KB
 Viewed   739 Time(s)

snappie.png


Last edited by rcrsn51 on Tue 15 Jan 2019, 08:08; edited 26 times in total
Back to top
View user's profile Send private message 
rijsmier

Joined: 12 Oct 2017
Posts: 9
Location: Harties, South Africa

PostPosted: Tue 30 Jan 2018, 08:41    Post subject:  

@fred

Thank you - I'm converting!

Reinier
Back to top
View user's profile Send private message 
step

Joined: 04 May 2012
Posts: 1176

PostPosted: Wed 31 Jan 2018, 16:46    Post subject:  

I've been trying to run mklive_stretch on Fatdog64 but it fails. Specifically, when the script prepares the chroot environment, it doesn't create mount points, so mount --bind fails. I ended up adding mkdir -p chroot/{proc,dev/pts,sys,tmp} to the script. However, that isn't enough. The call to chroot chroot /bin/bash -c chroot_in fails with "chroot: /bin/bash: command not found". Indeed chroot/bin is empty bar for a broken symlink to busybox. I can't find where mklive_stretch populates the chroot bin directory prior to chrooting. So I suppose bin is populated from some of the downloaded packages or .tar.gz files. But how/where/when? I gave up trying to make it work on my own, and came here to ask for advice.

P.S. I downloaded debootstrap from http://ftp.debian.org/debian/pool/main/d/debootstrap/debootstrap_1.0.93_all.deb.

_________________
Fatdog64-801|+Packages|Kodi|Findnrun|+forum|gtkmenuplus
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12627
Location: Stratford, Ontario

PostPosted: Wed 31 Jan 2018, 20:11    Post subject:  

Hi Fred:

The script /usr/local/bin/loadmodule has a bug.

Line 139 needs a full path. The 32bit version would be:

Code:
/usr/lib/i386-linux-gnu/glib-2.0/glib-compile-schemas /usr/share/glib-2.0/schemas


Bill
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3918
Location: holland

PostPosted: Thu 01 Feb 2018, 06:07    Post subject:  

Hi step,

Tried on Fatdog 710 and the whole point is that the debootstrap process doesn't finish properly, by extracting and configuring the deb packages, that explains why /bin/bash not found in chroot (and that the directories proc sys dev are not created automatically in the chroot).

To make it work:
Besides installing debootstrap, install in Fatdog with gslapt: perl and dpkg
Optional: To create ISO, install xorriso from gslapt and isolinux package (isolinux not available from gslapt)
Debian package: http://ftp.de.debian.org/debian/pool/main/s/syslinux/isolinux_6.03+dfsg-14.1+deb9u1_all.deb
(untested on Fatdog)
Without xorriso and isolinux, ISO creation will fail, but the required files for a frugal install will be created. (in stretch/isodata/live)

@rcrsn51
Quote:
The script /usr/local/bin/loadmodule has a bug.

Line 139 needs a full path. The 32bit version would be:

Code:
/usr/lib/i386-linux-gnu/glib-2.0/glib-compile-schemas /usr/share/glib-2.0/schemas


Thanks, fixed now in newer version (1.0.4) of package "sfsload", install with synaptic or apt-get.
(separate package for i386 and amd64 now)

Fred

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


Joined: 05 Sep 2006
Posts: 12627
Location: Stratford, Ontario

PostPosted: Thu 01 Feb 2018, 07:05    Post subject:  

Hi Fred:

I have been looking at evince in your repo. The 32bit version needs libpoppler-glib8. It doesn't show as a dependency, but won't work without it.

I have patched it, bumped up the version number and posted the new package...

[Edit] Now in Fred's repo.

Bill

Last edited by rcrsn51 on Thu 08 Feb 2018, 12:54; edited 1 time in total
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3918
Location: holland

PostPosted: Thu 01 Feb 2018, 07:24    Post subject:  

rcrsn51 wrote:
Hi Fred:

I have been looking at evince in your repo. The 32bit version needs libpoppler-glib8. It doesn't show as a dependency, but won't work without it.

I have patched it, bumped up the version number and posted the new package here.

Bill


Ah, thanks again, added to 32bit repo now.

Fred

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


Joined: 05 Sep 2006
Posts: 12627
Location: Stratford, Ontario

PostPosted: Thu 01 Feb 2018, 07:48    Post subject:  

And here is the 64bit version.

[Edit] Now in Fred's repo.

It also needs a postinst script with symlinks to newer libs.

What are you using for a PDF viewer?

Last edited by rcrsn51 on Thu 08 Feb 2018, 12:55; edited 1 time in total
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3918
Location: holland

PostPosted: Thu 01 Feb 2018, 08:13    Post subject:  

rcrsn51 wrote:
And here is the 64bit version.

It also needs a postinst script with symlinks to newer libs.

What are you using for a PDF viewer?


OK, nice, will add to 64bit repo later today.
I use epdfview, but I'm really not viewing pdf's much, some types won't open in epdfview, then I try to open with firefox, probably evince is better (?)

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 66 of 97 [1452 Posts]   Goto page: Previous 1, 2, 3, ..., 64, 65, 66, 67, 68, ..., 95, 96, 97 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.0611s ][ Queries: 13 (0.0124s) ][ GZIP on ]