Howto: Popular AppImages one click away

Post tutorials, HOWTO's and other useful resources here.
beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Howto: Popular AppImages one click away

Post#226 by beny » 29 Sep 2022, 20:04

hi Rava you have to install gnome-themes-extra and you have also the menu in black in audacity and i think maybe other software

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Howto: Popular AppImages one click away

Post#227 by Rava » 30 Sep 2022, 02:33

hi beny,
beny wrote:
29 Sep 2022, 20:04
install gnome-themes-extra
gnome-theme when running XFCE?

I presume audacity uses gnome, then? Atop of me having XFCE as DE?

I try and <Arnie voice>I will be back</Arnie voice> to report on that. :D

Added in 48 minutes 29 seconds:
slapt-get -s tells me it would install packages the size of 2.6MB:

Code: Select all

root@porteus:/Porteus_modules# slapt-get -s -i gnome-themes-extra 
Reading Package Lists...Done
The following NEW packages will be installed:
  pango gnome-themes-extra 
0 upgraded, 0 reinstalled, 2 newly installed, 0 to remove, 0 not upgraded.
Need to get 2.6MB of archives.
After unpacking 9.7MB of additional disk space will be used.
pango-1.48.11-x86_64-1 is to be installed
gnome-themes-extra-3.28-x86_64-3 is to be installed
Done
beny, is pango-1.48.11-x86_64-1 really to also be installed?

Added in 6 minutes 34 seconds:
Well, compared to what size gnome-themes-extra is pango is near to nothing:

Code: Select all

root@porteus:/tmp/getmod/gnome-themes-extra/slackware64/l# l *
-rw-r--r-- 1 root 2387616 2021-02-13 07:38 gnome-themes-extra-3.28-x86_64-3.txz
-rw-r--r-- 1 root  377948 2022-01-11 21:34 pango-1.48.11-x86_64-1.txz
but I sure do not need all of gnome-themes-extra-3.28-x86_64-3.txz ?

beny, do you happen to know what parts of gnome-themes-extra are needed? I would like to create a minimal gnome-themes-extra-3.28-x86_64-3-stripped.xzm … but I have not much clue about gnome-themes :wall:

Added in 5 minutes 12 seconds:
the largest data sits in its usr/share and that has 4053 (!) files and folders:

Code: Select all

root@porteus:/tmp/getmod/gnome-themes-extra/slackware64/l/gnome-themes-extra-3.28-x86_64-3/usr/share# find .|wc
   4053    4053  215786
:shock:

Added in 4 minutes 22 seconds:
By contrast, it's /usr/share/themes/Adwaita-dark/ is only 1 MB compared to the 15 MB of its icons.
But I already have Adwaita-dark in XFCE… would only adding the theme help? I presume not. (since I already have that)
Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Howto: Popular AppImages one click away

Post#228 by beny » 30 Sep 2022, 10:15

hi Rava the gnome icon extra have the icon directory that have only the high contrast and also you have the gtk2 and gtk3 directory try if removing /usr/share/icon you can build a package that run, into the slackware 15 or current you have this package, in porteus only the elementary icon light and dark,so why you have all the ways packages with getmod that in my system don't need, is a weird issue.i have a porteus stock.

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Howto: Popular AppImages one click away

Post#229 by Rava » 30 Sep 2022, 14:31

^
beny, what DE do you use?
Sadly, fulalas not gives much info when he releases one of his XFCE modules, so we do not know how much is included and what is kept out…
Of course installing all of gnome-themes-extra-3.28-x86_64-3.txz and all of pango-1.48.11-x86_64-1.txz would most probably solve the issue with the faulty GUI of audacity… but I like a slim stripped down solution that has only the bare minimum needed…
But at times when you lack the insight into the stuff… not much I can do when I do not currently have the time to invest in learning all of it. Image
Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Howto: Popular AppImages one click away

Post#230 by beny » 30 Sep 2022, 15:10

poteus5 xfce-4.16 and i confirm that pango isn't into the deps for the gnome-icon-extra so if you use the xfce-4.12 maybe is needed

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Howto: Popular AppImages one click away

