Page 20 of 36

Posted: Sun 07 Oct 2018, 00:05
by mikeslr
I haven't tried it under Dpup Stretch, but I rather like OscarTalks' SWIron, which I've discussed and provide a link to here: http://murga-linux.com/puppy/viewtopic. ... 40#1006640.

As a long time fan of opera's speed-dial, I usually install the extension named "Speed Dial 2 New Tab". With it, two webpages are one click away when it opens: (1) This Forum's Index page, and (2) https://cse.google.com/cse?cx=015995643 ... #gsc.tab=0 a dedicted Puppy Linux Google-Search page.

Adding https://start.me/start/us/startpage as another "launcher" puts many commonly used websites 2 clicks away. start.me is the default Home page of Palemoon. But I wish I could figure out how to add my two Puppy "launchers" to it without "signing in". I suspect that "signing in" may be necessary to obtain the green + icon said to be at the top-right which is to be clicked to initiate the widget construction process, but which does not appear.

Gnumeric file open

Posted: Sat 13 Oct 2018, 16:57
by WiZard
I have the 32 bit rc3, kernel 4.9.101 frugal install. Gnumeric is v1.10.17.
When a data file like .xls, xml, etc is clicked, Gnumeric opens but does not open the data file. I tested on another computer running kernel 4.9.71 and got the same result. Here are other test:

The file/open in Gnumeric and drag & drop both work correctly in rc3.

Opened terminal and ran: gnumeric /path/filename
Same result, Gnumeric opens but does not open the data file.

Tested with Slacko 6.3.0 that has Gnumeric v1.10.17
Clicked data file, Gnumeric opens and opens the data file.


This seems like it may just be related to Gnumeric that's in Dpup

Anyone know to correct this?

Posted: Sat 13 Oct 2018, 19:09
by don570
Maybe a mime file can be modified.

http://puppylinux.org/wikka/HowToAddMIMEType

http://puppylinux.org/wikka/AssociateFiles
______________________________________________

Posted: Sat 13 Oct 2018, 19:29
by don570
Also the script that launches the app must have file in quotes.
For instance I found that I had to have "$@" after the app name
in a wrapper script I wrote to open audacious by clicking a song.

Code: Select all

/usr/bin/audacious  "$@" 
Check the desktop file in /usr/share/applications/

___________________________________________

By the way this was the wrapper script ....

Code: Select all

#!/bin/sh
LD_LIBRARY_PATH=/opt/audacious64-2.5.1/usr/lib
export LD_LIBRARY_PATH
/usr/bin/audacious  "$@" 
I was storing the libraries in a different place to be safe.
_____________________________________________


I made a desktop icon to launch audacious --->

Code: Select all

sed -i "s|</pinboard>|<icon x=\"72\" y=\"482\" label=\"Audacious\">/usr/bin/audacious-wrapper</icon>\n</pinboard>|" "/root/.config/rox.sourceforge.net/ROX-Filer/PuppyPin"

This changed the puppypin file.

Here is the package I was making....
http://murga-linux.com/puppy/viewtopic. ... 74#1006274
__________________________________________

Posted: Sat 13 Oct 2018, 20:46
by Terry H
@WIZard

Can confirm gnumeric is performing as per your post using gnumeric 1.10.17 in dpup stretch rc3.

I checked in upupbb which also has gnumeric 1.10.17, when clicked on a file in rox, or from a terminal, gnumeric is started displaying the intended file as expected.

Gnumeric file open

Posted: Sat 13 Oct 2018, 20:50
by WiZard
Hi don570,

Tried right clicking data file and choosing: Open with Gnumeric
=did not load data file

The mime file is:
#! /bin/sh
exec defaultspreadsheet "$1"

Tried changing to "$@"
=did not load data file

Tried changing to: exec gnumeric "$1"
=did not load data file

Created the script file gn.sh containing:
#! /bin/sh
gnumeric "$@"

Executed in terminal: ./gn.sh /path/filename
=did not load data file

All of these test work with other apps like Abiword or Geany, just don't know why Gnumeric fails.

Let me know if I missed something in your reply.

Thanks

Gnumeric file open

Posted: Sat 13 Oct 2018, 21:08
by WiZard
@Terry H

Thanks for the confirmation, at least I won't feel like the village idiot for something I missed on my systems. LOL

Re: Gnumeric file open

