Is it possible to pass the video parameter multiple times for the same display? My screen only reports a refresh rate of 60Hz, but I know that others are supported (at least 50, 71.93 and 72Hz). I'm using a file in /etc/X11/xorg.conf.d/ with the parameters from gtf to add the extra refresh rates. Th...
Whenever I try to run a program written in rust as a normal user, it does not work. I first noticed this while trying Veloren, and I thought it was their issue. I have then downloaded ruffle-rs to play some old swf files, and got the same error: memory allocation of 5404319552844632832 bytes failed....
I cannot connect any device to my laptop via bluetooth. I tried using the kde plasma gui and with the command line. In both cases bluetoothctl show says the controller is powered, discoverable and pairable, but nothing (phone/headphones/mouse) can see it. Any ideas? The card is a Broadcom BCM43142A0...
I've never really used headphones, so only now I noticed that the combined (4-pin) audio connector is only recognized as an audio output. I tried what is written in the wiki, using models dell-headset-multi and headset-mic, since there isn't anything more s
When playing a video in fullscreen, VLC resizes the toolbar and it covers the screen. Here is an example (with screenshots): The video plays normally, the toolbar is hidden. If the mouse is moved the bar is shown, however it is the wrong size and covers almost all of the screen. While the mouse is o...
I have recently installed an SSD in my laptop (Asus), removing the CD reader. I have installed the OS in the SSD, however it doesn't boot properly. When I start the computer the Asus logo appears, then the BIOS opens and the "Boot" section (also the "Boot override" under "Exit") is empty. If however...
I recently bought an SSD for my computer and I will reinstall the OS. The idea is to put / and the programs in the SSD and store the files in the HDD. Will using the HDD as /home impact the boot time? Is there a better way to mount the disk (maybe as a subfolder of /home)?
I haven't been using calibre for about two months and today I tried to open it and it doesn't even start. Running $ calibre from the command line just outputs Segmentation fault (core dumped) and quits (even with the --ignore-plugin or --version options). I tried deleting calibre's .config folder, m...
I'm using mupdf to read files that have some pages of different sizes. I use Z to fit the current page in the screen, but the zoom level remains the same between pages. Is there a way to adjust automatically on page change?
I have a folder containing some text files and another file that contains a list of substitutions I'd like to make in them. What is the most efficient way of doing this in a shell script? I have used regular expressions and sed before, but never to check for lots of patterns. EDIT: here's an example...
I have a script that automatically counts the number of updatable packages and I noticed the counter stopped at 0 some days ago. Today I tried running `pacman -Syu` out of curiosity and found 300+ updates. If I run `checkupdates` I just get a `command not found`. I haven't found anyone else having t...
I'm using Arch Linux, VLC's version is . I know that with VLC 3.x you can stream to a chromecast, however when I open Playback > Render it only shows "<local>" and under that "Scanning...", and stays like that. Is this somehow disabled in Linux or similar?
My Arch laptop always gets the IP 192.168.1.101 when I connect to my home router. This is not a bad thing, as everything works, however I'd like to understand where is this set. I'm using NetworkManager. EDIT: as it turns out, I set the IP once months ago and the router is just giving that address b...
I've found this script, but it only works if explicitely launched (and requires two inputs, the search engine and then the query). I've also tried the script discussed here. This is better, as can be used as a rofi mode, but only opens the engine web page. Does someone
I have set up my Brother MFC-J4620DW printer in the CUPS server. The printer is connected and ready, however when I try to send it some file (even the test page) it receives the data and then goes idle. It doesn't show any kind of error, just seems to be ignoring the files. I've already tried recove...
I've written some scripts that are run periodically by fcron, however I can't make it display notifications or execute some commands. In particular: even a test shell script containing only notify-send "adsf" "asdf" is executed without problems by a terminal, but fcron shows nothing (the line is <ti...
I'm tweaking my lemonbar and I would like it to update when some particular events happen (like when the laptop is conneted to a power source). Is there a guide about how to let scripts wait for these events and react accordingly?
I'm trying to write a script that shows the current volume when it changes (something similar to this), however after a bar is created bspwm leaves a "hole" for it, until I reboot. A solution would maybe be to make the lemonbar float, however how can I do this without altering my "main" bar?
I'm trying to substitute my polybar with lemonbar, however when I try to use iconic fonts (like "mplus Nerd Font") the icons are very small. Increasing the font size works, but it offsets the other words (see image). How can I solve this?
Some months ago I discovered Suspend Sedation and it made my life simpler (I no longer have to worry about my laptop's battery discharging while not in use). Are there some interesting lesser known scripts that you think everyone should try?
I'm currently using termite as default, but noticed that the image previews in ranger do not work. I've read that it is because of the transparent terminal, but using urxvt the images are rendered. By trial and error I discovered that w3mimgpreview returns 1 in termite (while rendering in urxvt). Wh...
I've recently discovered newsboat and I like it but would like to know if there is a way to count the unread feeds without aving to open the program. (for example some parameter that when passed makes newsboat just print the titles and quit. Alternatively, is there another similar terminal applicati...
I currently have a root crontab that each hour runs pacman -Syuw --noconfirm, so that it downloads packages and I save time when I can actually install them. Is this a good idea or are there some unforeseen consequences? Bonus question: how can I find out which packages have already been cached?
I've started using this script on my laptop so that after an hour of suspension it hibernates to avoid battery discharge. While the computer is connected to a power source it works perfectly, but otherwise the script doesn't seem to be executed. Obviously, while it is connected to a power source I d...
I have an ASUS laptop with Arch installed. I have a 10GB partition formatted as swap, so I should be able to suspend to disk in it. When I systemctl hibernate my PC shuts down as expected, but when I later try to power it on it just boots normally. Do I have to enable something before being able to...
I've been using KDE Plasma for a lot of time, and I'm now trying i3wm. My problem is that I can't connect to any wi-fi network using netctl, NetworkManager or wicd. The workaround I found at the moment is to open the kde settings and connect to the network through those. Thank you, any suggestion is...
In my city (and also school) we have an unprotected network that requires a login through the browser to be used. My problem is that if I use an ethernet cable it works fine, while if I try to login over wifi it just loads the login page forever. I have tried both Firefox and Chromium. Does someone...
When booting my PC tries to enable sys-subsystem-net-devices-multi-user.device, failing every time (it stops after one minute and a half). Can someone explain to me what is it or how do I blacklist of?