XenialDog (Ubuntu 16.04 'Xenial Xerus' LTS, 32-bit)

A home for all kinds of Puppy related projects
Message
Author
zagreb999
Posts: 567
Joined: Fri 11 Apr 2014, 06:39
Location: Yugoslavija

djview4

#981 Post by zagreb999 »

... it is impossible to install
djview4 on xd!!!

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

Re: djview4

#982 Post by fredx181 »

zagreb999 wrote:... it is impossible to install
djview4 on xd!!!
For me it works, why not for you, what does it say ?

Code: Select all

root@xenial:~# apt-get install djview4
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libdjvulibre-text libdjvulibre21 libgudev-1.0-0 libinput-bin libinput10 libpcre16-3
  libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5 libqt5opengl5 libqt5printsupport5
  libqt5widgets5 libwacom-common libwacom2 libxcb-icccm4 libxcb-image0 libxcb-keysyms1
  libxcb-randr0 libxcb-render-util0 libxcb-xkb1 libxkbcommon-x11-0
Suggested packages:
  djvulibre-bin djview-plugin libqt5libqgtk2 qt5-image-formats-plugins qtwayland5
Recommended packages:
  djvulibre-desktop qttranslations5-l10n libqt5svg5 libwacom-bin
The following NEW packages will be installed:
  djview4 libdjvulibre-text libdjvulibre21 libgudev-1.0-0 libinput-bin libinput10
  libpcre16-3 libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5 libqt5opengl5
  libqt5printsupport5 libqt5widgets5 libwacom-common libwacom2 libxcb-icccm4
  libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xkb1
  libxkbcommon-x11-0
0 upgraded, 23 newly installed, 0 to remove and 234 not upgraded.
Need to get 11.6 MB of archives.
After this operation, 44.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://nl.archive.ubuntu.com/ubuntu xenial/main i386 libxcb-icccm4 i386 0.4.1-1ubuntu1 [10.8 kB]
Get:2 http://nl.archive.ubuntu.com/ubuntu xenial/main i386 libxcb-keysyms1 i386 0.4.0-1 [8562 B
.....
.....]

zagreb999
Posts: 567
Joined: Fri 11 Apr 2014, 06:39
Location: Yugoslavija

#983 Post by zagreb999 »

thanks fred

i already resolved...

great app is djview4!

zagreb999
Posts: 567
Joined: Fri 11 Apr 2014, 06:39
Location: Yugoslavija

slimjet 20

#984 Post by zagreb999 »

any help?
slimjet 20
on xenialdog?

thanks!

User avatar
mikeslr
Posts: 3890
Joined: Mon 16 Jun 2008, 21:20
Location: 500 seconds from Sol

#985 Post by mikeslr »

Hi zagreb999,

OscarTalks just published slimjet 20 as both a pet and an SFS, http://murga-linux.com/puppy/viewtopic. ... 08#1006708. Perhaps the SFS could be loaded in XenialDog? May require installing some libs. To figure out which, I've been advised that ldd works under the Dogs. But see the above post regarding what OscarTalks did.

Note, OscarTalks versions run as spot. Could probably be edited to run as whatever limited user XenialDog employs. Alternatively as OscarTalks post reveals what libraries were required --libgtk-3 and, as I understand it, the nss files otherwise provided by palemoon-- perhaps you could build your own starting with a slimjet 20 deb.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#986 Post by fredx181 »

zagreb999 wrote:any help?
slimjet 20
on xenialdog?
Assuming you downloaded and installed slimjet .deb from here:
https://www.slimjet.com/en/dlpage.php

Probably the problem is that it won't run as root.
Eerlier adding --no-sandbox worked to run Chromiium based browsers as root, but now it seems not working anymore.
So you need to run it as unprivileged user, if you have user "puppy" on your system, then this script should work to run Slimjet running as user puppy:

Code: Select all

#!/bin/bash

xhost +local:puppy

su puppy -c "/usr/bin/flashpeak-slimjet "$@" --user-data-dir=/home/puppy/slimjet/user --disk-cache-dir=/home/puppy/slimjet/cache --disk-cache-size=10000000 --media-cache-size=10000000 "$@""
Fred

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

#987 Post by dancytron »

fredx181 wrote:
zagreb999 wrote:any help?
slimjet 20
on xenialdog?
Assuming you downloaded and installed slimjet .deb from here:
https://www.slimjet.com/en/dlpage.php

Probably the problem is that it won't run as root.
Eerlier adding --no-sandbox worked to run Chromiium based browsers as root, but now it seems not working anymore.
So you need to run it as unprivileged user, if you have user "puppy" on your system, then this script should work to run Slimjet running as user puppy:

Code: Select all

#!/bin/bash

xhost +local:puppy

su puppy -c "/usr/bin/flashpeak-slimjet "$@" --user-data-dir=/home/puppy/slimjet/user --disk-cache-dir=/home/puppy/slimjet/cache --disk-cache-size=10000000 --media-cache-size=10000000 "$@""
Fred
--no-sandbox still works on Chrome latest version. (Google Chrome
Version 69.0.3497.100 (Official Build) (64-bit)).
#!/bin/sh

/usr/bin/google-chrome-stable --user-data-dir=/live/image/ChromeSettings/google-chrome/config --disk-cache-dir=/live/image/ChromeSettings/google-chrome/cache --disk-cache-size=10000000 --media-cache-size=10000000 --no-sandbox --disable-infobars "$@"

zagreb999
Posts: 567
Joined: Fri 11 Apr 2014, 06:39
Location: Yugoslavija

#988 Post by zagreb999 »

thanks to all!

who knows to ran slimjet20
as root as squashfs module?

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#989 Post by fredx181 »

dancytron wrote:--no-sandbox still works on Chrome latest version. (Google Chrome
Version 69.0.3497.100 (Official Build) (64-bit)).
Ah, ok, then probably Slimjet is an exception (only tried 32-bit, btw).
zagreb999 wrote:who knows to ran slimjet20
as root as squashfs module?
I don't think it's possible, I tried the slimjet v20 32-bit a few times again on different systems, cannot run as root.

Fred

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#990 Post by rufwoof »

fredx181 wrote:Eerlier adding --no-sandbox worked to run Chromium based browsers as root, but now it seems not working anymore.
So you need to run it as unprivileged user, if you have user "puppy" on your system, then this script should work to run Slimjet running as user puppy:

Code: Select all

#!/bin/bash
xhost +local:puppy
su puppy -c "/usr/bin/flashpeak-slimjet "$@" --user-data-dir=/home/puppy/slimjet/user --disk-cache-dir=/home/puppy/slimjet/cache --disk-cache-size=10000000 --media-cache-size=10000000 "$@""
--no-sandbox cripples Chrome's security measures. Opening up xhost + is as good as opening up running as root (user puppy can stuff things into any other window that might be running as root, such as a rox/thunar/pcmanfm window - perhaps issuing a file manager's open terminal window command and then stuffing rm -rf / or whatever into that (root) terminal window.
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#991 Post by wiak »

rufwoof wrote:Opening up xhost + is as good as opening up running as root (user puppy can stuff things into any other window that might be running as root, such as a rox/thunar/pcmanfm window - perhaps issuing a file manager's open terminal window command and then stuffing rm -rf / or whatever into that (root) terminal window.
Well, since I am still wiak when running as user 'puppy' and still wiak when running as user 'root', the above is all fine, thanks, and not any cause at all for alarm to me.

zagreb999
Posts: 567
Joined: Fri 11 Apr 2014, 06:39
Location: Yugoslavija

#992 Post by zagreb999 »

regards!

latest chromium as root
32 bit???

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#993 Post by fredx181 »

zagreb999 wrote:regards!

latest chromium as root
32 bit???
I'd say just install chromium-browser with Synaptic or apt-get and run with --no-sandbox

Code: Select all

chromium-browser --no-sandbox --disable-infobars
(just tested this and works, chromium-browser version 69)

You can also edit the .desktop launcher in /usr/share/applications and add --no-sandbox --disable-infobars to the Exec= line , then it will run as root from Menu

P.S. @all Let's talk somewhere else about security.

Fred

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#994 Post by rufwoof »

wiak wrote:
rufwoof wrote:Opening up xhost + is as good as opening up running as root (user puppy can stuff things into any other window that might be running as root, such as a rox/thunar/pcmanfm window - perhaps issuing a file manager's open terminal window command and then stuffing rm -rf / or whatever into that (root) terminal window.
Well, since I am still wiak when running as user 'puppy' and still wiak when running as user 'root', the above is all fine, thanks, and not any cause at all for alarm to me.
Fine. Any web site/link could achieve root access/control of your box via a single browser bug and you accept that. Just pointed it out as others might feel differently. Fred wants to consider it no further here so enough said.
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]

zagreb999
Posts: 567
Joined: Fri 11 Apr 2014, 06:39
Location: Yugoslavija

foxitsoftware

#995 Post by zagreb999 »


backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#996 Post by backi »

Hi Zagreb !

Maybe try this one :

Foxit Reader for Linux:
https://de.ccm.net/download/downloaden- ... fuer-linux

Tested in Bionic Dog .It is a deb File .
You can just extract the FoxitReader.deb and start the extracted deb from usr/bin/FoxitReader or install the deb.
But......as far as i remember FoxitReader gave me some Problems when printing Pdf Files .Sometimes it did not print correctly.....same problem occurs for me also with Evince Document Viewer .

User avatar
mikeslr
Posts: 3890
Joined: Mon 16 Jun 2008, 21:20
Location: 500 seconds from Sol

#997 Post by mikeslr »

Hi zagreb,

Ditto backi. IIRC, under Xenial it will require some qt-libs. ldd will sort out which and PPM will provide them.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

Re: foxitsoftware

#998 Post by fredx181 »

zagreb999 wrote:how to run?

https://www.foxitsoftware.com/pdf-reader/
It needs some extra packages (libraries) installed, works for me after:

Code: Select all

apt-get install libxslt1.1 liborc-0.4-0
Or try backi's suggestion (I didn't test that)

