Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

2 votes
1 answers
3551 views
Restoring a backup with rsync
I'm getting back into Linux and am running Kubuntu 21.10, and I want to make a proper full backup of the system now that I've configured it how I like. This is the command I used to create a backup on a separate drive: sudo rsync -aAXv / --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt...
I'm getting back into Linux and am running Kubuntu 21.10, and I want to make a proper full backup of the system now that I've configured it how I like. This is the command I used to create a backup on a separate drive: sudo rsync -aAXv / --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} "/media/backuppath/" This is what my partitions look like for the drive I want to back up: /dev/sda1 fat32 /boot/efi (primary) /dev/sda2 extended /dev/sda5 ext4 / I am new to rsync, so it would be helpful to know if this backup command will take care of everything to restore an exact system backup: system settings, installed programs, etc. More importantly, what do I need to run to restore this if the time ever comes?
tommythecat42 (21 rep)
Mar 3, 2022, 11:38 PM • Last activity: Aug 6, 2025, 11:01 AM
36 votes
7 answers
35710 views
How to get near-perfect screen recording quality?
Someone suggested I direct a copy of the unmodified X display to a file and afterwards convert that file to a general purpose video file. What commands would I use to do this on a Kubuntu system? (Edit: He said something about attaching a display port to a file.) If not possible, what is my best opt...
Someone suggested I direct a copy of the unmodified X display to a file and afterwards convert that file to a general purpose video file. What commands would I use to do this on a Kubuntu system? (Edit: He said something about attaching a display port to a file.) If not possible, what is my best option for an excellent quality screen recording that does not depend on fast hardware? *Background:* I tried using avconv with -f x11grab and some GUI programs. However, no matter what I try, the resulting video either has artifacts/ blurriness or is choppy (missing frames). This is probably due to CPU/ memory constraints. *Goals:* - Video quality must not be noticeably different from seeing the session directly on a screen, because the purpose is to demonstrate an animated application. - The final video must be in a common format that can be sent to Windows users and used on the web. I think H.264 MP4 should work. - The solution should not presume much prior knowledge. I am familiar with the command line and basic Linux commands, but I am still learning Linux and do not know much about video codecs. *What I already tried:* - Best command so far: ffmpeg -f x11grab -s xga -r 30 -i :0.0 -qscale 0.1 -vcodec huffyuv grab.avi, then convert to mp4 with ffmpeg -i grab.avi -sameq -vcodec mpeg4 grab.mp4. - The picture quality is great, but on my test sytem it lags the computer. On a faster target system it does not lag, but frames are obviously skipped, making the video not very *smooth*. - I am still trying to figure out how to save the grab.avi file to SHM to see if that helps. - Using Istanbul and RecordMyDesktop GUI recorders - Simple command: avconv -f x11grab -s xga -r 25 -i :0.0 simple.mpg using avconv version 0.8.3-4:0.8.3-0ubuntu0.12.04.1 - Adding -codec:copy (fails with: Requested output format 'x11grab' is not a suitable output format) - Adding -same_quant (results in great quality, but is very choppy/ missing many frames) - Adding -vpre lossless_ultrafast (fails with: Unrecognized option 'vpre', Failed to set value 'lossless_ultrafast' for option 'vpre') - Adding various values of -qscale - Adding various values of -b - Adding -vcodec h264 (outputs repeatedly: Error while decoding stream #0:0, [h264 @ 0x8300980] no frame!) - Note: h264 is listed in avconv -formats output as DE h264 raw H.264 video format
Oleg Pryadko (2500 rep)
Apr 25, 2013, 04:04 AM • Last activity: Aug 4, 2025, 10:02 AM
2 votes
2 answers
92 views
Run firefox as a different user in Kubuntu
I want to run Firefox as different users (Kubuntu 24.04). I've created extra users, then I do $ xhost +SI:localuser:NEW_USER $ sudo -u NEW_USER firefox I get this error message: /user.slice/user-1000.slice/user@1000.service/app.slice/app-org.kde.konsole-32c90ac053c74c8b88698b978c0ba6b5.scope is not...
I want to run Firefox as different users (Kubuntu 24.04). I've created extra users, then I do $ xhost +SI:localuser:NEW_USER $ sudo -u NEW_USER firefox I get this error message: /user.slice/user-1000.slice/user@1000.service/app.slice/app-org.kde.konsole-32c90ac053c74c8b88698b978c0ba6b5.scope is not a snap cgroup Digging, I've come across these: how to make it possible using SSH and using systemd-run The SSH method works, but I don't want to go that route. Now, I run this command: systemd-run --uid=1001 --slice=user-1001.slice /bin/sh /path/test.sh test.sh writes into a file that only user uid 1001 has access to, and then starts firefox. Checking, content gets written, but Firefox doesn't run. Checking with ps, there's no firefox process. How can I get Firefox (installed as a snap) to run as a different user?
user1532080 (133 rep)
Jun 9, 2025, 12:40 PM • Last activity: Jul 13, 2025, 08:43 AM
14 votes
2 answers
13781 views
How to deal with freezes caused by autofs after network disconnect
I mount four servers (3 via `cifs`, 1 via `sshfs`) using `autofs`. `auto.master` /- /etc/auto.all --timeout=60 --ghost `auto.all ` /mnt \ /server1 -fstype=cifs,rw,credentials=/etc/.smbcredentials.txt,uid=1000,file_mode=0775,dir_mode=0775,users ://server1/ \ /server2/ -fstype=cifs,rw,credentials=/etc...
I mount four servers (3 via cifs, 1 via sshfs) using autofs. auto.master /- /etc/auto.all --timeout=60 --ghost auto.all /mnt \ /server1 -fstype=cifs,rw,credentials=/etc/.smbcredentials.txt,uid=1000,file_mode=0775,dir_mode=0775,users ://server1/ \ /server2/ -fstype=cifs,rw,credentials=/etc/.smbcredentials.txt,uid=1000,file_mode=0775,dir_mode=0775,users ://server2/ \ /server3 -fstype=cifs,rw,credentials=/etc/.smbcredentials.txt,uid=1000,file_mode=0775,dir_mode=0775,users ://server3/ \ /server4 -fstype=fuse,rw,allow_other,uid=1000,users,reconnect,cache=yes,kernel_cache,compression=no,large_read,Ciphers=arcfour :sshfs\#user@server\:/home ``` Everything is fine when I make a clean boot. I connect to my network (using a VPN) and autofs mounts everything. # Problem When there is a network disconnect, e.g. when I hibernate my laptop or connect to a different network, autofs causes my explorer (dolphin) to freeze because it tries to load the remote share infinitely. It becomes unresponsive and does not even react to SIGTERM commands. Sometimes I am lucky and calling sudo service autofs stop and sudo automount helps to resolve the issue. However, often it still stays freezed. Sometimes even, my whole dock freezes due to this making all applications unselectable. Then I have to make a full reboot.. I've searched for weeks now for solution how to deal with autofs in such situations. Before using autofs, I had everything mounted via /etc/fstab but that also required a manual remount after every network interruption. I thought autofs would help me here but it causes me even more trouble. # Questions 1. Is there any point I overlooked that could solve the freezing problem? 2. Is there a completely different approach that may be better suited for my situation than autofs? PS: I'm on Kubuntu 16.04
pat-s (348 rep)
Jan 9, 2018, 11:27 PM • Last activity: Jul 12, 2025, 11:09 AM
1 votes
1 answers
4172 views
Unable to install Nvidia drivers on Kubuntu (KDE Neon 5.19)
I have some problems installing Nvidia drivers on my Kubuntu system and to get them working (GPU-Model: GeForce GTX 980 Ti). I tried it first in the standard way: $ sudo add-apt-repository ppa:graphics-drivers/ppa $ sudo apt-get update $ sudo apt-get install nvidia-driver-450 The installation finish...
I have some problems installing Nvidia drivers on my Kubuntu system and to get them working (GPU-Model: GeForce GTX 980 Ti). I tried it first in the standard way: $ sudo add-apt-repository ppa:graphics-drivers/ppa $ sudo apt-get update $ sudo apt-get install nvidia-driver-450 The installation finished, but after restarting, the new drivers don't work very well. I'm using a 4K monitor with 3840x2160 (16:9) resolution, but with the driver in use, it only allows for a resolution of 1024x768 (4:3), so my whole screen gets distorted. Also, the command nvidia-smi fails: NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running. Furthermore, after removing the drivers manually and restart, everything is back to normal. I tried with this method instead: $ sudo ubuntu-drivers autoinstall, but I get the same results. Then, I tried to execute the runfile provided by NVIDIA on their download site, but it fails because it is unable to disable Nouveau (the current Kernel driver in use). I also executed this command: lspci -vnn | grep VGA -A 12 to check. This is what I get when running normal: And here the same output with NVIDIA drivers enabled: 01:00.0 VGA compatible controller : NVIDIA Corporation GM200 [GeForce GTX 980 Ti] [10de:17c8] (rev a1) (prog-if 00 [VGA controller]) Subsystem: NVIDIA Corporation GM200 [GeForce GTX 980 Ti] [10de:17c8] Flags: bus master, fast devsel, latency 0, IRQ 11 Memory at f6000000 (32-bit, non-prefetchable) [size=16M] Memory at e0000000 (64-bit, prefetchable) [size=256M] Memory at f0000000 (64-bit, prefetchable) [size=32M] I/O ports at e000 [size=128] Expansion ROM at 000c0000 [disabled] [size=128K] Capabilities: Kernel modules: nvidiafb, nouveau 01:00.1 Audio device : NVIDIA Corporation GM200 High Definition Audio [10de:0fb0] (rev a1) Subsystem: NVIDIA Corporation GM200 High Definition Audio [10de:17c8] Any advice how to get the NVIDIA drivers installed and working on Kubuntu? I tried pretty much every installation guide, but none of them really worked.
Totemi1324 (131 rep)
Oct 13, 2020, 11:39 AM • Last activity: Jul 6, 2025, 12:07 PM
1 votes
0 answers
70 views
How to make "Ctrl-Shift" and "Ctrl-Shift-Arrows" shortcuts work together?
I am running KDE on Kubuntu 24, with default settings for almost everything. I am trying set up shortcuts to be Windows-like, as I am used to but I have gotten stuck on a weird bug. When I set Ctrl + Shift as the shortcut to change keyboard layouts, the Ctrl + Shift Left or Right combination (for se...
I am running KDE on Kubuntu 24, with default settings for almost everything. I am trying set up shortcuts to be Windows-like, as I am used to but I have gotten stuck on a weird bug. When I set Ctrl+Shift as the shortcut to change keyboard layouts, the Ctrl+ShiftLeft or Right combination (for selecting the whole word) stops working. If I set Alt+Shift as the keyboard layout change shortcut, the Alt+Shift+Tab combination (switch back to previous task) breaks. I have now set the shortcut to switch layouts to something weird and inconvenient so make the others work, but it feels like bug that must've been fixed by someone years ago. So the question is - is it really fixed? Or, at least, is there a workaround?
AlexandrX (111 rep)
Dec 5, 2024, 04:24 PM • Last activity: Jun 25, 2025, 06:28 AM
0 votes
0 answers
30 views
Scaling issues on multiple monitors
I've just installed Kubuntu (so using KDE Plasma) and I straight-away noticed that the scaling was a bit messed up. My setup is a 15" 1920x1080 144Hz laptop screen and a 27" 3480x2160 60Hz external monitor. I'm currently using X11 as a display server. On the laptop screen things are just too big and...
I've just installed Kubuntu (so using KDE Plasma) and I straight-away noticed that the scaling was a bit messed up.

My setup is a 15" 1920x1080 144Hz laptop screen and a 27" 3480x2160 60Hz external monitor. I'm currently using X11 as a display server.

On the laptop screen things are just too big and on the external one some are okay and some are not. For example, when I opened Firefox everything was just too small, but on Google Chrome everything was just fine. I tried going into the settings and tried to change the "global scale" setting, but it does nothing.

Can somebody help me? Thanks

EDIT: I tried installing Wayland and the scale works, but everything gets blurrier. Also, now on the laptop screen the scale is correct. On the external monitor, instead, everything is now smaller, apart from the taskbar.
fedebertos (1 rep)
Jun 17, 2025, 06:49 PM • Last activity: Jun 18, 2025, 04:38 AM
0 votes
1 answers
1950 views
Wireless interface Authorization supplicant failed kubuntu 20.04
I installed Kubuntu 20.04 on my brand new machine MSI MEG X570 ACE motherboard with Intel Wi-Fi 6 AX 200 n/w card. There is no Windows installed no double booting only Kubuntu. When I try to connect to my home wifi I get following error. How can I fix this? [![enter image description here][1]][1] ke...
I installed Kubuntu 20.04 on my brand new machine MSI MEG X570 ACE motherboard with Intel Wi-Fi 6 AX 200 n/w card. There is no Windows installed no double booting only Kubuntu. When I try to connect to my home wifi I get following error. How can I fix this? enter image description here kernel specs:
@jarvis:/etc/NetworkManager/system-connections$ uname -a
Linux jarvis 5.4.0-29-generic #33-Ubuntu SMP Wed Apr 29 14:32:27 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
richie@jarvis:/etc/NetworkManager/system-connections$ uname -r
5.4.0-29-generic
richie@jarvis:/etc/NetworkManager/system-connections$
lshw -C network and iwconfig output enter image description here
Terminator (1 rep)
May 7, 2020, 04:40 AM • Last activity: Jun 15, 2025, 07:02 AM
3 votes
1 answers
5806 views
Starting Wait for Plymouth Boot Screen to Quit
I'm struggling to install Kubuntu 15.04 on my PC. I've got a GTX 970 which i think is throwing off the trial mode from starting up. nomodeset doesn't work, so I tried nouveau.noaccel=1 to beget this error screen. At this point I don't fully understand how to proceed, so any help would be great. ![en...
I'm struggling to install Kubuntu 15.04 on my PC. I've got a GTX 970 which i think is throwing off the trial mode from starting up. nomodeset doesn't work, so I tried nouveau.noaccel=1 to beget this error screen. At this point I don't fully understand how to proceed, so any help would be great. enter image description here
Verlet64 (31 rep)
May 3, 2015, 10:01 PM • Last activity: May 20, 2025, 10:08 AM
0 votes
0 answers
44 views
Can't get .desktop files to launch in KDE
I've recently set up a new computer running Kubuntu 25.04 (KDE 6.3.4), and I have a few .desktop files I've brought over from my previous computer (which was using Gnome), where they worked fine. However, now I can't get them to be launchable. They're basically just designed to launch Chrome with a...
I've recently set up a new computer running Kubuntu 25.04 (KDE 6.3.4), and I have a few .desktop files I've brought over from my previous computer (which was using Gnome), where they worked fine. However, now I can't get them to be launchable. They're basically just designed to launch Chrome with a few specific settings. For example:
[Desktop Entry]
Categories=Network;Chat;
Comment[en_US]=A shortcut for Disney+
Comment=A shortcut for Disney+
Exec=/home/ross/scripts/disneyplus.sh
GenericName[en_US]=
GenericName=
Icon=/home/ross/Pictures/icons/disney-plus-logo.png
MimeType=
Name[en_US]=Disney+
Name=Disney+
NoDisplay=false
Path=/home/ross/scripts/
StartupNotify=true
Terminal=false
Type=Application
X-KDE-SubstituteUID=false
X-KDE-Username=
which points to a script with the contents:
google-chrome --disable-extensions -url http://disneyplus.com  -start-fullscreen &
The script works fine from the command line. The .desktop file is set to be executable, but the Allow Launching option doesn't appear on the right click menu. [context menu for the .desktop file](https://i.sstatic.net/X8UxCgcg.png)
$ desktop-file-validate disneyplus.desktop
reports no errors. Most of what I've found online so far suggests using gio to set the trusted flag from CLI, but that isn't working:
$ gio set disneyplus.desktop metadata::trusted true
gio: Setting attribute metadata::trusted not supported
I don't know what else I can try. Does anyone have any ideas?
Ross Thompson (1 rep)
May 12, 2025, 09:03 PM • Last activity: May 12, 2025, 09:03 PM
3 votes
3 answers
7470 views
Avoid notification "kdeinit5 closed unexpectedly" in Plasma 5.14 when starting Dolphin
After upgrading Kubuntu from 18.04 to 18.10 and that to Plasma 5.14.5 through the "backports" PPA I am lucky enough to face almost no bugs, except annoying notifications saying "kdeinit5 closed unexpectedly" [![enter image description here][1]][1] [![enter image description here][2]][2] It happens w...
After upgrading Kubuntu from 18.04 to 18.10 and that to Plasma 5.14.5 through the "backports" PPA I am lucky enough to face almost no bugs, except annoying notifications saying "kdeinit5 closed unexpectedly" enter image description here enter image description here It happens when I take some normal actions in Dolphin: start a new window, new tab, split, refresh. It seems to me that those actions are related to the Dolphin *window*; creating a new folder or deleting something doesn't trigger the error. I read here that kdeinit5 is a process launcher that executes KDE programs and kdeinit loadable modules (KLMs) starting them more efficiently. Using kdeinit5 to launch KDE applications makes starting a typical KDE application a couple times faster and reduces memory consumption by a substantial amount. - But as far as I can tell only Dolphin reports a problem with that. I have not noticed Dolphin operation or that of any part of the desktop being affected at all by this, I would just like to avoid seeing those notifications. Of course, I would like to have a solution that would avoid the error in the first place, but - if that is not possible until a future update etc - I am mainly asking here for a way to simply make those notifications go away. --- I don't know how to debug this, or if the following is useful, but running kdeinit5 dolphin the file manager starts with the usual error while in terminal I get this: ~$ Trying to convert empty KLocalizedString to QString. qt.accessibility.core: Cannot create accessible child interface for object: PlacesView(0x55d3d75565c0) index: 14 kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/trash.so' from launcher. kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/trash.so' kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so' from launcher. kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so' kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so' from launcher. kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so' kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/thumbnail.so' from launcher. kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/thumbnail.so' kf5.kio.trash: Root trash dir "/media/cip/DEPO/.Trash" exists but didn't pass the security checks, can't use it kf5.kio.trash: Directory "/media/cip/DEPO/.Trash-1000" exists but didn't pass the security checks, can't use it Qt: Session management error: networkIdsList argument is NULL Could not find video stream decodeVideoFrame() failed: frame not finished KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = kdeinit5 path = /usr/bin pid = 12077 KCrash: Arguments: /usr/bin/kdeinit5 thumbnail local:/run/user/1000/klauncherFKnizM.1.slave-socket local:/run/user/1000/dolphinFjEuPw.5.slave-socket KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit sock_file=/run/user/1000/kdeinit5__0 kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/libexec/drkonqi' from wrapper. kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/libexec/drkonqi' kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/thumbnail.so' from launcher. kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/thumbnail.so' Qt: Session management error: networkIdsList argument is NULL
user32012
Jan 23, 2019, 12:12 PM • Last activity: May 10, 2025, 05:10 AM
6 votes
2 answers
8984 views
Cannot update chrome in Ubuntu
I am on Kubuntu 24.04 and I see when I open my Chrome browser the indication that `New Chrome available` and `Chrome is out of date` I don't see chrome reported in my software updates so I run the following command: $sudo apt-get update $ sudo apt-get --only-upgrade install google-chrome-stable Read...
I am on Kubuntu 24.04 and I see when I open my Chrome browser the indication that New Chrome available and Chrome is out of date I don't see chrome reported in my software updates so I run the following command: $sudo apt-get update $ sudo apt-get --only-upgrade install google-chrome-stable Reading package lists... Done Building dependency tree... Done Reading state information... Done google-chrome-stable is already the newest version (129.0.6668.70-1). The following package was automatically installed and is no longer required: mailcap Use 'sudo apt autoremove' to remove it. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. My browser was closed when I run this and when I reopened it I still see the indication on my top right part New Chrome available. When I check in the help menu the version reported is Version 129.0.6668.70 (Official Build) So what is the issue here? Is there a way to fix this? If not, how can I re-install Chrome and can I do it without losing my accounts that I log in? **UPDATE in response to the answer from user10489** There is a file named: google-chrome.list.distUpgrade and when I see the content it says: ### THIS FILE IS AUTOMATICALLY CONFIGURED ### # You may comment out this entry, but any other modifications may be lost. # deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main # deactivated during upgrade in noble
smith (171 rep)
Dec 1, 2024, 01:26 PM • Last activity: Apr 21, 2025, 02:00 PM
2 votes
1 answers
2193 views
kdeinit5 starts background konsoles with high CPU usage
I am using KDE Neon LTS 5.12, sometimes, for some unknown reason, I can see a high CPU usage that comes from started konsoles by kdeinit5. Every konsole has no window and uses up to 17% CPU approximately. As I do not know the reason this happens, sometimes I see one, or two, or 4 konsoles (17% * 4 =...
I am using KDE Neon LTS 5.12, sometimes, for some unknown reason, I can see a high CPU usage that comes from started konsoles by kdeinit5. Every konsole has no window and uses up to 17% CPU approximately. As I do not know the reason this happens, sometimes I see one, or two, or 4 konsoles (17% * 4 = 68% CPU usage) with the same description: konsole [kdeinit5]. [![konsole [kdeinit5] problem]Referenced image]Referenced image It says I am the user who started these, but I do not know what do I do that makes this happen. If I try to [Jump to the parent process] in the context menu, It redirects me to the obvious kdeinit5: Running... process. [![konsole [kdeinit5] problem]Referenced image]Referenced image I have been checking forums but did not found a solution yet. ### UPDATE (2018-04-17) I am still testing, I have already installed the same distribution with almost the same configuration in a laptop, with **just one difference: did not install the Nvidia drivers** both my desktop computer (the main PC used in this post) and the laptop are using Nvidia GPUs. For some reason (again), seems to work perfectly well, without lefting processes in background nor initializing new ones. Obviously, there is a performance loss that can be slightly recovered by setting the composer to Xrender, but even... Is reported some kind of error related to this? I have tried other distros, but not as much to tell if this error is reproduced in those as well. Will keep testing.
Tabernero (161 rep)
Feb 12, 2018, 09:09 PM • Last activity: Apr 18, 2025, 06:03 AM
0 votes
0 answers
74 views
Kubuntu distro upgrade finalization failure - unconfigurable packages
After my recent upgrade attempt from 20 to 22 to 24 I got an installer error at the very end of the process (22 to 24) and now I'm left with several packages which were not configured normally. After spending several days trying to figure it out I gave up and asking for more or less step by step ins...
After my recent upgrade attempt from 20 to 22 to 24 I got an installer error at the very end of the process (22 to 24) and now I'm left with several packages which were not configured normally. After spending several days trying to figure it out I gave up and asking for more or less step by step instructions on what to try to fix the issues. The sudo dpkg --configure -a output is as follows: Setting up memtest86+ (7.00-1build1) ... Sourcing file `/etc/default/grub' Generating grub configuration file ... Found linux image: /boot/vmlinuz-6.8.0-57-generic Found initrd image: /boot/initrd.img-6.8.0-57-generic Found linux image: /boot/vmlinuz-5.15.0-136-generic Found initrd image: /boot/initrd.img-5.15.0-136-generic Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi Warning: os-prober will not be executed to detect other bootable partitions. Systems on them will not be added to the GRUB boot configuration. Check GRUB_DISABLE_OS_PROBER documentation entry. /etc/grub.d/bin/grubcfg_proxy: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory dpkg: error processing package memtest86+ (--configure): installed memtest86+ package post-installation script subprocess returned error exit status 127 Setting up plymouth-theme-kubuntu-logo (1:24.04.13) ... update-initramfs: deferring update (trigger activated) Sourcing file `/etc/default/grub' Generating grub configuration file ... Found linux image: /boot/vmlinuz-6.8.0-57-generic Found initrd image: /boot/initrd.img-6.8.0-57-generic Found linux image: /boot/vmlinuz-5.15.0-136-generic Found initrd image: /boot/initrd.img-5.15.0-136-generic Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi Warning: os-prober will not be executed to detect other bootable partitions. Systems on them will not be added to the GRUB boot configuration. Check GRUB_DISABLE_OS_PROBER documentation entry. /etc/grub.d/bin/grubcfg_proxy: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory E: Failed to update-grub2 dpkg: error processing package plymouth-theme-kubuntu-logo (--configure): installed plymouth-theme-kubuntu-logo package post-installation script subprocess returned error exit status 127 Setting up linux-image-6.8.0-57-generic (6.8.0-57.59) ... dpkg: dependency problems prevent configuration of kubuntu-desktop: kubuntu-desktop depends on plymouth-theme-kubuntu-logo; however: Package plymouth-theme-kubuntu-logo is not configured yet. dpkg: error processing package kubuntu-desktop (--configure): dependency problems - leaving unconfigured Setting up grub-pc (2.12-1ubuntu7.1) ... locale: Cannot set LC_ALL to default locale: No such file or directory Sourcing file `/etc/default/grub' Generating grub configuration file ... Found linux image: /boot/vmlinuz-6.8.0-57-generic Found initrd image: /boot/initrd.img-6.8.0-57-generic Found linux image: /boot/vmlinuz-5.15.0-136-generic Found initrd image: /boot/initrd.img-5.15.0-136-generic Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi Warning: os-prober will not be executed to detect other bootable partitions. Systems on them will not be added to the GRUB boot configuration. Check GRUB_DISABLE_OS_PROBER documentation entry. /etc/grub.d/bin/grubcfg_proxy: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory dpkg: error processing package grub-pc (--configure): installed grub-pc package post-installation script subprocess returned error exit status 127 dpkg: dependency problems prevent configuration of grub-gfxpayload-lists: grub-gfxpayload-lists depends on grub-pc (>= 1.99~20101210-1ubuntu2); however: Package grub-pc is not configured yet. dpkg: error processing package grub-gfxpayload-lists (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of grub-efi-amd64-signed: grub-efi-amd64-signed depends on grub-efi-amd64 | grub-pc; however: Package grub-efi-amd64 is not installed. Package grub-pc is not configured yet. dpkg: error processing package grub-efi-amd64-signed (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of shim-signed: shim-signed depends on grub-efi-amd64-signed (>= 1.191~) | grub-efi-arm64-signed (>= 1.191~) | base-files (= 1.187.2~) | grub-efi-arm64-signed (>= 1.187.2~); however: Package grub-efi-amd64-signed is not configured yet. Package grub-efi-arm64-signed is not installed. dpkg: error processing package shim-signed (--configure): dependency problems - leaving unconfigured Processing triggers for initramfs-tools (0.142ubuntu25.5) ... update-initramfs: Generating /boot/initrd.img-6.8.0-57-generic Processing triggers for linux-image-6.8.0-57-generic (6.8.0-57.59) ... /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-6.8.0-57-generic /etc/kernel/postinst.d/zz-update-grub: Sourcing file `/etc/default/grub' Generating grub configuration file ... Found linux image: /boot/vmlinuz-6.8.0-57-generic Found initrd image: /boot/initrd.img-6.8.0-57-generic Found linux image: /boot/vmlinuz-5.15.0-136-generic Found initrd image: /boot/initrd.img-5.15.0-136-generic Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi Warning: os-prober will not be executed to detect other bootable partitions. Systems on them will not be added to the GRUB boot configuration. Check GRUB_DISABLE_OS_PROBER documentation entry. /etc/grub.d/bin/grubcfg_proxy: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127 dpkg: error processing package linux-image-6.8.0-57-generic (--configure): installed linux-image-6.8.0-57-generic package post-installation script subprocess returned error exit status 127 Errors were encountered while processing: memtest86+ plymouth-theme-kubuntu-logo kubuntu-desktop grub-pc grub-gfxpayload-lists grub-efi-amd64-signed shim-signed linux-image-6.8.0-57-generic Can anybody please help me finalize the process? What would I need to do to configure the packages? I'm no Linux admin and can barely understand what they mean by those messages. Tried to look up 'general' unconfigured package issue fixes... But no suggested solution worked.
Somehow Buddy (1 rep)
Apr 17, 2025, 09:04 PM • Last activity: Apr 17, 2025, 10:31 PM
0 votes
1 answers
2092 views
Bind mouse click on key including mouseclick hold function
For health reasons, i mapped the mouse buttons on keys on keypad. This helps me, but I have solved the bindings via xdotool in KDE Custom shortcuts. With e.g. `xdotool click 1` you can simulate simple mouse clicks, but I would also like to drag a window when the mouse button is permanently pressed....
For health reasons, i mapped the mouse buttons on keys on keypad. This helps me, but I have solved the bindings via xdotool in KDE Custom shortcuts. With e.g. xdotool click 1 you can simulate simple mouse clicks, but I would also like to drag a window when the mouse button is permanently pressed. Under windows this was possible with AutoHotKey. Is there an option to set this up in linux as well? I use Kubuntu 20.04 and KDE 5.
CampingCow (1 rep)
May 6, 2022, 06:47 AM • Last activity: Apr 15, 2025, 08:00 AM
1 votes
2 answers
700 views
Is it still possible to bind mount /usr?
I used to bind mount my `/usr` from another volume, as my root volume is almost full. However, with KUbuntu 22.04.1 LTS, I.e., `systemd` ver 249.11, I found it impossible now. Here is how I did it before in `/etc/fstab`: ``` LABEL=bigvol /bigvol auto defaults,noatime,nodiratime,barrier=1,ro 0 2 /big...
I used to bind mount my /usr from another volume, as my root volume is almost full. However, with KUbuntu 22.04.1 LTS, I.e., systemd ver 249.11, I found it impossible now. Here is how I did it before in /etc/fstab:
LABEL=bigvol    /bigvol         auto defaults,noatime,nodiratime,barrier=1,ro  0 2
/bigvol/d-sys/2023-02/usr  /usr auto bind,ro       0 0
I.e., with 0 2, the /bigvol volume is mounted on boot up, and with 0 0, the /usr volume is not mounted until later. It's been working like that for over 10 years, but with systemd ver 249.11+ under linux-image-5.15.0-60, it starts to *bind* mount the /usr volume before any other volumes has been mounted, even when the root volume is temporarily mounted as /root instead of as /. **UPDATE:** So I tried the suggested /bigvol/d-sys/2023-02/usr /usr auto bind,ro,x-systemd.requires-mounts-for=/bigvol 0 0 And it is _not_ working, stopped at the _same_ place when the root volume is temporarily mounted as /root instead of as /. But Freddy's answer looks so convincing that I tried something else -- using the exact same syntact to bind mount something else (comment out this /usr bind mount but added another bind mount directory /var/cache/apt/archives). And, it, works! So it seems that 1. systemd knows that the /usr volume is very special and should be mounted _before_ anything else. 1. but it fails to see that my /usr volume is only a bind mount should be mounted _after_ anything else.
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.1 LTS
Release:        22.04
Codename:       jammy

$ apt-cache policy linux-image-5.15.0-60-generic
linux-image-5.15.0-60-generic:
  Installed: 5.15.0-60.66
  Candidate: 5.15.0-60.66
  Version table:
 *** 5.15.0-60.66 500
        500 http://security.ubuntu.com/ubuntu  jammy-security/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu  jammy-updates/main amd64 Packages
        100 /var/lib/dpkg/status

$ apt-cache policy systemd
systemd:
  Installed: 249.11-0ubuntu3.6
  Candidate: 249.11-0ubuntu3.6
  Version table:
 *** 249.11-0ubuntu3.6 500
        500 http://archive.ubuntu.com/ubuntu  jammy-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     249.11-0ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu  jammy/main amd64 Packages
xpt (1858 rep)
Feb 16, 2023, 10:00 PM • Last activity: Apr 12, 2025, 08:57 AM
1 votes
1 answers
117 views
How to apply same settings for Yakuake and Konsole flatpak?
I attempted to install Yakuake and Konsole using Flatpak due to issues with the default installation, which produced garbled output and occasional blank lines, resulting in inconsistency. After successfully installing both software packages via Flatpak, they function flawlessly, but there's a slight...
I attempted to install Yakuake and Konsole using Flatpak due to issues with the default installation, which produced garbled output and occasional blank lines, resulting in inconsistency. After successfully installing both software packages via Flatpak, they function flawlessly, but there's a slight inconvenience related to settings. In the native installation, when I modified settings for one application, those changes were automatically applied to the other. However, this seamless synchronization doesn't occur with their Flatpak versions. I now need to manually configure the same settings for both applications, which adds a bit of extra effort. If anyone has insights or solutions for this situation, I'd greatly appreciate your input.
Oshank Kashyap (11 rep)
Sep 12, 2023, 06:44 AM • Last activity: Apr 4, 2025, 07:22 PM
0 votes
1 answers
2096 views
set kms specific resolution at boot time
i'm trying to set a specific resolution for kms, at boot time. by default kms choose the highest resolution available (2500x1600) which is a bit hard to read. i'd like to set 1440x900 instead. i tried two things via grub, the first one: ``` GRUB_GFXMODE=1440x900 GRUB_GFXPAYLOAD_LINUX=keep GRUB_GFXPA...
i'm trying to set a specific resolution for kms, at boot time. by default kms choose the highest resolution available (2500x1600) which is a bit hard to read. i'd like to set 1440x900 instead. i tried two things via grub, the first one:
GRUB_GFXMODE=1440x900
GRUB_GFXPAYLOAD_LINUX=keep
GRUB_GFXPAYLOAD_LINUX=1440x900
but that didn't help, the system act just the same, no matter if it is there or not, it just continue to use 2500x1600. the other thing i tried instead is setting a kernel parameter like so:
GRUB_CMDLINE_LINUX_DEFAULT="video=1440x900"
that kind of helped a bit, the resolution changed, it's much better and readable but then, the virtual_size didn't change accordingly, it's still 2500x1600, meaning my tty is much bigger than the screen itself and so i only see the upper_left part of a larger term. how can i force kms to a specific resolution ? thanks
nsklaus (1 rep)
May 24, 2019, 05:49 AM • Last activity: Mar 9, 2025, 06:05 PM
2 votes
2 answers
1814 views
KDE plasma freezes unexpectedly
I have Kubuntu 22.04.2 LTS. In the past few weeks, KDE started to 'freeze' occasionally. Is this a known issue? Is there any way how I can gracefully close/restart just the UI from terminal? But most important, what should I check to collect some useful logs or details that could help to determine t...
I have Kubuntu 22.04.2 LTS. In the past few weeks, KDE started to 'freeze' occasionally. Is this a known issue? Is there any way how I can gracefully close/restart just the UI from terminal? But most important, what should I check to collect some useful logs or details that could help to determine the cause of the problem? Detailed description: KDE just gets stuck, and I can not do anything in the graphical UI. It seems that this usually happens when I switch desktops or even windows on the same desktop, but I cannot reproduce the behavior on-demand. I can move the mouse cursor, the music is still playing in the background (clementine - and I can control it via keyboards shortcuts), I can log in to the console using Ctrl+Alt+F1, I can log in via SSH, but I can not control KDE anymore: I can not move windows, switches desktops, close windows, opening apps or anything similar. Once this happened during a Skype call and the call was not interrupted and I was able to communicate. This started to happen only few weeks ago, it hasn't been happening before. I haven't installed any new hardware lately. Technical details that might be relevant:
root:~# cat /etc/issue
Ubuntu 22.04.2 LTS \n \l

root:~# uname -a
Linux ryzen 5.19.0-32-generic #33~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Jan 30 17:03:34 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
root:~#
root:~# kf5-config --version
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Qt: 5.15.3
KDE Frameworks: 5.92.0
kf5-config: 1.0
root:~#
root:~# lshw -c display
*-display
description: VGA compatible controller
product: Navi 14 [Radeon RX 5500/5500M / Pro 5500M]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:0d:00.0
logical name: /dev/fb0
version: c5
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=amdgpu latency=0 resolution=1920,1080
resources: irq:144 memory:d0000000-dfffffff memory:e0000000-e01fffff ioport:f000(size=256) memory:fcd00000-fcd7ffff memory:c0000-dffff
root:~#
root:~# lshw -c processor
*-cpu
description: CPU
product: AMD Ryzen 9 3950X 16-Core Processor
vendor: Advanced Micro Devices [AMD]
physical id: 11
bus info: cpu@0
version: 23.113.0
serial: Unknown
slot: AM4
size: 2199MHz
capacity: 4761MHz
width: 64 bits
clock: 100MHz
capabilities: lm fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp x86-64 constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pc
lmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate
ssbd mba ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale
vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip rdpid overflow_recov succor smca sev sev_es cpufreq
configuration: cores=16 enabledcores=16 microcode=141561889 threads=32

root:~# lsmod | grep -i amd
edac_mce_amd 36864 0
kvm_amd 167936 0
kvm 1130496 1 kvm_amd
ccp 110592 1 kvm_amd
amdgpu 11300864 170
iommu_v2 24576 1 amdgpu
gpu_sched 49152 1 amdgpu
drm_ttm_helper 16384 1 amdgpu
ttm 98304 2 amdgpu,drm_ttm_helper
drm_display_helper 184320 1 amdgpu
drm_kms_helper 200704 4 drm_display_helper,amdgpu
drm 581632 22 gpu_sched,drm_kms_helper,drm_display_helper,amdgpu ,drm_ttm_helper,ttm
i2c_algo_bit 16384 2 igb,amdgpu
I have 128GB of memory overclocked to 3600MHZ, but I have had it like this for 3 years without an issue. Also, memtest seems ok -- memtester 1G 10.
matej (121 rep)
Mar 3, 2023, 09:21 AM • Last activity: Mar 1, 2025, 02:49 PM
0 votes
1 answers
46 views
Remap touchpad top-right button (to middle-click)
See below why this is not a duplicate: being about top-button, which is not sufficiently specified by the `xev -event button` command. I have a touchpad with 4 buttons, the top ones doind the same thing as the bottom ones. I want to remap the top ones (namely the right-top button) to make a middle c...
See below why this is not a duplicate: being about top-button, which is not sufficiently specified by the xev -event button command. I have a touchpad with 4 buttons, the top ones doind the same thing as the bottom ones. I want to remap the top ones (namely the right-top button) to make a middle click. I have followed this solution: ~$ xinput ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ ATML1000:00 03EB:8A5C id=9 [slave pointer (2)] ⎜ ↳ PS/2 Generic Mouse id=11 [slave pointer (2)] ⎜ ↳ SynPS/2 Synaptics TouchPad id=12 [slave pointer (2)] Then: xinput get-button-map 12 1 2 3 4 5 6 7 Using xev -event button | grep button all I can get is that both right buttons do the same thing (3) - and what I want (middle-click) would be 2. The problem is that the accepted solution there is simply to replace 3 with 2 - but if I do that with something like xinput set-button-map "SynPS/2 Synaptics TouchPad" 1 2 2 4 5 6 7, only the right-*bottom* button is affected: it becomes a "middle-click", while the top one stays the normal "right-click". What I want is the bottom one to remain default (right-click), and the top (right) one to become a "middle-click". It seems that the touchpad top buttons are not listed by xinput get-button-map 12 (replacing 4, 5, 6 or 7 doesn't affect them either). So my question is not simply how to remap an obvious button like the right click to middle click (like here ), it is about treating the top buttons separatelly from the bottom ones. How could I list the top-button coordinates? - and then change and save their setting? I mean not list just what they do, but their difference from the bottom buttons so that I can apply the ”middle-click” option just to the top. This is in Kubuntu 24.04.
cipricus (1779 rep)
Feb 10, 2025, 09:41 AM • Last activity: Feb 11, 2025, 07:49 PM
Showing page 1 of 20 total questions