Post#231 by Rava » 30 Sep 2022, 15:20

beny, did you have to use all of gnome-themes-extra-3.28-x86_64-3.txz to have the audacity themes (menus, sub-windows) behave like they should?
Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Howto: Popular AppImages one click away

Post#232 by beny » 30 Sep 2022, 15:41

try to remove the directory high contrast icon from /usr/share/icon and /usr/share/themes the package that have build is 80kb but you have to check if work properly for your system.
i have reboot system and work so you can strip the package also libreoffice have the menus in black and thunar too.

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Howto: Popular AppImages one click away

Post#233 by Rava » 30 Sep 2022, 19:34

beny wrote:
30 Sep 2022, 15:41
also libreoffice have the menus in black and thunar too.
Not checked libreoffice but Thunar looks fine for me

Thunar-1.6.18 in XFCE4.12 (003-xfce-4.12-20220725.xzm that reports itself as "003-xfce4.xzm:20220428" in /etc/porteus/003-xfce4.ver):
Image

Added in 53 seconds:
Same dark background colour with light text colour as any other programs (e.g. mousepad, l3afpad, viewnior, you name it)
Cheers!
Yours Rava

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Howto: Popular AppImages one click away

Post#234 by Rava » 06 Oct 2022, 23:41

Thanks babam for helping dum dum me in finding mtPixy-3.6:

Code: Select all

guest@porteus:/mybin$ ./mtPixy-3.6-qt5-x86_64.AppImage 
No file found for "image/png.xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/usr/share/mime")
Aside from the reported missing image/png.xml it works.
What that png.xml is hard to guess.
The GUI is of course ignoring my dark desktop scheme, and also is ignoring my larger size for fonts and menu items, so on a fullHD screen it is hard to work with.

Code: Select all

