According to release notes 22.10 does not have it but what about later releases?
jarno's questions
Is there an easy way that does not involve inspecting large amount of output text?
I have to unbind a USB audio device due to bug before suspending, so a sink with different number is created during resume. I also have another audio device. How can you make system continue with the same device that was default/used before suspending? I have to run commands concerning pulseaudio as non-root. Or is it somehow possible to handle it so that the USB device does not have to be unbind so that the sink does not change?
Is there an easy way of installing mpd 0.21.20 or newer in Ubuntu 18.04? The machine has 32 bit Ubuntu.
I currently have version 0.20.18-1build1 from bionic/universe i386 Packages installed.
Why was Diffuse left out of Universe repository of Ubuntu 20.04? What to use instead (if you don't want to use plain diff
but a graphical software)?
...namely in /etc/apt/apt.conf.d/10periodic and /etc/apt/apt.conf.d/20auto-upgrades.
$ dpkg-query -S /etc/apt/apt.conf.d/10periodic
update-notifier-common: /etc/apt/apt.conf.d/10periodic
$ dpkg-query -S /etc/apt/apt.conf.d/20auto-upgrades
dpkg-query: no path found matching pattern /etc/apt/apt.conf.d/20auto-upgrades
xdotool click --clearmodifiers 3
works as right-click in firefox
and chromium-browser
, but not in all programs such as Thunar file manager and xfce4-terminal. Why is that?
In terminal, if I run the command by entering it there, context menu appears, but if I run the command by keyboard shortcut (set in Xfce's keyboard settings), it does not work.
Anyway, shift + F10 seems to work (though I have to use Fn key in my Macbook keyboard).
I have the € sign printed on Shift + 4, but the combination gives a different character that is "¤". I am using "Finnish (Macintosh)" keyboard layout, and I tried "Apple", "Apple Laptop", "Generic 105-key (Intl) PC" and "MacBook/MacBook Pro (Intl)" keyboard model in Xfce keyboard settings. Other keys seem to work fine. How to fix?
Workaround: Use compose key (Multi_key) and press e and then =. See other options at https://www.x.org/releases/X11R7.7/doc/libX11/i18n/compose/en_US.UTF-8.html
Workaround 2: right alt + e (which is the similar key combination as standard keyboard has for €: Alt Gr + e). However, if I change keyboard settings, it might not work before new login for some odd reason. This worked with "MacBook/MacBook Pro (Intl)" keyboard setting at least.
(You might need to close the keyboard settings dialog, at least, to get the settings in effect.)
BTW right Alt + 4 prints Dollar sign "$".
The computer is Apple MacBook "Core 2 Duo" 2.4 13" (Unibody) having Finnish keyboard.
Running script
#!/bin/bash
(
flock 9
# ... commands executed under lock ...
fuser -v /var/lib/dpkg/lock
apt-get -f --assume-no install
) 9>/var/lib/dpkg/lock
as superuser does not display an error message. But if there is e.g. synaptic
running,apt-get
will display an error message:
"E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)".
In /usr/lib/apt/apt.systemd.daily it reads that
# APT::Periodic::Verbose "0";
# - Send report mail to root
# 0: no report (or null string)
# 1: progress report (actually any string)
# 2: + command outputs (remove -qq, remove 2>/dev/null, add - d)
# 3: + trace on
I have set
APT::Periodic::Verbose "3";
in /etc/apt/apt.conf.d/10periodic. I have set up ssmtp
to be able to send mails, and it seems to work, but I don't seem to get mails about the script's output.
10periodic
and 20auto-upgrades
set at least partially same variables. Why not just use one file? Does the latter one override the settings on the former one?
I got the following output when removing a kernel by dpkg --purge
:
Removing linux-headers-3.13.0-112-generic (3.13.0-112.159) ... Removing linux-image-extra-3.13.0-112-generic (3.13.0-112.159) ... run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-112-generic /boot/vmlinuz-3.13.0-112-generic run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-112-generic /boot/vmlinuz-3.13.0-112-generic update-initramfs: Generating /boot/initrd.img-3.13.0-112-generic W: TMPDIR is mounted noexec, will not cache run scripts. gzip: stdout: No space left on device E: mkinitramfs failure cpio 141 gzip 1 update-initramfs: failed for /boot/initrd.img-3.13.0-112-generic with 1. run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 dpkg: error processing package linux-image-extra-3.13.0-112-generic (--purge): subprocess installed post-removal script returned error exit status 1 Removing linux-image-3.13.0-112-generic (3.13.0-112.159) ... Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-112-generic /boot/vmlinuz-3.13.0-112-generic update-initramfs: Deleting /boot/initrd.img-3.13.0-112-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-112-generic /boot/vmlinuz-3.13.0-112-generic Generating grub configuration file ... Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported. Found linux image: /boot/vmlinuz-4.4.0-71-generic Found initrd image: /boot/initrd.img-4.4.0-71-generic Found linux image: /boot/vmlinuz-4.4.0-67-generic Found initrd image: /boot/initrd.img-4.4.0-67-generic Found linux image: /boot/vmlinuz-4.4.0-66-generic Found initrd image: /boot/initrd.img-4.4.0-66-generic Found linux image: /boot/vmlinuz-4.4.0-64-generic Found initrd image: /boot/initrd.img-4.4.0-64-generic Found linux image: /boot/vmlinuz-3.13.0-115-generic Found initrd image: /boot/initrd.img-3.13.0-115-generic Found linux image: /boot/vmlinuz-3.13.0-113-generic Found initrd image: /boot/initrd.img-3.13.0-113-generic Found memtest86+ image: /memtest86+.elf Found memtest86+ image: /memtest86+.bin No volume groups found done Purging configuration files for linux-image-3.13.0-112-generic (3.13.0-112.159) ... Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-112-generic /boot/vmlinuz-3.13.0-112-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-112-generic /boot/vmlinuz-3.13.0-112-generic Errors were encountered while processing: linux-image-extra-3.13.0-112-generic
Why does it run out of space even when purging? It is not an inode issue in this case.
Note: There are other questions where error happens during dpkg --configure
or when installing a kernel. It is more understandable that system runs out of disk space then, but in this case I am purging a kernel - a linux-image-extra package to be specific - by dpkg
. There is no dependency problem in this case. For example in this one a solution could be to purge kernel packages directly by dpkg
, but the issue of this question produces an error when doing so.
I want sudo apt-get update
to report about what it is doing on single line rather than filling the terminal window with its output. I don't want to hide possible error messages, though.
I mean something like this, but writing the last line that changes and is not visible after that in the output of sudo apt-get update
:
sudo apt-get update | xargs -I{} printf '%-*s\r' $(tput cols) "{}"
printf '\n
Also would be nice, if it could write given number of lines, and scrolling those lines without hiding the text preceding its output in terminal window.
See question How to remove kernels from previous release? which is marked as duplicate. I ask this again, because the question is special case and not handled in the answers for the related question. I upgraded from 15.10 to 16.04 using an installation media. Kernels from 15.10 are there at /boot, but the package management system seems to be unaware of this after upgrade. Related bug report is here. I do not know, if this happens, if you choose to upgrade in Software Updater.
I (think I) can delete all GPS information from jpeg file's metadata by
exiftool -gps:all= -xmp:all= filename.jpg
but that deletes all XMP metadata. Is there a way to delete only GPS information from XMP metadata (and from any other metadata group) by not designating individual GPS tags separately?
Some applications, such as Gimp, Geeqie and Rawstudio claim to be able to use system color profile in their color management, but how do you setup such a profile? How do you see, if such a profile has been set, and if it has been set, how do you see which profile is used? I don't see how to do it in Lubuntu and Xubuntu.
In Natty swap does not work. It has been corrupted and even gparted does not recognize its type. Maybe it is due Oneiric daily that I installed in the same computer and it uses the same partition as encrypted swap. (I have encrypted /home folder in both distributions.) Can Oneiric use this as encrypted swap, if I repartition the partition as linux-swap and use it unencrypted in Natty?
I know you can't use Quick filter in Synaptic after purging apt-xapian-index, but is there something more severe?
I know there are some performance issues, when you have it: