Page 1 of 2

Re: Fossapup Tips & Tricks

Posted: Tue Nov 10, 2020 6:36 am
by mistfire

Bluez works best if the dbus-daemon was runnning. I noticed that puppy does not run Dbus on boot. For fossapup or earlier puppy, do the following

  1. Edit /etc/rc.d/rc.sysinit and add these line at the part before connecting to network and starting services

    Code: Select all

    dbus-daemon --system
  2. Edit /etc/rc.d/rc.shutdown and add these line at the part after disconnecting to network and stopping services

    Code: Select all

    killall dbus-daemon

D-Bus handling on boot and shutdown is now on Woof-CE pull request. When it merged, there is no need to edit the sysinit and shutdown script for future puppies


Re: Fossapup Tips & Tricks

Posted: Tue Nov 10, 2020 3:42 pm
by 666philb
mistfire wrote: Tue Nov 10, 2020 6:36 am

Bluez works best if the dbus-daemon was runnning. I noticed that puppy does not run Dbus on boot. For fossapup or earlier puppy, do the following

  1. Edit /etc/rc.d/rc.sysinit and add these line at the part before connecting to network and starting services

    Code: Select all

    dbus-daemon --system
  2. Edit /etc/rc.d/rc.shutdown and add these line at the part after disconnecting to network and stopping services

    Code: Select all

    killall dbus-daemon

D-Bus handling on boot and shutdown is now on Woof-CE pull request. When it merged, there is no need to edit the sysinit and shutdown script for future puppies

isn't it started with /etc/init.d/dbus ?


Re: Fossapup Tips & Tricks

Posted: Tue Nov 10, 2020 4:03 pm
by mistfire

@666philb

Not all puppies have /etc/init.d/dbus script. If it is exists, just disable that script. Much better if D-bus started first before connecting to network and start services


Fossapup64: keyboard locale setting gone upon boot

Posted: Thu Nov 26, 2020 6:19 am
by charlie6

