Dpup Stretch 7.5 CE (RC-5)

A home for all kinds of Puppy related projects
Message
Author
User avatar
mikeslr
Posts: 3890
Joined: Mon 16 Jun 2008, 21:20
Location: 500 seconds from Sol

#381 Post 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.

WiZard
Posts: 119
Joined: Sun 11 Sep 2005, 20:04
Location: Oklahoma USA

Gnumeric file open

#382 Post 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?

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#383 Post by don570 »

Maybe a mime file can be modified.

http://puppylinux.org/wikka/HowToAddMIMEType

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

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#384 Post 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
__________________________________________

Terry H
Posts: 708
Joined: Sun 29 Mar 2009, 16:48
Location: The Heart of Muskoka, ON Canada

#385 Post 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.

WiZard
Posts: 119
Joined: Sun 11 Sep 2005, 20:04
Location: Oklahoma USA

Gnumeric file open

#386 Post 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

WiZard
Posts: 119
Joined: Sun 11 Sep 2005, 20:04
Location: Oklahoma USA

Gnumeric file open

#387 Post 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

radky
Posts: 977
Joined: Mon 03 May 2010, 03:13

Re: Gnumeric file open

#388 Post 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
[color=blue][b][url=http://www.smokey01.com/radky/PupMates.html]PupMates[/url][/b][/color]

Terry H
Posts: 708
Joined: Sun 29 Mar 2009, 16:48
Location: The Heart of Muskoka, ON Canada

Re: Gnumeric file open

#389 Post 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.

WiZard
Posts: 119
Joined: Sun 11 Sep 2005, 20:04
Location: Oklahoma USA

Gnumeric file open

#390 Post by WiZard »

@radky

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

WiZard
Posts: 119
Joined: Sun 11 Sep 2005, 20:04
Location: Oklahoma USA

remaster problems

#391 Post 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.

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

virtualbox on stretch 32bit

#392 Post 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!
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

radky
Posts: 977
Joined: Mon 03 May 2010, 03:13

Re: remaster problems

#393 Post 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.
[color=blue][b][url=http://www.smokey01.com/radky/PupMates.html]PupMates[/url][/b][/color]

radky
Posts: 977
Joined: Mon 03 May 2010, 03:13

Re: virtualbox on stretch 32bit

#394 Post 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.
Attachments
VirtualBox_missing_libs.png
(77.38 KiB) Downloaded 888 times
[color=blue][b][url=http://www.smokey01.com/radky/PupMates.html]PupMates[/url][/b][/color]

User avatar
norgo
Posts: 388
Joined: Fri 13 Nov 2015, 17:19
Location: Germany
Contact:

Re: virtualbox on stretch 32bit

#395 Post 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
Attachments
lib_modules.jpg
modules folder
(21.67 KiB) Downloaded 777 times
virtualbox-5.1.10-112026-kmp-k4.9.101-pae-i686.pet.tar
kernel modules package
please remove tar fake extension
(141.4 KiB) Downloaded 124 times
Last edited by norgo on Fri 19 Oct 2018, 22:18, edited 1 time in total.

WiZard
Posts: 119
Joined: Sun 11 Sep 2005, 20:04
Location: Oklahoma USA

Remastering

#396 Post 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

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#397 Post 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.

radky
Posts: 977
Joined: Mon 03 May 2010, 03:13

#398 Post 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).
Attachments
image-1.png
(16.88 KiB) Downloaded 701 times
[color=blue][b][url=http://www.smokey01.com/radky/PupMates.html]PupMates[/url][/b][/color]

User avatar
norgo
Posts: 388
Joined: Fri 13 Nov 2015, 17:19
Location: Germany
Contact:

#399 Post by norgo »

radky wrote: I could provide a basename link to the stretch kernel (see image below).
good idea, thanks

User avatar
perdido
Posts: 1528
Joined: Mon 09 Dec 2013, 16:29
Location: ¿Altair IV , Just north of Eeyore Junction.?

#400 Post by perdido »

Hi,

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

.

Post Reply