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
 
60%
+1 −0
Q&A In i3wm, how do I move a workspace with its windows to another screen?

In i3, is there a way to move an entire workspace to another monitor, including all windows it contains?

0 answers  ·  posted 6mo ago by matthewsnyder‭

60%
+1 −0
Q&A In i3wm, how to create affinity between screens and workspaces?

I have multiple screens and I often connect and disconnect monitors while the system is running. i3 assigns a workspace to each monitor, but does so unpredictably. Sometimes my main monitor is work...

0 answers  ·  posted 6mo ago by matthewsnyder‭

60%
+1 −0
Q&A In i3wm when moving windows, how do I also switch to the workspace if it's active?

Let's say I have workspaces 1, 2, 3 on screen A and 4, 5 on screen B. Currently workspaces 1 and 4 are active. With my current config, moving a window to another workspace never activates it. How...

0 answers  ·  posted 6mo ago by matthewsnyder‭

60%
+1 −0
Q&A In i3wm, how do I tell which screen is which workspace?

I have multiple screens and I often connect and disconnect monitors while the system is running. i3 assigns a workspace to each monitor, but does so unpredictably. Both workspaces are highlighted a...

0 answers  ·  posted 6mo ago by matthewsnyder‭

60%
+1 −0
Q&A How to extract string from file, run filter, and replace in file with new value?

Both replies, at different points, provided the basis for this working script. Assuming that the 12th line of file has something like:     <p>HERE IS MY TITLE</p> where HERE... begi...

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

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

Use nohup(1), and redirect stdout and stderr to /dev/null The following works as expected, not having to wait until the PDF is generated. #!/bin/sh test "$1" = "refs/heads/main" || exit 0; ...

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

Answer
75%
+4 −0
Q&A How to extract string from file, run filter, and replace in file with new value?

(Assuming your file names are portable, according to POSIX (https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_282). If not, please read this for writing a more robust...

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

Answer
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
75%
+4 −0
Q&A How to extract string from file, run filter, and replace in file with new value?

TASK I am coding up ebooks to a specific standard, and have a script that converts a string into the correct titlecase for this publisher. When working with some public domain source files, one of...

4 answers  ·  posted 6mo ago by David‭  ·  last activity 2mo ago by Mithical‭

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
60%
+1 −0
Q&A Lynis says my /etc/issue is weak - how to strengthen?

It turns out, that Lynis test code lives in /usr/share/lynis/include/test_banners which gave me a way to find what banner is considered good. :-) In my case, it's to have 5 or more specific keyword...

posted 6mo ago by LAFK‭

Answer
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
60%
+1 −0
Q&A Lynis says my /etc/issue is weak - how to strengthen?

When hardening my system with Lynis I had information about /etc/issue and /etc/issue.net being found weak. Lynis redirects me to Enterprise, which is a paid product and a bit overkill for my home...

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

Question Lynis hardening
71%
+3 −0
Q&A How to RTFM well to get a CLI command

The pager less(1) less(1) is the usual pager nowadays; you would do well learning to use it. It's also used for paging the manual pages, in most systems. The most common operation is searching,...

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

Answer
80%
+6 −0
Q&A How to RTFM well to get a CLI command

I've been met with the phrase RTFM often. I recognize its value. However, the manual pages are often hard to understand and written by people who know so much about the topic at hand that they don'...

2 answers  ·  posted 6mo ago by LAFK‭  ·  last activity 5mo ago by matthewsnyder‭

Question man-page
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
50%
+0 −0
Q&A How to see VRAM with inxi?

Inxi has a -x, -xx, -xxx for extra details. I'd try sudo inxi -G -xxx though if it WILL report VRAM is another matter. My help says: -G Device serial number, class ID; Xorg Screen size, diag; ...

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

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

My VISUAL setup interferes with my cron jobs. crontab -l works all right, I see my previous jobs. crontab -e, crontab -e -u user-here - opens GVIM on an empty file checked cron.allow or .deny,...

1 answer  ·  posted 6mo ago by LAFK‭  ·  last activity 6mo ago by Quasímodo‭

Question cron
60%
+1 −0
Q&A Looking for a way to sync dotfile content between different machines without introducing security issues

A first quick solution I hacked up was to sync via NAS. Synology NAS served as a synchro point. I synced via git repo. etckeeper was used to sync machine config, pass was used to sync passwords. S...

posted 6mo ago by LAFK‭

Answer
71%
+3 −0
Q&A Looking for a way to sync dotfile content between different machines without introducing security issues

It depends on how much sensitive they are. I have three classes. 1) Very sensitive directories Partitions For my ~/.ssh/, ~/.password-store/, ~/.gnupg/, and ~/.abook/, I have a drive with 4 p...

posted 6mo ago by alx‭  ·  edited 5mo ago by alx‭

Answer
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
80%
+6 −0
Q&A Looking for a way to sync dotfile content between different machines without introducing security issues

I switch between three computers and have never been able to keep my dotfiles in sync. I cannot put them into source control because they contain sensitive data. So, my question is: how do I share ...

3 answers  ·  posted 6mo ago by paulsweatte‭  ·  last activity 5mo ago by matthewsnyder‭

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
57%
+2 −1
Q&A How to change resolution of virtual terminal?

How can I rescale the Linux virtual terminals (ctrl + alt + {f1, f2, f3, f4, f5, f6}), so that a high-resolution display doesn't make the letters too small? I'd like to use 1080 or even 720 resolu...

2 answers  ·  posted 6mo ago by alx‭  ·  last activity 6mo ago by Canina‭

71%
+3 −0
Q&A Alternating 2 keyboard layouts with Key Combination

You probably need to change the permissions on the file to make it executable. You can do that with chmod: chmod +x change-xkbmap.sh To verify, try running ./change-xkbmap.sh in a terminal with...

posted 6mo ago by dzaima‭

Answer