Hi,
deleted / moved to another thread because this issue is back again ...! :(
Best regards
HTH, Charlie


Re: Fossapup Tips & Tricks

Posted: Sun Dec 13, 2020 4:46 pm
by ETP

Installing Brother Printers:

The methods detailed on the old forum using the debbi-1.3.pet are now deprecated and will not work with Fossapup64 9.5

The solution for many Brother printers is to install the following package using PPM.

printer-driver-brlaser_6|printer-driver-brlaser|6|1build1|Filesystem;storage|74K|pool/main/b/brlaser|\
printer-driver-brlaser_6-1build1_amd64.deb|+libc6&ge2.14,+libcups2&ge2.3,+libgcc-s1&ge3.0,+libstdc++6&ge5.2|printer driver for some Brother laser printers|ubuntu|focal|

All the deps are satisfied in Fossa and the required Ghostscript is also present.
Once brlaser is installed, you can add your printer using the usual CUPS interface.

(Administration tab - Add Printer)
(Printers tab - Administration, Set As Server Default & use Set Default Options to set the paper size)

The CUPS interface can be accessed by inputting the URL localhost:631 in your browser address bar & I recommend creating a bookmark for it on the Bookmarks Bar (CUPS 2.3.1)

In addition to my own mono usb connected laser HL2035 which requires the HL2030 driver, the brlaser driver has been reported to work with the following:

• Brother DCP-1510 series
• Brother DCP-1600 series
• Brother DCP-7030
• Brother DCP-7040
• Brother DCP-7055
• Brother DCP-7055W
• Brother DCP-7060D
• Brother DCP-7065DN
• Brother DCP-7080
• Brother DCP-L2500D series
• Brother DCP-L2520D series
• Brother DCP-L2540DW series
• Brother HL-1110 series
• Brother HL-1200 series
• Brother HL-2030 series
• Brother HL-2140 series
• Brother HL-2220 series
• Brother HL-2270DW series
• Brother HL-5030 series
• Brother HL-L2300D series
• Brother HL-L2320D series
• Brother HL-L2340D series
• Brother HL-L2360D series
• Brother MFC-1910W
• Brother MFC-7240
• Brother MFC-7360N
• Brother MFC-7365DN
• Brother MFC-7840W
• Brother MFC-L2710DW series
• Lenovo M7605D

TIPS:
Having installed the printer-driver-brlaser_6 package using PPM, shut down your PC. Before booting up again turn on your printer and allow it to come online.
Once the PC has booted access CUPS via the browser to add and set it up as above.


Re: Fossapup Tips & Tricks

Posted: Sun Dec 13, 2020 5:17 pm
by bigpup

Do you know if this is any good for Brother printers?
https://support.brother.com/g/b/faqend. ... 100556_000


Re: Fossapup Tips & Tricks

Posted: Sun Dec 13, 2020 7:56 pm
by ETP

Hi bigpup,

I actually tried that first but without success. I appeared to set up the printer ok but without any virtual pdf printer.
It reported that it had printed and the printer led did flash briefly but nothing was ever printed. I then restored from the
save folder backup I had taken prior to the test.
That caused me to check out my Ubuntu Cinnamon Remix versions of both Groovy and Fossa LTS which were both using brlaser v6 which I found in the PPM.

Once again I took the precaution of another backup and before installing it via PPM, downloaded it and extracted it to check that
it contained nothing likely to interfere with Puppy e.g. systemd stuff. It did not, only containing 3 main files plus the standard Debian control file as follows:

# pwd
/mnt/nvme0n1p13/printer-driver-brlaser_6-1build1_amd64.deb.extracted
# tree
.
├── control
├── md5sums
└── usr
├── lib
│   └── cups
│   └── filter
│   └── rastertobrlaser
└── share
├── cups
│   ├── drv
│   │   └── brlaser.drv
│   └── ppd-updaters
│   └── printer-driver-brlaser.ppd-updater
└── doc
└── printer-driver-brlaser
├── changelog.Debian.gz
├── copyright
└── README.md

10 directories, 8 files
#

Nice to get lucky just for once. :thumbup2:


Install Plex

Posted: Sun Dec 20, 2020 7:16 pm
by sharky

Download .deb file from here:-

https://www.plex.tv/media-server-downloads/

and install normally.

Once installed the program will start by clicking on the desktop file:-

/usr/lib/plexmediaserver/Plex Media Server

I am not sure why this works. The content of the file is set out below:-

[Desktop Entry]
Name=Plex Media Server
GenericName=Media Server
Comment=Manage your Plex Media
Exec=x-www-browser http://localhost:32400/manage
Icon=plexmediaserver.png
Terminal=false
Type=Application
Categories=Player

This will run from command line or script:-

xdg-open /usr/lib/plexmediaserver/'Plex Media Server'


Gimp and g'mic

Posted: Mon Feb 22, 2021 4:17 pm
by peppyy

Always been a fan of GIMP and am now using the 2.10 appimage in Fossa 9.5.
I wanted to use g'mic in gimp and it is a quick and easy setup.

What is really cool is that you can try it online first to see if it is something you want! https://gmicol.greyc.fr/
You can also see the gallery here. http://gmic.eu/gallery/

Download the focal zip from here https://www.gmic.eu/download.html (11mb)
Extract it to a temporary file.
Copy gmic_gimp_qt
to the
.config/GIMP/2.10/plug-ins folder
I used drag and drop.

You should now have 350+ filters available when you start Gimp
Go to Filters and to G'MIC-qt
Filters are adjustable and have a nice preview.


Re: Fossapup Tips & Tricks

Posted: Tue Feb 23, 2021 7:41 pm
by Grey

A little advice.
If you are tired or annoyed that the terminal window (urxvt) opens in different positions every time it starts, then change one value in /root/.Xdefaults file:
urxvt.geometry: 82x28
I replaced 82 with 191. I have a screen resolution of 1920x1080, you may need to find your value. Now terminal window opens at one position and the entire width (but not height) of the screen.


Re: Fossapup Tips & Tricks

Posted: Sat Feb 27, 2021 6:31 pm
by gychang
Grey wrote: Tue Feb 23, 2021 7:41 pm

A little advice.
If you are tired or annoyed that the terminal window (urxvt) opens in different positions every time it starts, then change one value in /root/.Xdefaults file:
urxvt.geometry: 82x28
I replaced 82 with 191. I have a screen resolution of 1920x1080, you may need to find your value. Now terminal window opens at one position and the entire width (but not height) of the screen.

urxvt.geometry: 82x28+1+1 will open up on left upper corner each time. Play around with numbers to place on the screen. First 1 (horizontal pixel), second 2 (vertical pixel).


Re: Fossapup Tips & Tricks

Posted: Sat Apr 17, 2021 11:22 am
by ThruHammer

Hello Phil,

No response? :thumbdown:

NV, NG. That's right - TFYKN-ing.

No worries, Mate.

REMOVED.


Re: Fossapup Tips & Tricks

Posted: Fri Sep 03, 2021 9:16 am
by redandwhitestripes

Hello, is there any way to make the jwm dock and tray semi-transparent with Picom? I tried the lines
opacity-rule = ["93:class_g = '_NET_WM_WINDOW_TYPE_DOCK'"];

and

opacity-rule = ["93:class_g = 'jwm'"];

But no joy. I realize this is probably the wrong line but I don't know how else to find the correct command.


Re: Fossapup Tips & Tricks

Posted: Fri Oct 08, 2021 9:04 pm
by 666philb
redandwhitestripes wrote: Fri Sep 03, 2021 9:16 am

Hello, is there any way to make the jwm dock and tray semi-transparent with Picom? I tried the lines
opacity-rule = ["93:class_g = '_NET_WM_WINDOW_TYPE_DOCK'"];

and

opacity-rule = ["93:class_g = 'jwm'"];

But no joy. I realize this is probably the wrong line but I don't know how else to find the correct command.

hi @redandwhitestripes
i finally figured it out :)