guest@porteus:/tmp/test$ cp /mybin/mtPixy-3.6-qt5-x86_64.AppImage .
guest@porteus:/tmp/test$ ./mtPixy-3.6-qt5-x86_64.AppImage  --appimage-extract
squashfs-root/.DirIcon
squashfs-root/AppRun
squashfs-root/mtpixy-qt5.desktop
squashfs-root/mtpixy-qt5.png
squashfs-root/usr
squashfs-root/usr/bin
squashfs-root/usr/bin/mtpixy-qt5
squashfs-root/usr/bin/qt.conf
squashfs-root/usr/lib
squashfs-root/usr/lib/libQt5Core.so.5
squashfs-root/usr/lib/libQt5DBus.so.5
squashfs-root/usr/lib/libQt5Gui.so.5
squashfs-root/usr/lib/libQt5Svg.so.5
squashfs-root/usr/lib/libQt5Widgets.so.5
squashfs-root/usr/lib/libQt5XcbQpa.so.5
squashfs-root/usr/lib/libX11-xcb.so.1
squashfs-root/usr/lib/libXau.so.6
squashfs-root/usr/lib/libXext.so.6
squashfs-root/usr/lib/libXi.so.6
squashfs-root/usr/lib/libXrender.so.1
squashfs-root/usr/lib/libattr.so.1
squashfs-root/usr/lib/libblkid.so.1
squashfs-root/usr/lib/libbz2.so.1
squashfs-root/usr/lib/libcairo.so.2
squashfs-root/usr/lib/libcap.so.2
squashfs-root/usr/lib/libcroco-0.6.so.3
squashfs-root/usr/lib/libdbus-1.so.3
squashfs-root/usr/lib/libdw.so.1
squashfs-root/usr/lib/libelf.so.1
squashfs-root/usr/lib/libffi.so.6
squashfs-root/usr/lib/libgcrypt.so.11
squashfs-root/usr/lib/libgif.so.4
squashfs-root/usr/lib/libgmodule-2.0.so.0
squashfs-root/usr/lib/libgraphite2.so.3
squashfs-root/usr/lib/libgthread-2.0.so.0
squashfs-root/usr/lib/libicudata.so.50
squashfs-root/usr/lib/libicui18n.so.50
squashfs-root/usr/lib/libicuuc.so.50
squashfs-root/usr/lib/libjpeg.so.62
squashfs-root/usr/lib/liblz4.so.1
squashfs-root/usr/lib/liblzma.so.5
squashfs-root/usr/lib/libmount.so.1
squashfs-root/usr/lib/libmtkit.so.1
squashfs-root/usr/lib/libmtpixy.so.1
squashfs-root/usr/lib/libmtqex5.so.1
squashfs-root/usr/lib/libpcre.so.1
squashfs-root/usr/lib/libpcre2-16.so.0
squashfs-root/usr/lib/libpixman-1.so.0
squashfs-root/usr/lib/libpng15.so.15
squashfs-root/usr/lib/librsvg-2.so.2
squashfs-root/usr/lib/libselinux.so.1
squashfs-root/usr/lib/libsqlite3.so.0
squashfs-root/usr/lib/libsystemd.so.0
squashfs-root/usr/lib/libxcb-glx.so.0
squashfs-root/usr/lib/libxcb-icccm.so.4
squashfs-root/usr/lib/libxcb-image.so.0
squashfs-root/usr/lib/libxcb-keysyms.so.1
squashfs-root/usr/lib/libxcb-randr.so.0
squashfs-root/usr/lib/libxcb-render-util.so.0
squashfs-root/usr/lib/libxcb-render.so.0
squashfs-root/usr/lib/libxcb-shape.so.0
squashfs-root/usr/lib/libxcb-shm.so.0
squashfs-root/usr/lib/libxcb-sync.so.1
squashfs-root/usr/lib/libxcb-util.so.1
squashfs-root/usr/lib/libxcb-xfixes.so.0
squashfs-root/usr/lib/libxcb-xinerama.so.0
squashfs-root/usr/lib/libxcb-xkb.so.1
squashfs-root/usr/lib/libxml2.so.2
squashfs-root/usr/plugins
squashfs-root/usr/plugins/iconengines
squashfs-root/usr/plugins/iconengines/libqsvgicon.so
squashfs-root/usr/plugins/imageformats
squashfs-root/usr/plugins/imageformats/libqgif.so
squashfs-root/usr/plugins/imageformats/libqico.so
squashfs-root/usr/plugins/imageformats/libqjpeg.so
squashfs-root/usr/plugins/imageformats/libqsvg.so
squashfs-root/usr/plugins/platforminputcontexts
squashfs-root/usr/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so
squashfs-root/usr/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so
squashfs-root/usr/plugins/platforms
squashfs-root/usr/plugins/platforms/libqxcb.so
squashfs-root/usr/plugins/xcbglintegrations
squashfs-root/usr/plugins/xcbglintegrations/libqxcb-egl-integration.so
squashfs-root/usr/plugins/xcbglintegrations/libqxcb-glx-integration.so
squashfs-root/usr/share
squashfs-root/usr/share/applications
squashfs-root/usr/share/applications/mtpixy-qt5.desktop
squashfs-root/usr/share/doc
squashfs-root/usr/share/doc/mtpixy-qt5
squashfs-root/usr/share/doc/mtpixy-qt5/en_GB
squashfs-root/usr/share/doc/mtpixy-qt5/en_GB/chap_00.html
squashfs-root/usr/share/doc/mtpixy-qt5/en_GB/chap_01.html
squashfs-root/usr/share/doc/mtpixy-qt5/en_GB/chap_02.html
squashfs-root/usr/share/doc/mtpixy-qt5/en_GB/chap_03.html
squashfs-root/usr/share/doc/mtpixy-qt5/en_GB/chap_04.html
squashfs-root/usr/share/doc/mtpixy-qt5/en_GB/chap_05.html
squashfs-root/usr/share/doc/mtpixy-qt5/en_GB/chap_A.html
squashfs-root/usr/share/doc/mtpixy-qt5/en_GB/chap_B.html
squashfs-root/usr/share/doc/mtpixy-qt5/en_GB/index.html
squashfs-root/usr/share/doc/mtpixy-qt5/img
squashfs-root/usr/share/doc/mtpixy-qt5/img/svg.svg
squashfs-root/usr/share/icons
squashfs-root/usr/share/icons/hicolor
squashfs-root/usr/share/icons/hicolor/16x16
squashfs-root/usr/share/icons/hicolor/16x16/apps
squashfs-root/usr/share/icons/hicolor/16x16/apps/mtpixy-qt5.png
squashfs-root/usr/share/icons/hicolor/16x16/mimetypes
squashfs-root/usr/share/icons/hicolor/16x16/mimetypes/application-x-mtpixy-qt5.png
squashfs-root/usr/share/icons/hicolor/256x256
squashfs-root/usr/share/icons/hicolor/256x256/apps
squashfs-root/usr/share/icons/hicolor/256x256/apps/mtpixy-qt5.png
squashfs-root/usr/share/icons/hicolor/256x256/mimetypes
squashfs-root/usr/share/icons/hicolor/256x256/mimetypes/application-x-mtpixy-qt5.png
squashfs-root/usr/share/icons/hicolor/32x32
squashfs-root/usr/share/icons/hicolor/32x32/apps
squashfs-root/usr/share/icons/hicolor/32x32/apps/mtpixy-qt5.png
squashfs-root/usr/share/icons/hicolor/32x32/mimetypes
squashfs-root/usr/share/icons/hicolor/32x32/mimetypes/application-x-mtpixy-qt5.png
squashfs-root/usr/share/icons/hicolor/48x48
squashfs-root/usr/share/icons/hicolor/48x48/apps
squashfs-root/usr/share/icons/hicolor/48x48/apps/mtpixy-qt5.png
squashfs-root/usr/share/icons/hicolor/48x48/mimetypes
squashfs-root/usr/share/icons/hicolor/48x48/mimetypes/application-x-mtpixy-qt5.png
squashfs-root/usr/share/icons/hicolor/64x64
squashfs-root/usr/share/icons/hicolor/64x64/apps
squashfs-root/usr/share/icons/hicolor/64x64/apps/mtpixy-qt5.png
squashfs-root/usr/share/icons/hicolor/64x64/mimetypes
squashfs-root/usr/share/icons/hicolor/64x64/mimetypes/application-x-mtpixy-qt5.png
squashfs-root/usr/share/icons/hicolor/scalable
squashfs-root/usr/share/icons/hicolor/scalable/apps
squashfs-root/usr/share/icons/hicolor/scalable/apps/mtpixy-qt5.svg
squashfs-root/usr/share/icons/hicolor/scalable/mimetypes
squashfs-root/usr/share/icons/hicolor/scalable/mimetypes/application-x-mtpixy-qt5.svg
squashfs-root/usr/share/mime
squashfs-root/usr/share/mime/packages
squashfs-root/usr/share/mime/packages/mtpixy-qt5.xml
squashfs-root/usr/share/mtpixy-qt5
squashfs-root/usr/share/mtpixy-qt5/icons
squashfs-root/usr/share/mtpixy-qt5/icons/default.svg
squashfs-root/usr/share/mtpixy-qt5/patterns
squashfs-root/usr/share/mtpixy-qt5/patterns/default.png
squashfs-root/usr/share/mtpixy-qt5/shapes
squashfs-root/usr/share/mtpixy-qt5/shapes/default.png
squashfs-root/usr/translations
Let's see what can be done, or more specifically, what I am able to accomplish in my attempt creating a x86-64 minimal mtpixy module that respects the GUI's selection of theme (especially my dark theme) … so far it fails webp as AppImage even when webp is supported in my system.