Fred

User avatar
Max Headroom
Posts: 421
Joined: Wed 28 Jun 2006, 07:17
Location: GodZone Kiwi
Contact:

#999 Post by Max Headroom »

G'day Fred & All, Please what's the meaning of this Triangle & How Do I Fix it Thanx?

;-)K
Attachments
shot-2019-03-17_17-28-36.jpg
(25.34 KiB) Downloaded 278 times
PC is Not Political Correctness :P , it's a Personal Computer! Boycott the Evil M$ & Google!

User avatar
Max Headroom
Posts: 421
Joined: Wed 28 Jun 2006, 07:17
Location: GodZone Kiwi
Contact:

#1000 Post by Max Headroom »

OK All I think I've Remedied that issue. Seems I Fixed it once I Created a Save Changes Folder & ReBooted.

But after Upgrading the Kernel & then ReBooting...

... it Stops w/ .... from= cheatcode is incorrect, press eNter to search through all devices.

So this is my menu.lst file

# menu.lst produced by grub4dosconfig-v1.7
color white/blue black/cyan white/black cyan/black
timeout 5
default 2

title XenialDog - porteus-boot Always Fresh
uuid 925a6463-4817-4542-8c72-2f6bfcd7a83f
kernel /casper/vmlinuz from=/ nomagic base_only norootcopy
initrd /casper/initrd1.xz

title XenialDog - porteus-boot in RAM (no save)
uuid 925a6463-4817-4542-8c72-2f6bfcd7a83f
kernel /casper/vmlinuz from=/ copy2ram
initrd /casper/initrd1.xz

title Angel Student Eco XenialDog - porteus-boot - save on EXIT changes to /mnt/sda1/casper/changes folder
uuid 925a6463-4817-4542-8c72-2f6bfcd7a83f
kernel /casper/vmlinuz from=/ noauto changes=EXIT:/mnt/sda1/casper/
initrd /casper/initrd1.xz

title XenialDog - porteus-boot - in RAM save on EXIT changes=/casper/changes.dat file
uuid 925a6463-4817-4542-8c72-2f6bfcd7a83f
kernel /casper/vmlinuz from=/ noauto copy2ram changes=EXIT:/casper/changes.dat
initrd /casper/initrd1.xz

title XenialDog - porteus-boot - changes=/casper/changes.dat file
uuid 925a6463-4817-4542-8c72-2f6bfcd7a83f
kernel /casper/vmlinuz noauto from=/ changes=/casper/changes.dat
initrd /casper/initrd1.xz

title Angel Student Eco XenialDog - porteus-boot in RAM - changes to /mnt/sda1/casper/changes folder
uuid 925a6463-4817-4542-8c72-2f6bfcd7a83f
kernel /casper/vmlinuz noauto from=/ copy2ram changes=/mnt/sda1/casper/
initrd /casper/initrd1.xz

title XenialDog - casper-boot no-persistent

Please Help, What's wRong w/ the CheatCode Please?

;-)K
PC is Not Political Correctness :P , it's a Personal Computer! Boycott the Evil M$ & Google!

Post Reply