Code: Select all

"80:window_type = 'dock'"

Hooligan behavior of the Synfig Studio window in Fossapup

Posted: Sat Oct 16, 2021 8:13 am
by Grey

Synfig Studio is launched in Fossapup, but the program window has no "upper part", that is, the header with the ability to minimize-maximize and close the program is completely absent. At the same time, the program is not displayed in any way at the bottom of the screen - in the system panel or tray and interferes with the normal display of other windows and programs.

I tried AppImage version 1.5.0 of the program and even compiled version 1.7. The result is the same.

What to do? Immediately after starting the program, go to the main menu.
WIndow>>Workspace>>Default.
After that, the program window will "grow" a header for itself, appear on the panel and stop "bullying" with other windows.


Re: Fossapup Tips & Tricks

Posted: Sat Oct 16, 2021 10:01 am
by mikewalsh

@Grey :-

Damn me. You're right.....and it holds true for older versions AND other Puppies, too!

I've had AppImages - for both arches - of v1.4.2, kicking around my system for years. Never really used 'em much, though; I'm a bit of a "hoarder" where graphics applications are concerned, and have kept virtually every "working" example of ANY graphics app that will work here for us in Puppy.

Just fired up the 32-bit version, here in Sailor's Slacko 5.7.1.....and it does exactly the same. Never actually noticed before, because I always tend to close apps from within, NOT via the 'X' in the corner. Must be a long-standing code bug with Synfig. Either that, or JWM & Synfig simply don't "play nice" together...

Anyways; thanks for the tip!

Mike. ;)


Re: Fossapup Tips & Tricks

Posted: Sat Oct 16, 2021 11:08 am
by Grey
mikewalsh wrote: Sat Oct 16, 2021 10:01 am

Never really used 'em much, though;

I periodically try to "get used" to Synfig. The problem (for Synfig :) ) is that its direct competitor - Moho - works fine (with Wine).

Although Moho has "nuances" too. I am using versions 9.5 and 11, which are still called Anime Studio. Versions 12 and 13.5 (which are already Moho) do not work or work poorly. Firstly, the interface output seems to be redone there, and secondly, of course :oops: , I use pirated versions of which I have two types (with keygen and with the replacement of the executable file and only options with the replacement are launched).

Moreover, this change of names. Moho originally appeared many years ago. Then it was bought and it became Anime Studio. Now it was bought out and called Moho again :roll:

Puppy on a windy day:

pup.gif
pup.gif (34.9 KiB) Viewed 9420 times

Re: Fossapup Tips & Tricks

Posted: Sat Oct 16, 2021 11:51 am
by fredx181

