I upgraded from 20.04 to 22.04 and now my cursor looks UGLY on hover over links. How can I disable that or get back the old Firefox cursor icon? Preferably without using the apt package as explained here: How to install Firefox as a traditional deb package (without snap) in Ubuntu 22.04 (jammy)
Hakaishin's questions
I am trying to copy a 49.3GB large file onto an external harddisk for backup. I am using Ubuntu 20.04 and after drag and dropping the file I get the error message about splicing failing. Now I checked all answers here: How do I solve "Error splicing files?" and none of them apply. My external harddisk is formatted using exfat
db
└─sdb1 exfat T7 B4D9-B7F6 880.7G 53% /media/user/T7
It has enough free space, it is exfat. What else could the problem be? Oddly enough it always fails after 464.4MB, which seems like a very low value. How else can I backup this 49.3GB large file?
I have Ubuntu 20.04 and I would like to add a keyboard shortcut, which when I type 'asdf' quickly will copy paste a fixed string into the current cursor position. I tried adding a custom keyboard shortcut, but they can't be arbitrary keys. What are some other ways how I could achieve this? Can I somehow have arbitrary custom shortcut keys? I tried xbindkeys and xdotool but failed to shortcut a simple key:
# test
"xdotool type 'ls'"
F2
so how could I type asdf and have a fixed string copy pasted into the current cursor position and replace the just typed asdf
Because of a bug in nouveaus drivers I switched to nvidia drivers which didn't have that bug. Though now the two newest kernel versions don't boot anymore(just a black screen and a frozen mouse) and I have to revert to the older kernel 5.8.0-59-generic to boot normally. I would like to get the newest kernel version to work and I suspect it's the nvidia drivers responsible for freezing the system. Now when going to Ubuntu's UI under Software & Updates -> Additional Drivers I can select Using X.Org X server -- Nouveau display driver from xserver-xorg-video-nouveau (open source) now when I select it and hit apply changes I get following error message:
pk-client-error-quark: The following packages have unmet dependencies: libllvm11:
Depends: libatomic1 (>=4.8) but it is not going to be installed
Depends: libedit2 (>=2.11-20080614-0) but it is not going to be installed
Depends: libffi7 (>=3.3~20180313) but it is not going to be installed
Depends: libstdc++6(>=9) but it is not going to be installed
libxdamage1: Depends: libx11-6 (>=2:1.4.99.1) but it is not going to be installed
(268)
How can I fix this issue and install nouveau drivers? Why is it not going to be installed? That seems like a strange error message
I installed xrdp and already it was not working out of the box. I had to apply following two fixes. Fix 1, used the answer by Nemo and fix 2, used the answer by DeepSpace101.
Now I get to problem 3. Namely I want to start Clion from the console using nohup clion &
and I get following error: Cannot find VM options file
I know that this is a problem related to xrdp, because locally this command works. While we're at it, I also don't have a dashboard or the favorites bar on the left. How can I get xrdp to work(clion issue) and to look(dashboard, favorites bar) like when I log locally into Ubuntu 20.04?
It is very odd, I added a network drive and can see the files on it. Now I can open some files, but not pdfs. I can open text files and .doc files, but for pdfs I get following error message:
Unable to open document “file:///media/folder/file.pdf”.
Failed to load backend for 'application/pdf': libzstd.so.1: failed to map segment from shared object
I tried copying the file onto my drive and opening it then, same problem. I also tried opening this: http://www.africau.edu/images/default/sample.pdf but it also doesn't work. So I can't open pdfs in general. The strange thing is my collegue also has Ubuntu 20.04 and we both have a fresh default install of Ubuntu and he can open it, but I can't. I didn't change anything regarding the document viewer. How can I open pdfs in Ubuntu 20.04?
I have a fresh 18.04 install and would like to enable the numlock key for login, without switching to the older lightDM. I saw this, this and this, but when trying the gdm approach I get: Command 'gdm' not found
but as said above I would like to achieve this small task, without having to switch to lightDM or do some other major changes.
I tried everything here but nothing helped. What I found helped is to reinstall manually the proprietary nvidia driver(NVIDIA-Linux-x86_63-390.87.run). But only until the next restart. After that I am stuck again in a login loop and have to reinstall the drivers again. This is cumbersome and I would like a fix where I do not have to reinstall them every time.
The problem seems to be that both the nvidia driver and the nouveau driver want control over something(xorg server, gpu, display)?
I found this out because of this post. Specifically after running lspci -vk | grep -iA15 NVIDIA
I get the line:
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960] (rev a2)
....
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
This seems odd to me becaue of two things. I know I saw once somewhere a file that was created by the nvidia driver that read something along this:
# Nvidia driver autogenerated do not touch
blacklist nouveau
options nouveau modeset=0
Plus I followed this post and added a file /etc/modprobe.d/blacklist-nouveau.conf with this content:
blacklist nouveau
options nouveau modeset=0
and then I did:
sudo update-initramfs -u
sudo reboot
but the lspci line still shows the same drivers, notably nouveau being still there and the /var/log/xorg.0.log shows:
(II) LoadModule: "nvidia"
....
(II) LoadModule: "nouveau"
....
(EE) [drm] Failed to open DRM device for (null): -2
(WW) Falling back to old probe method for fbdev
Summary
- How to fix the login loop without needing to reinstall the nvidia driver manually every time?
- How to blacklist the nouveau driver?
What are not options
Reinstalling ubuntu is not an option.
Just using the nouvea drivers. I need the nvidia drivers.
Let me know if you need more info, e.g. the .xsession-error log.
I have a weird bug that only happens when I start clion from the icon. Clicking on the icon I get: ImportError: No module named catkin.environment_cache
in the cmake window. When I start clion from the console like I usually do I don't get this error, I get no error at all. I assume it has something to do with the environment variables that are different depending on the way I start it.
I checked jetbrains-clion.desktop and it launches the same binary with the same options I do when starting it from the command line.
Is there a way to set the same environment variables for a .desktop file, as if the command was run from a terminal?
I have Ubuntu 16.04 and when I go to into my settings into the Details/Overview page I see a button on the bottom right that says: "Install Updates". Pressing it gives a small progress windows, that does not really install anything new. How can I change the button to display system up to date, instead of doing this pseudo update nothing thing?
I am working with vagrant 1.7.4, which i use together with lxc 1.1.5 on ubuntu 15.10.
I was working with it the last few weeks and never did vagrant halt before shutting down my computer. Now it happened to me today that my vagrant box was corrupted and it got newly created. In this process it deleted my whole database of course. I have two questions:
Is it right, that vagrant or lxc does not react with a gracefull shutdown when getting a SIGTERM signal from ubuntu when I shut it down? And because of that vagrant boxes can get corrupted? I get this idea because a co-worker told me that this could happen and because of this and this
Is it possible to change the default behaviour of vagrant up, so instead of just creating a new container and overwriting the old one, when it doesn't find a right box. It informs the user and waits for user input. So I could stop vagrant up and do a sql dump before creatinx the box new? This question is probably a change request for vagrant, but I guess there is an easy workaround which I don't know?
I am using Ubuntu 15.10 and encrypted my partition with the default partitioning tool that is being displayed during installation. Now I want to be able to give my Laptop to somebody else without having to decrypt my drive and without giving him my passphrase. I already have a second user for him, but he doesn't even get to the point where you can login yourself because he can't encrypt the drive. So is it possible to have 2 keys for encryption?