I'm trying to get audio from Nintendo Switch to play through my computer, so that I can use Discord at the same time; for this I'm connecting it to audio line-in on my motherboard. On Windows I can navigate to "Line-in" in audio settings through the control panel, select "listen to this device" and...
I have a laptop using the infamous Nvidia Optimus thingy and I configured it to use the Nvidia card, but performance is absurdly bad. On Windows this laptop would run Skyrim fine but now I'm getting 5 FPS in Don't Starve. What can I do about this?
For GTK it's enough to switch to xim input method, which can be set with GTK_IM_MODULE=xim. There's also QT_IM_MODULE, but setting it to xim doesn't make Qt follow stuff in ~/.XCompose. I've also tried ibus istead of xim, with identical effect.
Edit: Solved. See comment On startup I run setxkbmap command to set Polish and Russian layouts toggled with shift+caps, but recently this gets reset to default only US layout after some time. After I run the command manually it happens again. I can't point out any specific event that causes it, but...
Edit: Forget it. The problem, as it usually is, was between the screen and the chair. I bought an external hard drive which came formatted with NTFS. With this filesystem it works fine. After formatting to ext4 however, trying to mount the partition with mount hangs for a long time and quits silentl...
So in a git repository I have a folder which I don't want git to bother with. So in .gitignore I have the-dir/. And it works, but only for non-hidden files. But now I created another git repo inside that folder, which creates a .git folder, which is hidden obviously. Now the main repository sees the...
Edit: Nevermind the stuff below, it's newlines that cause my problem Is there a way to use a variable that contains both spaces and quotes as an argument for sed? For a variable that contains neither, it's pretty simple: sed 's/something/'$var'/' When it contains only spaces, it's also doable: sed '...
The microphone is on and works with other programs. When I make the test call on MS Teams, I'm not able to hear my voice, only static. The summary at the end claims that my microphone is connected and working. I'm using Pulseaudio for sound. Any idea what to do with this? Also, does anyone know if i...
According to df my home partition is 598G with 567G used. This should leave me with 31G of free space, but df reports only 2,1G available. The only explanation I've found is that some program(s) have allocated disk space that they no longer use because the files were deleted, but lsof +L1 doesn't sh...
I have two monitors with different heights. When I take a screenshot with scrot or record the screen with ffmpeg, the area where there's no screen contains random shit that used to be displayed on my screen at some point at some location. Sometimes it's clear, sometimes it's distorted. I don't have...
I have a new monitor which is bigger but has the same resolution as the old one (aka dpi is different) and now font of the same size in conky got smaller. This messes up alignment with images which are positioned in pixels. Can I set font size in a way that will ensure precise amount of pixels on ev...
How broken would the system be if I uninstalled every shell there is? Would it be able to open the DE? (assuming it's done automatically with a DM) How well would the DE function?
Currently, because writing operations to usb drives are cached, when I copy something there eg. using cp, the actual operation is still going when cp is done and the drive can't be unmounted yet. I don't want this behavior. When copying is reported to be finished, I expect it to be finished. What ca...
According to polybar my /home partiton is used in 79%, but conky reports 74%. How is that possible? It's obviously not matter of rounding because difference is greater than one. I know these programs report ram usage differently because apparently estimating ram usage is not an obvious thing to do,...
I know that it's a completely different framework, but there's a way to make Qt (somewhat) obey GTK theme. I was wondering if you can do that with applications written in JFrame etc. I know some applications let you do that (like you can use GTK styling in NetBeans) but what I wanted is just to affe...
Sometimes when I try to install something pacman will show me a bunch of errors saying that some files already exist in the filesystem, leaving me clueless on what to do, as deleting these by hand is ridiculous and probably also dangerous. And then it hit me - it only happens with python packages. C...
When I want to record video from a webcam, I can just ffmpeg with /dev/video0 or so as the source. Why can't it be so simple with a microphone? Why do I have to find long and unrememberable name of my alsa/pulseaudio input (like "alsa_input.pci-0000_00_1f.3.analog-stereo") and then use this a the so...