Must be a long-standing code bug with Synfig. Either that, or JWM & Synfig simply don't "play nice" together...

With Openbox it's fine, so apparently it has to do with JWM & Synfig combination.


Re: Fossapup Tips & Tricks

Posted: Sat Oct 16, 2021 1:20 pm
by snoring_cat

I agree with fredx181,

I ran the appimage in OpenSuse and had no problems. On Puppy Linux fossa 64, I did not see the window bar at the top. Also in JWM, some GTK type dialogs don't display "yes", "no" button text as I was seeing in OpenSuse.

yes_no.jpg
yes_no.jpg (29.58 KiB) Viewed 9394 times

fredx181, can you switch between window managers in an active Puppy Linux (i.e. xwin openbox, xwin jwm, xwin xfce4)? I don't know if you tested on the same running OS, or a different one. I haven't loaded up other window managers other than JWM


Re: Fossapup Tips & Tricks

Posted: Sat Oct 16, 2021 1:27 pm
by snoring_cat

Grey,

I like Synfig and Blender Grease Pencil. Synfig is better at interpolation and changing parts of a stroke's thickness via node adjusting. Blender Grease Pencil is awesome at mixing 2D and 3D in toon animations. If you haven't already done so, you might want to check out some Grease Pencil examples on Youtube.


Re: Fossapup Tips & Tricks

Posted: Sat Oct 16, 2021 4:02 pm
by fredx181
snoring_cat wrote:

fredx181, can you switch between window managers in an active Puppy Linux (i.e. xwin openbox, xwin jwm, xwin xfce4)? I don't know if you tested on the same running OS, or a different one. I haven't loaded up other window managers other than JWM

I tested on DebianDog where I can switch between Openbox and JWM, on JWM the title bar was missing.


Re: Fossapup Tips & Tricks

Posted: Fri Oct 29, 2021 10:44 am
by redandwhitestripes
666philb wrote: Fri Oct 08, 2021 9:04 pm
redandwhitestripes wrote: Fri Sep 03, 2021 9:16 am

Hello, is there any way to make the jwm dock and tray semi-transparent with Picom? I tried the lines
opacity-rule = ["93:class_g = '_NET_WM_WINDOW_TYPE_DOCK'"];

and

opacity-rule = ["93:class_g = 'jwm'"];

But no joy. I realize this is probably the wrong line but I don't know how else to find the correct command.

hi @redandwhitestripes
i finally figured it out :)

Code: Select all

"80:window_type = 'dock'"

Thank you!


Re: Fossapup Tips & Tricks

Posted: Mon Nov 29, 2021 4:22 pm
by gychang
ETP wrote: Sun Dec 13, 2020 4:46 pm

Installing Brother Printers:

printer-driver-brlaser_6|printer-driver-brlaser|6|1build1|Filesystem;storage|74K|pool/main/b/brlaser|\
printer-driver-brlaser_6-1build1_amd64.deb|+libc6&ge2.14,+libcups2&ge2.3,+libgcc-s1&ge3.0,+libstdc++6&ge5.2|printer driver for some Brother laser printers|ubuntu|focal|

TIPS:
Having installed the printer-driver-brlaser_6 package using PPM, shut down your PC. Before booting up again turn on your printer and allow it to come online.
Once the PC has booted access CUPS via the browser to add and set it up as above.

On my PPM, only first is available "printer-driver-brlaser_6", 2nd line printer-driver-brlaser_6-1build1_amd64.deb" etc, package is not available. I am using the ubuntu/focal repositories. After installing only the first app, reboot and turning on the printer (HL-L2325DW) and trying CUPS still not seeing the printer. Am I following the instructions correctly?, or is the printer model not covered in this?


Re: Fossapup Tips & Tricks

Posted: Mon Nov 29, 2021 8:23 pm
by ETP

Hi gychang,

There is only one package (printer-driver-brlaser_6). The rest is just information plus dependencies which in Fossa were all satisfied.
That particular driver only supports the printers I listed and your printer is not on that list.

I suggest that you use PPM to uninstall that package and then reboot. Your only option is to then visit the official Brother site
and download the Linux deb driver for your printer from there:

Here is the link to your model:

