No Print or Cups entries in the Admin menu [Solved]
Posted: 03 Feb 2023, 00:14
Something didn't print the way I wanted and when I went to check the printer's defaults there were no print options in the menu!
The desktop files are in the 07 module so kinda perplexing.
Rebooting didn't help. But the program is present.
Added in 6 hours 4 minutes 10 seconds:
Interesting.
If I rename the /Modules/07-printing*.xzm file to 07-printing*.xyzm, reboot, rename the module back to 07-printing*.xzm and manually activate it the menu's Admin print items appear.
So, it's a timing issue, with the 07-printing module being at the top of my /Modules directory.
Interesting. Nemo shows it as being 1st but ls doesn't.
Code: Select all
~# uname -a
Linux porteus.example.net 5.18.8-porteus #1 SMP PREEMPT_DYNAMIC Sat Jul 2 10:05:31 MSK 2022 x86_64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz GenuineIntel GNU/Linux
~# cat /etc/porteus/*
001-core.xzm:20221211
002-xorg.xzm:20221211
002-xtra.xzm:20221211
003-cinnamon.xzm:20220925
initrd.xz:20220928
~# ls -l /mnt/live/memory/images
000-kernel.xzm : Jul 2 2022
001-core.xzm : Dec 11 03:47
002-xorg.xzm : Dec 11 03:50
002-xtra.xzm : Dec 11 01:13
003-cinnamon.xzm : Sep 25 01:21
011-slapt-get-0.11.6-x86_64-2gv.xzm : Oct 29 13:51
07-printing-x86_64-2022-08-06.xzm : Aug 6 07:54
Dellsound.xzm : May 14 2022
Dellwifi2.xzm : Jul 30 2022
GETMODtweaks.xzm : Jan 20 02:16
changes : Feb 2 13:52
firefox-94.0.2-x86_64-en-US.xzm : Nov 24 2021
~# cat /proc/cmdline
quiet BOOT_IMAGE=(loop)/boot/syslinux/vmlinuz from=/ISOs/Porteus-CINNAMON-v5.0-x86_64-221210.iso volume=33 reboot=cold extramod=/porteus5.0/Modules changes=EXIT:/porteus5.0/changes/50save.dat noload=kde;jinn;lxqt;xfce;lxde;mate;open;dat.xzm;mychanges;autonet;menu1
ISO: /ISOs/Porteus-CINNAMON-v5.0-x86_64-221210.iso
Rebooting didn't help. But the program is present.
Code: Select all
guest@porteus:~$ su
Password:
root@porteus:/home/guest# system-config-printer
Interesting.
If I rename the /Modules/07-printing*.xzm file to 07-printing*.xyzm, reboot, rename the module back to 07-printing*.xzm and manually activate it the menu's Admin print items appear.
Code: Select all
guest@porteus:~$ su
Password:
root@porteus:/home/guest# activate /mnt/nvme0n1p7/porteus5.0/Modules/07-printing-*.xzm
Updating shared library links: /sbin/ldconfig
Updating glib schemas: /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
cups: started scheduler.
Updating menu
Updating desktop database
root@porteus:/home/guest# ls -oh /usr/share/applications/*print*
-rw-r--r-- 1 root 9.3K Feb 3 00:55 /usr/share/applications/system-config-printer.desktop
root@porteus:/home/guest# ls -oh /usr/share/applications/*cup*
-rw-r--r-- 1 root 2.2K Feb 3 00:55 /usr/share/applications/cups.desktop
root@porteus:/home/guest#
Code: Select all
oot@porteus:/home/guest# ls -oh /mnt/nvme0n1p7/porteus5.0/Modules/*.xzm
-rwxrwxrwx 1 guest 732K Oct 29 14:43 /mnt/nvme0n1p7/porteus5.0/Modules/011-slapt-get-0.11.6-x86_64-2gv.xzm*
-rwxrwxrwx 1 guest 88M Aug 6 12:22 /mnt/nvme0n1p7/porteus5.0/Modules/07-printing-x86_64-2022-08-06.xzm*
-rwxrwxrwx 1 guest 512M Jan 13 17:37 /mnt/nvme0n1p7/porteus5.0/Modules/50save.dat.xzm*
-rwxrwxrwx 1 guest 8.0K Oct 22 01:14 /mnt/nvme0n1p7/porteus5.0/Modules/Dellautonet.xzm*
-rwxrwxrwx 1 guest 4.0K May 14 2022 /mnt/nvme0n1p7/porteus5.0/Modules/Dellsound.xzm*
-rwxrwxrwx 1 guest 908K Jul 30 2022 /mnt/nvme0n1p7/porteus5.0/Modules/Dellwifi2.xzm*
-rwxrwxrwx 1 guest 4.0K Jan 20 02:17 /mnt/nvme0n1p7/porteus5.0/Modules/GETMODtweaks.xzm*
-rwxrwxrwx 1 guest 64M Dec 30 2021 /mnt/nvme0n1p7/porteus5.0/Modules/firefox-94.0.2-x86_64-en-US.xzm*
-rwxrwxrwx 1 guest 25M Feb 2 18:29 /mnt/nvme0n1p7/porteus5.0/Modules/mychanges.xzm*
root@porteus:/home/guest#