Posted: Sat 13 Oct 2018, 21:49
by radky
WiZard wrote:I have the 32 bit rc3, kernel 4.9.101 frugal install. Gnumeric is v1.10.17. When a data file like .xls, xml, etc is clicked, Gnumeric opens but does not open the data file.
Hi WiZard,

Load the /usr/bin/gnumeric wrapper in a text editor and replace the exec line with the following:

exec /usr/bin/gnumeric-1.10.17 "$@" 2>/dev/null &

---

I will include this fix, plus many more, in the next release (RC4).

Thanks

Re: Gnumeric file open

Posted: Sat 13 Oct 2018, 22:15
by Terry H
radky wrote: I will include this fix, plus many more, in the next release (RC4).

Thanks
Excellent, looking forward to a new version of stretch.

Gnumeric file open

Posted: Sat 13 Oct 2018, 22:40
by WiZard
@radky

Works perfect, thanks for the fix and thanks for this great puppy

remaster problems

Posted: Mon 15 Oct 2018, 17:45
by WiZard
I have customized rc3 with wallpapers, documents, themes, directories, symlinks, programs and changed the wm to openbox/fbpanel.

This is the procedure I've used with other puppies

Remaster as follows:
-run standard remaster from menu
-at /tmp/root message (this section insures all my changes are included)
delete the contents of /tmp/root
copy contents of /root to tmp/root

-at /etc message (this section insures openbox/fbpael is used)
copy /etc/windowmanager to tmp/etc

The remaster boots fine with the changes, but when you right click the desktop it generates a "root-menu" not found message.

This was fixed as follows:
-at /etc message
copy /etc/xdg/menus to /tmp/etc/xdg/menus
copy /etc/xdg/openbox to /tmp/etc/xdg/openbox

Also found that a save file created by the remastered puppy does not load on reboot.

virtualbox on stretch 32bit

Posted: Tue 16 Oct 2018, 20:24
by sc0ttman
How do I get Virtualbox working?

I'd really like to make VirtualBox work in RC3...

I am assuming the repo packages don't work, cos I couldn't make them work, and Puppy runs a different kernel than Debian...

(Currently I am running RC1 (IIRC) ... But I booted RC3 today, with devx and kernel sources SFS loaded..)

In RC3, I downloaded the i386 virtualbox .deb package from the homepage (about 63mb), and installed it..

I ran it, and it said I should run `vboxsetup` (or something), to build the kernel modules..

So I did ... but it couldn't build the kernel modules... It said the Linux headers files were not present...

I don't actually know what I am doing, so any guidance would be appreciated!

Re: remaster problems

Posted: Thu 18 Oct 2018, 19:56
by radky
WiZard wrote:I have customized rc3 with wallpapers, documents, themes, directories, symlinks, programs and changed the wm to openbox/fbpanel.

This is the procedure I've used with other puppies

Remaster as follows:
-run standard remaster from menu
-at /tmp/root message (this section insures all my changes are included)
delete the contents of /tmp/root
copy contents of /root to tmp/root

-at /etc message (this section insures openbox/fbpael is used)
copy /etc/windowmanager to tmp/etc

The remaster boots fine with the changes, but when you right click the desktop it generates a "root-menu" not found message.

This was fixed as follows:
-at /etc message
copy /etc/xdg/menus to /tmp/etc/xdg/menus
copy /etc/xdg/openbox to /tmp/etc/xdg/openbox

Also found that a save file created by the remastered puppy does not load on reboot.
Hi WiZard,

Thanks for testing rc3.

Today I remastered rc4 which is the upcoming release that includes multiple additional Woof-CE fixes to Puppy infrastructure.

Before the remaster, I followed your approach and switched to fbpanel/openbox.

Then during the remaster, at /etc message, I copied
1 - /etc/xdg/menus to /tmp/etc/xdg/menus
2 - /etc/xdg/openbox to /tmp/etc/xdg/openbox

After the remaster and subsequent manual frugal installation of the corresponding puppy_stretch_7.5.sfs, I booted the remastered rc4 without difficulty.

After making cosmetic changes to the desktop I created a non-encrypted savefile and rebooted. The savefile loaded correctly and all is well.

So, while testing the upcoming Dpup Stretch rc4, the /usr/sbin/remasterpup2 script is working OK for me.

Re: virtualbox on stretch 32bit

Posted: Thu 18 Oct 2018, 20:00
by radky
sc0ttman wrote:How do I get Virtualbox working?

I'd really like to make VirtualBox work in RC3...

