I am wondering if I can legally install and use the Ubuntu Restricted Codecs metapackage in the United States? How am I allowed to access these proprietary codecs for free?
I recently switched my Lenovo thinkpad X1 yoga 4th gen to Ubuntu 24. I use this computer for work and have been unable to print to our main office printer since making the switch. We have two printers at the office and I am able to print to the Canon MF 1643i II in our med office, but not the Canon IR AdvanceDX C3835i. I can see both printers in my printers list in settings, but I am only able to print from the Canon MF.
I have installed cups and checked that it is running which it is. I have pulled up the cups gui at localhost:361 and attempted to login using my name and password for my machine, but it did not work. Now when I try, the admin page does not ask me for credentials and simply says unauthorized. I am hoping for help in getting back access to cups admin page or a workaround to add the printer without the need for the gui. I am most definitely a linux newb in many ways, so please know that I will need some basic hand holding type of guidance. Thank you all in advance!
Suppose I have a file selected in Files. How can I copy it's full file path to the clipboard? hitting <CTRL>+L
followed by <CTRL>+C
(or <CTRL>+X
) just copies the path of the parent directory to the clipboard. How to get the full path copied to clipboard?
I am not looking for drag-and-drop functionality (e.g., I already know I can drag the file to, say the terminal app, to paste it's path there).
I would like to run the find
command and get some of the files/directories in the desktop directory using regex
option of the command with the symbol caret ^
As you know the caret ^
matches the beginning of a line, and I would like to get all the files/directories starting with the letter t
; I used the following command find . -regex "^./t"
, but as it turned out, it will only match the file/folder whose name is a simple t!
I know that the regex will match the whole path
and not only the file name
. But why all of these do not match since they start with ./t
.
./tcpdump.txt
./t.txt
./test.sh
./trade.txt
./torbrowser.desktop
./token.txt
PS: This regex worked for me, ^./t.*
, but still unable to understand the behavior of caret in the original command
For some reason GRUB will not update the list of available kernels after a routine update
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
grub-probe: error: unknown filesystem.
Found linux image: vmlinuz-6.8.0-44-generic in rpool/ROOT/ubuntu_9jipvg
Found initrd image: initrd.img-6.8.0-44-generic in rpool/ROOT/ubuntu_9jipvg
Found linux image: vmlinuz-6.8.0-41-generic in rpool/ROOT/ubuntu_9jipvg
Found initrd image: initrd.img-6.8.0-41-generic in rpool/ROOT/ubuntu_9jipvg
/usr/sbin/grub-probe: error: unknown filesystem.
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmware Settings ...
done
This is the contents in the boot folder:
$> ls -lah /boot
total 185M
drwxr-xr-x 4 root root 15 Oct 2 14:56 .
drwxr-xr-x 22 root root 26 Apr 27 20:04 ..
-rw-r--r-- 1 root root 281K Oct 2 13:23 config-6.8.0-44-generic
-rw-r--r-- 1 root root 281K Aug 30 10:32 config-6.8.0-45-generic
drwxr-xr-x 2 root root 2 Sep 11 02:18 efi
drwxr-xr-x 2 root root 4 Oct 2 14:57 grub
lrwxrwxrwx 1 root root 27 Oct 2 14:50 initrd.img -> initrd.img-6.8.0-45-generic
-rw-r--r-- 1 root root 77M Oct 2 13:48 initrd.img-6.8.0-44-generic
-rw-r--r-- 1 root root 77M Oct 2 14:50 initrd.img-6.8.0-45-generic
lrwxrwxrwx 1 root root 27 Oct 2 14:56 initrd.img.old -> initrd.img-6.8.0-44-generic
-rw------- 1 root root 8,7M Aug 30 10:32 System.map-6.8.0-45-generic
lrwxrwxrwx 1 root root 24 Oct 2 14:50 vmlinuz -> vmlinuz-6.8.0-45-generic
-rw------- 1 root root 15M Aug 13 12:22 vmlinuz-6.8.0-44-generic
-rw------- 1 root root 15M Aug 30 11:02 vmlinuz-6.8.0-45-generic
lrwxrwxrwx 1 root root 24 Oct 2 14:56 vmlinuz.old -> vmlinuz-6.8.0-44-generic
I completely purged version 45 and reinstalled it. I cant see any errors and neither can apt.
When I reboot I will end up in emergency mode and I have to manually move back to the 44 version of the kernel via
update-initramfs -u -k 6.8.0-44-generic
Then the system boots as expected - but on the old kernel.
What is up with grub?
Bug reported to the grub-amd64-efi package
https://bugs.launchpad.net/ubuntu/+source/grub2-unsigned/+bug/2084584