Code: Select all

guest@porteus:/tmp/test$ ls squashfs-root/
AppRun  mtpixy-qt5.desktop  mtpixy-qt5.png  usr
Image
:( :cry:

Added in 27 minutes 34 seconds:
Update
Unfortunately https://doc.marktyler.org/mtpixy/en_GB/chap_00.html lists nothing for "script" - so while the GUI might look more modern, the base seems less than what is provided with mtpaint.

It has no Script menu entry, and it not even has an Unsharp Mask in Effects.

By these two things alone it seems mtpixy is much less than what mtpaint 3.50 has become…

Now that I saw it in action my interest in mtpixy dropped to approx 1% (or less). :(
( ♪ "You can't always get what you want" ♫ )
Cheers!
Yours Rava

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Howto: Popular AppImages one click away

Post#235 by Rava » 07 Oct 2022, 05:10

https://friture.org/download.html
downloaded https://github.com/tlecomte/friture/rel ... 6.AppImage
It would not run in XFCE 4.12 Port 5.0 x86-64

Code: Select all

guest@porteus:/tmp$ ./friture-0.49-20220316.AppImage 
Unhandled exception: Traceback (most recent call last):
  File "main.py", line 3, in <module>
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module
  File "friture/analyzer.py", line 39, in <module>
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module
  File "friture/about.py", line 22, in <module>
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module
  File "sounddevice.py", line 71, in <module>
OSError: PortAudio library not found

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
:(
Cheers!
Yours Rava

gnintilgyes
Black ninja
Black ninja
Posts: 73
Joined: 14 Sep 2022, 17:52
Distribution: Debian

Howto: Popular AppImages one click away

Post#236 by gnintilgyes » 07 Oct 2022, 09:08

Rava wrote:
07 Oct 2022, 05:08
Now that I saw it in action my interest in mtpixy dropped to approx 1% (or less). :(
( ♪ "You can't always get what you want" ♫ )
Picked up that AppImage, ran it. Drew a simple polygon then tried to use the paint bucket to fill it. The whole screen is cleared to background color instead. Oh well...

Uh this was in a distro other than Porteus, had to add this comment to prevent confusion.

Nice program but it behaves like the result of somebody brute-force learning Windows GDI from 20 years ago.

I should shut up because on some days I cannot use GIMP, it's "cannot" as in being lame...

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Howto: Popular AppImages one click away

Post#237 by Rava » 07 Oct 2022, 10:08

gnintilgyes try mtpaint as a module - e.g. mtpaint-3.49.32-x86_64-3

Unlike what the package claims mtpaint itself says its version 3.5.

My version is 022-mtpaint-3.49.32-x86_64-3_rava.xzm because I did some minor changes so that webp is supported by itself (same with viewnior [my preferred image viewer]) - all on XFCE (4.12)
Cheers!
Yours Rava

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Howto: Popular AppImages one click away

Post#238 by ncmprhnsbl » 08 Oct 2022, 09:19

Rava wrote:
07 Oct 2022, 05:10
https://friture.org/download.html
downloaded https://github.com/tlecomte/friture/rel ... 6.AppImage
It would not run in XFCE 4.12 Port 5.0 x86-64
will run (in xfce) with these packages:

Code: Select all

xcb-util-image
xcb-util-keysyms
xcb-util-renderutil
xcb-util-wm
celt
jack
portaudio
kde and lxqt would only need portaudio, celt & jack
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Howto: Popular AppImages one click away

Post#239 by Rava » 09 Oct 2022, 04:14

ncmprhnsbl wrote:
08 Oct 2022, 09:19
will run (in xfce) with these packages:

Code: Select all

xcb-util-image
xcb-util-keysyms
xcb-util-renderutil
xcb-util-wm
celt
jack
portaudio
kde and lxqt would only need portaudio, celt & jack
I presume portaudio, celt & jack are the largest of all these dependencies?


So, it will run in no DE by default?
Or only needs dependencies for XFCE, KDE and LXQT? E.g. it runs without any additional dependencies in Mate, Cinnamon, LXDE and Openbox?

If it also needs additional dependencies for these DEs as well… then that is sure not how an AppImage is meant to work.

On the other hand, it seems not available for Slackware that easily:

Code: Select all

root@porteus:~# getmod -s friture
root@porteus:~# 
Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Howto: Popular AppImages one click away

Post#240 by beny » 09 Oct 2022, 15:01

hi Rava this is the link.. but you have yet, work standalone with appimage:https://friture.org/download.html

Post Reply