I am assuming the repo packages don't work, cos I couldn't make them work, and Puppy runs a different kernel than Debian...

(Currently I am running RC1 (IIRC) ... But I booted RC3 today, with devx and kernel sources SFS loaded..)

In RC3, I downloaded the i386 virtualbox .deb package from the homepage (about 63mb), and installed it..

I ran it, and it said I should run `vboxsetup` (or something), to build the kernel modules..

So I did ... but it couldn't build the kernel modules... It said the Linux headers files were not present...

I don't actually know what I am doing, so any guidance would be appreciated!
Hi sc0ttman,

I have no experience with virtualbox, but after installing the i386 virtualbox .deb package you could try the following in a terminal to build the VirtualBox kernel modules.

Code: Select all

/etc/init.d/vboxdrv setup
For me, the above code returns the following:

vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.

At this point, the following kernel modules are created and loaded (go to Menu -> System -> Pup-Kview to view the loaded modules):

vboxdrv - Oracle VM VirtualBox Support Driver
vboxnetadp - Oracle VM VirtualBox Network Adapter Driver
vboxnetflt - Oracle VM VirtualBox Network Filter Driver
vboxpci - Oracle VM VirtualBox PCI access Driver

Also, you may have to add something like the following line to /etc/group:

vboxusers:x:1001:

---

Now, when I run VirtualBox in a terminal, I see the following:

Code: Select all

VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib/virtualbox/VirtualBox.so",) failed: libQt5X11Extras.so.5: cannot open shared object file: No such file or directory
So, it seems VirtualBox requires Qt5.

At this point, you can go to ROX-Filer and right-click /usr/lib/virtualbox, then select ListDD to show the missing Qt5 libs (see screenshot below).

Hopefully, the above will be helpful as you add the requisite libraries for VirtualBox.

Re: virtualbox on stretch 32bit

Posted: Thu 18 Oct 2018, 22:22
by norgo
radky wrote:...it seems VirtualBox requires Qt5.
yes, qt5 is needed to run virtualbox ( but should be already included by default )
please note: built-in qt5 libs are not located in default search path

you should find them under /opt/VirtualBox/
( in case of default installation without user specific prefix )

update:

@sc0ttman
Hi scotty, I created a kernel-module-package K 4.9.101-PAE for usage of virtualbox-5.1.10-112026
please install the kmp before you load the virtualbox SFS. So Virtualbox detect the kernelmodules automatically.

@radky
I'm really very impressed of your Dpup Stretch 7.5 CE ( very good job)

A little note:
the name of the folder for kernel modules is not a good choice.
why ?
as example the kmp for virtualbox
where should I put the modules ?
other distributions with the same kernel version most probably doesn't own a 4.9.101-stretch folder
simply the kernel version would be better in my opinion

Nevertheless very good distro

Remastering

Posted: Fri 19 Oct 2018, 21:34
by WiZard
@radky

Thanks for the confirmation on remastering, I use a small script file to make all my adjustments. I'll test it again on rc4 and if it runs correctly I'll upload it with some instructions for anyone whose interested.

wiz

Posted: Mon 22 Oct 2018, 18:12
by s243a
I noticed that the package manager says that util-linux is installed but it's not.

I wanted it for the lscpu command. Fortunately, it lets me install it even though it said it was installed.

I'm not sure whether the package manager saying that it was installed was intentional or not.

Posted: Mon 22 Oct 2018, 19:43
by radky
s243a wrote:
I noticed that the package manager says that util-linux is installed but it's not.
Hi s243a,

While checking a pristine installation of Dpup Stretch 7.5 RC4 (not yet released), I see the util-linux package (/root/.packages/woof-installed-packages/util-linux_2.29.2-1+deb9u1) and associated lscpu binary (/usr/bin/lscpu) are already installed. I'm not sure why the /usr/bin/lscpu binary is missing in your installation of RC3

---
norgo wrote:
the name of the folder for kernel modules (such as /lib/modules/4.9.101-stretch) is not a good choice.
Hi norgo,

To simplify kernel nomenclature for 3rd-party pets such as VirtualBox, I could provide a basename link to the stretch kernel (see image below).

Posted: Tue 23 Oct 2018, 18:05
by norgo
radky wrote: I could provide a basename link to the stretch kernel (see image below).
good idea, thanks

Posted: Sat 27 Oct 2018, 20:57
by perdido
Hi,

Anyone know where to get the kernel headers for kernel 4.1.48?
Thanks!

.