Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Search

Advanced Search Options

To further refine your search, you can use additional qualifiers such as score:>0.5. For example, the search score:>=0.5 created:<1y grammar would return only posts mentioning "grammar" that have a score >= 0.5 and were created less than a year ago.

Further help with searching is available in the help center.

Quick hints: tag:tagname, user:xxx, "exact phrase", post_type:xxx, created:<N{d,w,mo,y}, score:>=0.5

Filters
760 posts
 
66%
+2 −0
Q&A Show a timestamp on the right side of prompt when executing a command in ZSH

How to configure ZSH shell to print a timestamp on the right hand side of the prompt line when executing a command? I don't want to display the time prior to executing a command. Here's about how ...

1 answer  ·  posted 11mo ago by Iizuki‭  ·  last activity 11mo ago by Iizuki‭

Question zsh
66%
+2 −0
Q&A Show a timestamp on the right side of prompt when executing a command in ZSH

The preexec function is called right before executing commands, so it's the place to do this sorta things. This solution is adapted from Dan Berindei's original answer (CC BY-SA 3.0) to a related ...

posted 11mo ago by Iizuki‭

Answer
66%
+2 −0
Q&A Can rsync handle moves and renames?

Suppose I have a directory structure like ├── src │   ├── folder_a │   │   ├── file_w │   │   └── file_x │   ├── folder_b │   │   ├── file_y │   │   └── file_z and I back it up using rsyn...

1 answer  ·  posted 10mo ago by Karl Knechtel‭  ·  edited 10mo ago by Karl Knechtel‭

Question filesystem rsync
66%
+2 −0
Q&A What is synchronization in Wine?

Wine has options for "Synchronization", like "Esync" or "Fsync". What do these actually do? What is the purpose of such an option? What is the impact to normal usage of a Windows program in Wine?

1 answer  ·  posted 10mo ago by matthewsnyder‭  ·  last activity 9mo ago by matthewsnyder‭

Question wine
66%
+2 −0
Q&A An alternative to pacman sudo nag?

