參考 https://wiki.gentoo.org/wiki/Flatpak
按照 Wiki 的說明安裝完成,重新開機後,試著安裝和執行 Package。
----------------
$ flatpak update
正在尋找更新...
無事可做。
$ gsettings get org.gnome.desktop.interface gtk-theme
'HighContrast'
$ flatpak install flathub org.gtk.Gtk3theme.HighContrast
正在尋找符合項目…
錯誤: No remote refs found for ‘flathub’
$ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
$ flatpak install flathub org.gtk.Gtk3theme.HighContrast正在尋找符合項目…
錯誤: flathub 遠端沒有項目符合 org.gtk.Gtk3theme.HighContrast
$ flatpak install flathub com.prusa3d.PrusaSlicer
正在尋找符合項目…
com.prusa3d.PrusaSlicer/x86_64/stable (runtime/org.freedesktop.Platform/x86_64/21.08) 所要求的執行時期環境在 flathub 遠端中有找到
您想要安裝嗎? [Y/n]:
com.prusa3d.PrusaSlicer permissions:
ipc network x11 devices
file access [1] dbus access [2] bus ownership [3] system dbus access [4]
[1] /media, /run/media, home, xdg-run/gvfs
[2] com.prusa3d.prusaslicer.InstanceCheck.*,
org.freedesktop.DBus.Introspectable.*
[3] com.prusa3d.prusaslicer.*
[4] org.freedesktop.UDisks2
ID 分支 Op 遠端 下載
1. [✓] com.prusa3d.PrusaSlicer.Locale stable i flathub 10.6 MB / 10.6 MB
2. [✓] org.freedesktop.Platform.GL.default 21.08 i flathub 129.6 MB / 129.8 MB
3. [✓] org.freedesktop.Platform.GL.nvidia-525-125-06 1.4 i flathub 415.2 MB / 415.2 MB
4. [✓] org.freedesktop.Platform.Locale 21.08 i flathub 144.0 MB / 326.8 MB
5. [✓] org.freedesktop.Platform.VAAPI.Intel 21.08 i flathub 11.8 MB / 11.9 MB
6. [✓] org.freedesktop.Platform.openh264 2.0 i flathub 1.5 MB / 1.5 MB
7. [✓] org.freedesktop.Platform 21.08 i flathub 155.8 MB / 202.3 MB
8. [✓] com.prusa3d.PrusaSlicer stable i flathub 67.5 MB / 68.5 MB
安裝完成。
$ flatpak run com.prusa3d.PrusaSlicer
--------------------------------------------------------------------------
Message: 10:29:15: Starting PrusaSlicer flatpak with entrypoint script
--------------------------------------------------------------------------
$ [2023-07-20 10:29:15.408172] [0x00007f7f4c22dd40] [trace] Initializing StaticPrintConfigs
Gtk-Message: 10:29:15.416: Failed to load module "canberra-gtk-module"
[2023-07-20 10:29:17.494827] [0x00007f7f4c22dd40] [error] Missing index /home/ajax/.var/app/com.prusa3d.PrusaSlicer/config/PrusaSlicer/cache/vendor/Zonestar.idx when loading bundle Zonestar. Going to search for it in cache folder.
[2023-07-20 10:29:17.498202] [0x00007f7f4c22dd40] [error] Missing index /home/ajax/.var/app/com.prusa3d.PrusaSlicer/config/PrusaSlicer/cache/vendor/BIBO.idx when loading bundle BIBO. Going to search for it in cache folder.
[2023-07-20 10:29:17.503602] [0x00007f7f4c22dd40] [error] Missing index /home/ajax/.var/app/com.prusa3d.PrusaSlicer/config/PrusaSlicer/cache/vendor/Snapmaker.idx when loading bundle Snapmaker. Going to search for it in cache folder.
[2023-07-20 10:29:17.506831] [0x00007f7f4c22dd40] [error] Missing index /home/ajax/.var/app/com.prusa3d.PrusaSlicer/config/PrusaSlicer/cache/vendor/Trimaker.idx when loading bundle Trimaker. Going to search for it in cache folder.
[2023-07-20 10:29:17.509011] [0x00007f7f4c22dd40] [error] Missing index /home/ajax/.var/app/com.prusa3d.PrusaSlicer/config/PrusaSlicer/cache/vendor/Anker.idx when loading bundle Anker. Going to search for it in cache folder.
[2023-07-20 10:29:17.510935] [0x00007f7f4c22dd40] [error] Missing index /home/ajax/.var/app/com.prusa3d.PrusaSlicer/config/PrusaSlicer/cache/vendor/RatRig.idx when loading bundle RatRig. Going to search for it in cache folder.
[2023-07-20 10:29:17.514338] [0x00007f7f4c22dd40] [error] Missing index /home/ajax/.var/app/com.prusa3d.PrusaSlicer/config/PrusaSlicer/cache/vendor/MakerGear.idx when loading bundle MakerGear. Going to search for it in cache folder.
[2023-07-20 10:29:17.524208] [0x00007f7f4c22dd40] [error] Missing index /home/ajax/.var/app/com.prusa3d.PrusaSlicer/config/PrusaSlicer/cache/vendor/Artillery.idx when loading bundle Artillery. Going to search for it in cache folder.
[2023-07-20 10:29:17.528303] [0x00007f7f4c22dd40] [error] Missing index /home/ajax/.var/app/com.prusa3d.PrusaSlicer/config/PrusaSlicer/cache/vendor/Voron.idx when loading bundle Voron. Going to search for it in cache folder.
[2023-07-20 10:29:17.564913] [0x00007f7f4c22dd40] [error] Missing index /home/ajax/.var/app/com.prusa3d.PrusaSlicer/config/PrusaSlicer/cache/vendor/Templates.idx when loading bundle Templates. Going to search for it in cache folder.
[2023-07-20 10:29:17.579916] [0x00007f7f4c22dd40] [error] Missing index /home/ajax/.var/app/com.prusa3d.PrusaSlicer/config/PrusaSlicer/cache/vendor/gCreate.idx when loading bundle gCreate. Going to search for it in cache folder.
[2023-07-20 10:29:17.586573] [0x00007f7f4c22dd40] [error] Missing index /home/ajax/.var/app/com.prusa3d.PrusaSlicer/config/PrusaSlicer/cache/vendor/Print4Taste.idx when loading bundle Print4Taste. Going to search for it in cache folder.
[2023-07-20 10:29:17.587819] [0x00007f7f4c22dd40] [error] Missing index /home/ajax/.var/app/com.prusa3d.PrusaSlicer/config/PrusaSlicer/cache/vendor/Elegoo.idx when loading bundle Elegoo. Going to search for it in cache folder.
[2023-07-20 10:29:17.591829] [0x00007f7f4c22dd40] [error] Missing index /home/ajax/.var/app/com.prusa3d.PrusaSlicer/config/PrusaSlicer/cache/vendor/TriLAB.idx when loading bundle TriLAB. Going to search for it in cache folder.
[2023-07-20 10:29:17.605191] [0x00007f7f4c22dd40] [error] Missing index /home/ajax/.var/app/com.prusa3d.PrusaSlicer/config/PrusaSlicer/cache/vendor/Ultimaker.idx when loading bundle Ultimaker. Going to search for it in cache folder.
[2023-07-20 10:29:17.607750] [0x00007f7f4c22dd40] [error] Missing index /home/ajax/.var/app/com.prusa3d.PrusaSlicer/config/PrusaSlicer/cache/vendor/Geeetech.idx when loading bundle Geeetech. Going to search for it in cache folder.
[2023-07-20 10:29:17.631185] [0x00007f7f4c22dd40] [error] Missing index /home/ajax/.var/app/com.prusa3d.PrusaSlicer/config/PrusaSlicer/cache/vendor/Creality.idx when loading bundle Creality. Going to search for it in cache folder.
[2023-07-20 10:29:17.667837] [0x00007f7f4c22dd40] [error] Missing index /home/ajax/.var/app/com.prusa3d.PrusaSlicer/config/PrusaSlicer/cache/vendor/Rigid3D.idx when loading bundle Rigid3D. Going to search for it in cache folder.
[2023-07-20 10:29:17.672664] [0x00007f7f4c22dd40] [error] Missing index /home/ajax/.var/app/com.prusa3d.PrusaSlicer/config/PrusaSlicer/cache/vendor/Anycubic.idx when loading bundle Anycubic. Going to search for it in cache folder.
[2023-07-20 10:29:17.687543] [0x00007f7f4c22dd40] [error] Missing index /home/ajax/.var/app/com.prusa3d.PrusaSlicer/config/PrusaSlicer/cache/vendor/BIQU.idx when loading bundle BIQU. Going to search for it in cache folder.
[2023-07-20 10:29:17.690856] [0x00007f7f4c22dd40] [error] Missing index /home/ajax/.var/app/com.prusa3d.PrusaSlicer/config/PrusaSlicer/cache/vendor/INAT.idx when loading bundle INAT. Going to search for it in cache folder.
[2023-07-20 10:29:17.695248] [0x00007f7f4c22dd40] [error] Missing index /home/ajax/.var/app/com.prusa3d.PrusaSlicer/config/PrusaSlicer/cache/vendor/Jubilee.idx when loading bundle Jubilee. Going to search for it in cache folder.
[2023-07-20 10:29:17.697763] [0x00007f7f4c22dd40] [error] Missing index /home/ajax/.var/app/com.prusa3d.PrusaSlicer/config/PrusaSlicer/cache/vendor/Infinity3D.idx when loading bundle Infinity3D. Going to search for it in cache folder.
[2023-07-20 10:29:17.702944] [0x00007f7f4c22dd40] [error] Missing index /home/ajax/.var/app/com.prusa3d.PrusaSlicer/config/PrusaSlicer/cache/vendor/LulzBot.idx when loading bundle LulzBot. Going to search for it in cache folder.
[2023-07-20 10:29:17.704932] [0x00007f7f4c22dd40] [error] Missing index /home/ajax/.var/app/com.prusa3d.PrusaSlicer/config/PrusaSlicer/cache/vendor/FLSun.idx when loading bundle FLSun. Going to search for it in cache folder.
(prusa-slicer:8): Gtk-WARNING **: 10:29:18.334: Negative content width -8 (allocation 10, extents 9x9) while allocating gadget (node entry, owner GtkEntry)
(prusa-slicer:8): Gtk-WARNING **: 10:29:18.334: Negative content width -8 (allocation 10, extents 9x9) while allocating gadget (node entry, owner GtkEntry)
(prusa-slicer:8): Gtk-CRITICAL **: 10:29:18.379: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
(prusa-slicer:8): Gtk-WARNING **: 10:29:18.390: Negative content width -8 (allocation 10, extents 9x9) while allocating gadget (node entry, owner GtkEntry)
(prusa-slicer:8): Gtk-WARNING **: 10:29:18.390: Negative content width -8 (allocation 10, extents 9x9) while allocating gadget (node entry, owner GtkEntry)
** (prusa-slicer:8): WARNING **: 10:29:41.583: atk-bridge: get_device_events_reply: unknown signature
sh: 列 1: xdg-mime:指令找不到
[2023-07-20 10:29:45.510275] [0x00007f7f4c22dd40] [error] Couldn't locate idx file /home/ajax/.var/app/com.prusa3d.PrusaSlicer/config/PrusaSlicer/cache/vendor/PrusaResearch.idx when performing updates.
[2023-07-20 10:29:45.510724] [0x00007f7f4c22dd40] [error] Couldn't locate idx file /home/ajax/.var/app/com.prusa3d.PrusaSlicer/config/PrusaSlicer/cache/vendor/Templates.idx when performing updates.
-----------------執行結果如下圖。
執行效果比使用 AppImage 好一些,會安裝相關的檔案,不用自己亂試少了什,或有什麼不相容的。原在在 Xfce 下執行 gtk3 的 Prusa Slicer 的 AppImage,半透明部分會整個透空,無法使用。如下圖,畫面整個亂掉。
-------------------
$ flatpak install flathub com.microsoft.Edge
正在尋找符合項目…
com.microsoft.Edge/x86_64/stable (runtime/org.freedesktop.Platform/x86_64/22.08) 所要求的執行時期環境在 flathub 遠端中有找到
您想要安裝嗎? [Y/n]:
com.microsoft.Edge permissions:
ipc network cups pcsc
pulseaudio wayland x11 devices
file access [1] dbus access [2] bus ownership [3] system dbus access [4]
tags [5]
[1] /run/.heim_org.h5l.kcm-socket, host-etc, xdg-desktop, xdg-documents,
xdg-download, xdg-music, xdg-run/pipewire-0, xdg-videos,
~/.local/share/applications:create, ~/.local/share/icons:create
[2] com.canonical.AppMenu.Registrar, org.freedesktop.FileManager1,
org.freedesktop.Notifications, org.freedesktop.ScreenSaver,
org.freedesktop.secrets, org.gnome.Mutter.IdleMonitor.*,
org.gnome.SessionManager, org.kde.kwalletd5
[3] org.mpris.MediaPlayer2.edge.*
[4] org.freedesktop.Avahi, org.freedesktop.UPower
[5] proprietary
ID 分支 Op 遠端 下載
1. [✓] org.freedesktop.Platform.GL.default 22.08 i flathub 142.9 MB / 143.1 MB
2. [✓] org.freedesktop.Platform.GL.default 22.08-extra i flathub 16.2 MB / 143.1 MB
3. [✓] org.freedesktop.Platform.Locale 22.08 i flathub 38.2 MB / 333.4 MB
4. [✓] org.freedesktop.Platform.VAAPI.Intel 22.08 i flathub 13.3 MB / 13.4 MB
5. [✓] org.freedesktop.Platform.openh264 2.2.0 i flathub 887.2 kB / 944.3 kB
6. [✓] org.freedesktop.Platform 22.08 i flathub 156.3 MB / 214.4 MB
7. [✓] com.microsoft.Edge stable i flathub 154.8 MB / 153.9 MB
安裝完成。
-------------------
沒有留言:
張貼留言