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
575 posts
 
66%
+2 −0
Q&A How can I get a Flatpak dependency graph?

flatpak uninstall --unused currently tells me that there is Nothing unused to uninstall. This seems wrong to me, based on the list of packages I see vs. the "root" packages I explicitly installed p...

0 answers  ·  posted 8mo ago by Karl Knechtel‭

66%
+2 −0
Q&A How to see all header fields of an email in mutt?

Neomutt (and probably Mutt too, but I didn't try) seems to be hiding header fields from email, such as the Message-ID field, and fields that are added by SMTP servers when they receive the message....

1 answer  ·  posted 8mo ago by alx‭  ·  edited 8mo ago by matthewsnyder‭

Question neomutt mutt
66%
+2 −0
Q&A How to change resolution of virtual terminal?

I think that you have two options. The literal answer would be to pass video= to the kernel. For example, you could pass video=720x400 to run the framebuffer at a 720x400 resolution, assuming that...

posted 6mo ago by Canina‭

Answer
66%
+2 −0
Meta Suggestion: Basic Linux skills compendium

Neat idea. In favour. Bottom-up is better I'd propose bottom-up here, instead of grand idea to strive for. I'd cut the list of topics down to real basics. I agree with @KarlKnechtel on Git. I'...

posted 6mo ago by LAFK‭  ·  edited 6mo ago by LAFK‭

Answer
66%
+2 −0
Q&A Why does $XDG_DATA_HOME default to ~/.local/share?

I wasn't there two decades ago when the spec was first being developed, but based on other parts of the spec they're clearly attempting to establish a parallel with /usr/local. The intended minimal...

posted 8mo ago by r~~‭

Answer
66%
+2 −0
Q&A Modern and practical way to schedule tasks on a Linux machine that is not always on

What is a modern and practical way to handle scheduling tasks on a Linux desktop? Modern means basic features should not rely on obscure or convoluted commands and standards Practical means you...

3 answers  ·  posted 5mo ago by matthewsnyder‭  ·  edited 5mo ago by matthewsnyder‭

66%
+2 −0
Q&A Higher-order functions in Bash?

Say I have some Bash function my-func, that expects a filename and does some processing on the corresponding file. For demonstration purposes, my-func() { cat "$1"; } If I want to apply that fu...

1 answer  ·  posted 8mo ago by Karl Knechtel‭  ·  last activity 8mo ago by Kamil Maciorowski‭

66%
+2 −0
Q&A VISUAL=gvim makes crontab -e open a new crontab instead of a current one

Specific answer: Use gvim -f. General answer: Use the non-forking mode of your editor, i.e. if you run it in a terminal, it should wait until the editor is closed to return back control to you. E...

posted 6mo ago by Quasímodo‭  ·  edited 6mo ago by Quasímodo‭

Answer
66%
+2 −0
Q&A How to run a command on a list of files?

In some cases, when you want to apply a pipeline or a complex command to each file, I find it useful to use while read: find . -type d \ | while read d; do find $d -type f -maxdepth 1 \ | hea...

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

Answer
66%
+2 −0
Q&A Run pipeline in the background from git hook

I'm trying to run a pipeline to update a PDF after every push to the 'main' branch. I want it to be atomic, so it doesn't touch the existing PDF until it has finished, so I need to use sponge(1) (...

1 answer  ·  posted 6mo ago by alx‭  ·  last activity 6mo ago by alx‭

Question shell-scripting git
66%
+2 −0
Q&A How to extract string from file, run filter, and replace in file with new value?

iterate through all chapter-*.xhtml files in a directory Assuming bash, and assuming that at least one such file exists in the current directory (otherwise adjust the path and/or shopt -s ...

posted 6mo ago by Canina‭

Answer
66%
+2 −0
Q&A How to change resolution of virtual terminal?

This isn't exactly what you asked, but the letters-too-small problem could also be solved by using a larger console font. Here is a decent overview of how to change console fonts, though I don't k...

posted 6mo ago by r~~‭

Answer
66%
+2 −0
Q&A Alternating 2 keyboard layouts with Key Combination

Sorry it was a typo, _ instead of -, that caused the problem. I want to have a key combination to alter the keymaps. It worked with one for us and one for hu, but now I want to use one key combina...

1 answer  ·  posted 6mo ago by Arpad Horvath‭  ·  edited 6mo ago by Arpad Horvath‭

66%
+2 −0
Q&A How to list the first x files in each directory

Is this what you want? Edit: Credit to Kamil Maciorowski‭ for catching an unsafe interpolation in the previous draft; it will work for non-adversarial inputs but this newer version is safer and a ...

posted 8mo ago by r~~‭  ·  edited 7mo ago by r~~‭

Answer
66%
+2 −0
Q&A How to overwrite each line of STDOUT with the next one?

In Bash, you could use the $COLUMNS environment variable to detect the width of your terminal and truncate each line to that length in your sed script. Something like this should work: sed "s/^\(....

posted 8mo ago by r~~‭  ·  edited 8mo ago by r~~‭

Answer
66%
+2 −0
Q&A Run a command *later*

How can I run a command later? I'm looking for a CLI way to schedule a command to be run later. I know that I could create a systemd timer, install it, activate it... That is too much work. I want...

2 answers  ·  posted 9mo ago by matthewsnyder‭  ·  last activity 9mo ago by Canina‭

Question cli scheduling
66%
+2 −0
Q&A How do I find files?

The ancient utility find should come installed on the majority of distributions. Technically, find recursively locates all files and directories under a path, and prints their full paths. It is of ...

posted 8mo ago by matthewsnyder‭

Answer
66%
+2 −0
Q&A Where does GtkFileChooserDialog store bookmarks?

I have some bookmarked folders in GtkFileChooserDialog. I want to add these to my dotfiles. Where are the bookmarks stored?

1 answer  ·  posted 9mo ago by matthewsnyder‭  ·  last activity 9mo ago by Quasímodo‭

Question dotfiles
66%
+2 −0
Q&A How do I tweak the start parameters of GUI apps?

tl;dr: Find the .desktop file that you are currently running It is probably in a system location, so copy it to a user location Modify the file contents The normal way to create icons for...

posted 8mo ago by matthewsnyder‭

Answer
66%
+2 −0
Q&A Highlight regions in an image with CLI

I have an image (a photo) and I want to highlight certain parts of this. I want to do this from the CLI. I am planning to store the pixel coordinates of polygon vertices in a file, and when I run ...

2 answers  ·  posted 9mo ago by matthewsnyder‭  ·  last activity 9mo ago by samcarter‭

66%
+2 −0
Q&A Starts systemd service and follow log

Assuming that systemctl start $SERVICE.service returns right away (some [poorly] written StartExec commands do not), you can run this: systemctl start $SERVICE.service & journalctl -f -u $SERV...

posted 9mo ago by bgstack15‭  ·  edited 9mo ago by AdminBee‭

Answer
66%
+2 −0
Q&A How is the IPv6 link-local address calculated?

I was told that an IPv6 link-local address — typically starting with fe80:: — is derived from the interface's MAC address. Here are some instruction on how to do the conversion. But the conversion...

1 answer  ·  posted 10mo ago by Matthias Braun‭  ·  last activity 10mo ago by Matthias Braun‭

Question networking ipv6
66%
+2 −0
Q&A How to get a new IP address from DHCP?

Restarting NetworkManager should be enough: sudo systemctl restart NetworkManger

posted 8mo ago by matthewsnyder‭

Answer
66%
+2 −0
Q&A How to change the default app for opening directories in Gnome?

I somehow managed to unknowingly change the default app for opening directories on my laptop. E.g. when I use the option open containing folder in a program like Evince, my editor (vscode) opens u...

2 answers  ·  posted 9mo ago by mr Tsjolder‭  ·  last activity 9mo ago by matthewsnyder‭

Question gnome
66%
+4 −1
Q&A Simplest way of stripping leading/trailing whitespace from file or program output

What is the simplest shell idiom for stripping leading and trailing whitespace from a file or program output? Ideally I am looking for the equivalent of trim or strip methods in some languages. Th...

3 answers  ·  posted 10mo ago by matthewsnyder‭  ·  last activity 10mo ago by AdminBee‭

Question text-processing