TL;DR When pacman bugs you for sudo, in bash or zsh (and possibly others but I haven't verified that), run sudo !! Full Answer As I see it you have 2 options: command substitution or an alias (o...

posted 9mo ago by TowerOfTurtles‭

Answer
66%
+2 −0
Q&A Find out which process is using a port

Sometimes your programs fail because the network port they are trying to use is already in use by some other process. How to find out what this other process is?

1 answer  ·  posted 9mo ago by Iizuki‭  ·  last activity 9mo ago by Canina‭

Question port process
66%
+2 −0
Q&A How to debug audio issues with JACK on Linux

I am trying to debug an issue with audio playback in MuseScore. During this process, I realised that I had/have no clue about audio playback in Linux (or in general for that matter). I already le...

0 answers  ·  posted 9mo ago by mr Tsjolder‭  ·  edited 9mo ago by mr Tsjolder‭

66%
+2 −0
Q&A How do I diagnose TLS errors?

Over some period of time, I have used a couple tools for local TLS scans and diagnostics. One of them may include pointers for whatever situation you have. Tool Description From Current? ...

posted 9mo ago by Michael‭  ·  edited 9mo ago by Michael‭

Answer
66%
+2 −0
Q&A What are the %U and %u parameters in desktop files?

Desktop files always have either %u or %U as an argument for the program being launched. E.g. here's a line from my firefox.desktop: Exec=/usr/lib/firefox/firefox %u What does it mean?

1 answer  ·  posted 9mo ago by Iizuki‭  ·  last activity 9mo ago by Iizuki‭

Question desktop xdg
66%
+2 −0
Q&A What are the %U and %u parameters in desktop files?

They are defined in the Desktop Entry Specification. In fact there are also %f and %F options. They tell the desktop manager how the program handles multiple files. Like if I select a bunch of fil...

posted 9mo ago by Iizuki‭

Answer
66%
+2 −0
Q&A Solr crashes on startup with segmentation fault

I am trying to run Solr 9.5.0 on Windows Subsystem For Linux 2. It crashes with a Segmentation Fault and does not start. I can run it on Windows without an issue. Java version on WSL2: 17 Java ve...

1 answer  ·  posted 9mo ago by tarhalda‭  ·  last activity 8mo ago by tarhalda‭

Question ubuntu wsl2
66%
+2 −0
Q&A Is there a way to automatically normalize paths when extracting RARs?

If all else fails, you could create a wrapper shell function to check the output of unrar l (probably by piping to wc -l) and proceed accordingly.

posted 8mo ago by Karl Knechtel‭

Answer
66%
+2 −0
Q&A How do you remap mouse buttons?

Wayland, ideally If you are on Wayland, the blessed way is to use the configuration for your desktop environment (DE) to map mouse keys and other input devices, except for a couple well-known opti...

posted 8mo ago by Michael‭  ·  edited 8mo ago by Michael‭

Answer
66%
+2 −0
Q&A How do you generate arbitrary random numbers from /dev/random?

Suppose I want to get random numbers from /dev/random with basic CLI tools. Is there a way to do it, that's easier to type and read than python -c 'import random; print(100 + 200*random.random())'?...

1 answer  ·  posted 8mo ago by matthewsnyder‭  ·  last activity 8mo ago by r~~‭

Question cli random
66%
+2 −0
Q&A What are non-POSIX shells and what's the point of them?

From the average user's perspective: Back in the day when people were figuring out how to do shells, there were as many shell syntaxes as shells. Everyone made up their own little language to go w...

posted 8mo ago by matthewsnyder‭  ·  edited 8mo ago by matthewsnyder‭

Answer
66%
+2 −0
Q&A ==> WARNING: Possibly missing firmware for module: 'foo'

When I create the initramfs, I sometimes see messages like: ==> WARNING: Possibly missing firmware for module: 'xhci_pci' I get many for different modules. What do they mean? Should I in...

1 answer  ·  posted 8mo ago by matthewsnyder‭  ·  last activity 8mo ago by Iizuki‭

66%
+2 −0
Q&A Why/how can distro support lifetimes exceed the lifetime of their dependencies (such as Python)?

When PSF says Python 3.8 is not supported, they are simply saying they will no longer bother fixing bugs in or adding stuff to that version. It's not like Python 3.8 will start automatically explod...

posted 8mo ago by matthewsnyder‭  ·  edited 8mo ago by matthewsnyder‭

Answer
66%
+2 −0
Q&A How to export public GPG key?

GPG stores keys inside an internal database of some sort. How to export your public key in the familiar -----BEGIN PGP PUBLIC KEY BLOCK----- format so that it can be imported to other software? E.g...

2 answers  ·  posted 8mo ago by Iizuki‭  ·  last activity 5mo ago by Michael‭

Question GPG
66%
+2 −0
Q&A How to export public GPG key?

This is how to save it to a file: $ gpg --export --armor key-id > my-key.pub --armor stands for the format with printable characters.

posted 8mo ago by Iizuki‭

Answer
66%
+2 −0
Q&A How to convert json to yaml?

With yq: $ yq --output-format yaml . file.json > file.yaml . is a filter which is applied to the data, but since . just stands for the document root, this means that the data is passed throu...

posted 7mo ago by Iizuki‭  ·  edited 7mo ago by Iizuki‭

Answer
66%
+2 −0
Q&A What are the concrete security risks of forcibly terminating a process?

What security risks can be introduced this way, and how? Consider the following scenario: A legitimate server listens on some network port. Usually¹ no other process can listen on the por...

posted 7mo ago by Kamil Maciorowski‭

Answer
66%
+2 −0
Q&A Systemd unit needs to start at boot but wait for network

I have a systemd unit that does some stuff on the internet. Sometimes this gets fired at startup. I want to make sure it's delayed until the computer is connected to the internet. In my notes I fo...

1 answer  ·  posted 7mo ago by matthewsnyder‭  ·  last activity 7mo ago by Iizuki‭

Question systemd
66%
+2 −0
Q&A Nerf an SSH login outside expected IP range

Can I restrict myself from certain actions when I SSH in from outside a certain IP range? For instance no sudo? Maybe with ~/.ssh/authorized_keys having a from="!1.2.3.4/26" option with some kind ...

1 answer  ·  posted 7mo ago by Michael‭  ·  last activity 7mo ago by Michael‭

Question ssh
66%
+2 −0
Q&A How to show motherboard model?

Surely there exists a command to print out the system's mother board model? Opening up the chassis is not an option.

2 answers  ·  posted 7mo ago by Iizuki‭  ·  last activity 7mo ago by Matthias Braun‭

66%
+2 −0
Q&A How to show motherboard model?

Try reading the files in /sys/class/dmi/id/, some of them don't require root privileges. For example: board_name board_vendor

posted 7mo ago by Matthias Braun‭  ·  edited 7mo ago by Matthias Braun‭

Answer