https://support.brother.com/g/b/downloa ... lang=true
Follow the "How to Install" instructions that appear once you have downloaded the deb package but note that
in Puppy you are logged in as root which means that you are the superuser and do not need the SU command.
Rather than using the dpkg command first try just clicking on the deb file.


Re: Fossapup Tips & Tricks

Posted: Thu Dec 23, 2021 3:11 am
by gychang
666philb wrote: Fri Oct 08, 2021 9:04 pm
redandwhitestripes wrote: Fri Sep 03, 2021 9:16 am

Hello, is there any way to make the jwm dock and tray semi-transparent with Picom? I tried the lines
opacity-rule = ["93:class_g = '_NET_WM_WINDOW_TYPE_DOCK'"];

and

opacity-rule = ["93:class_g = 'jwm'"];

But no joy. I realize this is probably the wrong line but I don't know how else to find the correct command.

hi @redandwhitestripes
i finally figured it out :)

Code: Select all

"80:window_type = 'dock'"

code is added in the picom.conf?


Re: Graphic Driver Setup

Posted: Mon Feb 27, 2023 8:22 pm
by gychang
666philb wrote: Sun Nov 01, 2020 3:41 pm

here's some tips on setting up your graphics driver on fossapup64.

----------------------------------------------------------------------------------------------------
Intel cards.

intel cards should work smoothly OTB with vsync working.
if you are experiencing any oddities in applications (e.g.googlearth not displaying properly)
you can try swapping between the intel and modesetting driver by editing /etc/X11/xorg.conf then restarting X

swap modesetting for intel or vice versa

Section "Device"
Identifier "Card0"
Driver "modesetting" #card0driver
BusID "0:2:0" #card0busid
EndSection

in picom i found the best settings were
vsync on
backend glx

backend glx

@666philb thanks for the tip! :thumbup2:


Re: Fossapup Tips & Tricks

Posted: Fri Apr 28, 2023 6:51 am
by Jasper

Just a tip

If you want to update your CA-Certificates there default ones are from 2020. There is a script available to use within Fossa.

"A CA certificate is a digital certificate issued by a certificate authority (CA), so SSL clients (such as web browsers) can use it to verify the SSL certificates sign by this CA."

Image

Simply open up terminal and type

update-ca-certificates --fresh

this will download, update the certificates to the default directories.

By default up to date browsers will include these.


zswap vs zram

Posted: Mon Aug 07, 2023 3:36 pm
by Grey

I just got a text message from the local rescuers. They warn of a heat of 40-42 degrees Celsius. Yes, the CPU really warmed up at least 5 degrees higher than usual.
I need a siesta.

What am I talking about? Oh, yeah.
I've been using zram for a while. But now I switched to zswap, because I finally bought an nvme disk with a good volume. zswap - like zram - compresses data, but only uses a disk partition instead of RAM.

I made the swap partition 65535 in size. Well, my artisanal Arch is already using zswap, but Fossapup is not yet, because I have not compiled the corresponding kernel:

fossapup_zswap.gif
fossapup_zswap.gif (5.33 KiB) Viewed 2021 times

But Fossapup can now use it without compression, because swap is even bigger than RAM :) :

fossapup_swap.gif
fossapup_swap.gif (20.44 KiB) Viewed 2021 times

How to impress family and friends after loading Fossapup

Posted: Fri Sep 01, 2023 3:05 pm
by Grey

We already had something about iQPuzzle about three years ago.
Let's add a little more Image

Have you long wanted to learn about all the options for solving the first task and impress everyone around you ;) ? Then you need a Python solver... and the ability to remember at least one of the 2339 options ;)

New Zealand programmer Ben Hoyt (and his father) did everything for you. Here is the project on Git. And here is a page with an interesting story by Ben from which you will understand which letters of the alphabet correspond to each figure on the diagram in the terminal.

Code: Select all

git clone https://github.com/benhoyt/python-pentomino
cd python-pentomino
python pentomino.py

Indeed, 2339 decisions in 3 seconds :thumbup2: But it's vertical. I swapped the width and height in the script and got 2186 solutions in 59 seconds.
Slowly, unhurriedly "solved" the problem with the help of solution 2186 :) :

iqpuzzle-pentomino_python.gif
iqpuzzle-pentomino_python.gif (81.21 KiB) Viewed 1822 times