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
 
50%
+1 −1
Q&A How to append commands to startx from console

From what I understand, you can pass a command to the xinit program that will be executed instead of .xinitrc. So you might be able to use startx sh -c 'xrandr-invert-colors; exec "$HOME/.xinitrc"...

posted 2y ago by celtschk‭

Answer
50%
+0 −0
Q&A When should you install windows dlls for wine with winetricks?

Windows packages all of its API functions into DLLs, so when you have a program that relies on calls to X, Y and Z you must ensure that you have the correct set of DLLs that provide all of those. T...

posted 1y ago by matthewsnyder‭  ·  edited 1y ago by matthewsnyder‭

Answer
50%
+0 −0
Q&A How do I prevent remote syslog events from printing locally?

You said rsyslog specifically. Hopefully you are using a version new enough to use the advanced syntax (aka RainerScript). 1 Would something similar to the following work for you? $EscapeControlC...

posted 2y ago by bgstack15‭

Answer
50%
+0 −0
Q&A How to automatically change to the first matching directory using fuzzy search and cd?

Possibly -f "$dir" not -q "$dir". According to man: -q, --query=STR Start the finder with the given query ... -f, --filter=STR Filter mode. Do not start interactive finder. When used with -...

posted 1y ago by jimbobmcgee‭  ·  edited 1y ago by jimbobmcgee‭

Answer
50%
+0 −0
Q&A How to debug NetworkManager issue after suspend/resume in Ubuntu 22.04

Although you have left a post saying it is solved, I think it's not uncommon for this kind of problem to show up. I think it can happen due to misconfiguration of either NM or the network drivers/h...

posted 1y ago by matthewsnyder‭

Answer
50%
+0 −0
Q&A Retrieve changes that closed a Debian bug

https://metadata.ftp-master.debian.org/changelogs/main/p/poppler/poppler_22.12.0-2_changelog contains the changelog for this particular package. It should be obvious how to change to a different ve...

posted 1y ago by tripleee‭

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

Airflow is a distributed workflow manager intended for complex cloud computing use. However, it can be used to run tasks locally. You can run Airflow in single-node mode, with LocalExecutor, and w...

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

Answer
50%
+0 −0
Q&A Can I confine an executable inside a Docker container using a host apparmor profile?

I'm trying to containerize an application that currently uses apparmor to confine Python. This allows sandboxing of user-submitted code. How can I get docker and apparmor to play well together? Cu...

0 answers  ·  posted 11mo ago by much‭

Question docker apparmor
50%
+1 −1
Q&A What are the concrete security risks of forcibly terminating a process?

That sounds like bad design on the developers' part. There are many unavoidable ways a program may be terminated unexpectedly: Killed by an OOM killer Program crash Terminated by virus OS cra...

posted 1y ago by matthewsnyder‭

Answer
50%
+0 −0
Q&A Nvidia docker runtime: Failed to create task for container

I found a partial fix. You have to run: sudo nvidia-ctk cdi generate --output=/etc/cdi/nvidia.yaml After this, podman is able to run it: sudo podman run --rm --device nvidia.com/gpu=all ubuntu...

posted 1y ago by matthewsnyder‭

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

Git is a very good way to sync dotfiles. There are other sync methods, but git also gives you version control, which is the other crucial part of the dotfile approach. Dealing with secrets in git ...

posted 11mo ago by matthewsnyder‭

Answer
50%
+0 −0
Q&A How to get a mailto: URI out of abook(1)

I store my address book with abook(1). https://manpages.debian.org/bookworm/abook/abook.1.en.html Let's say I want to introduce some contact in some field that accepts the usual name <email&gt...

1 answer  ·  posted 1y ago by alx‭  ·  last activity 1y ago by alx‭

Question abook mailto
50%
+0 −0
Q&A How to get a mailto: URI out of abook(1)

There's no such feature. But it's easy to write. Apply this patch: From 8ea7d1cf4933ca24006308ac61aa50fb8ab33b02 Mon Sep 17 00:00:00 2001 From: Alejandro Colomar <alx@kernel.org> Date: S...

posted 1y ago by alx‭  ·  edited 1y ago by alx‭

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

MWE With the following tree: l1 └── l2 ├── d0 │   ├── f0 │   ├── f1 │   ├── f2 │   ├── f3 │   ├── f4 │   └── f5 ├── d1 │   ├── f0 │   ├── f1 ...

3 answers  ·  posted 1y ago by mcp‭  ·  last activity 1y ago by matthewsnyder‭

Question bash zsh ls find cp
50%
+0 −0
Q&A Ergonomic way to search man pages

Unix filters are quite handy. First of all, you can get an index of any manual page with a simple grep(1): $ man pacman | grep '^[^ ]' PACMAN(8) Pacman Manual ...

posted 1y ago by alx‭  ·  edited 1y ago by alx‭

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

Instead of having new stdout lines overwrite the previous one, it seems better to specify that old stdout lines should be overwritten by anything that comes after them. This has the benefit that s...

posted 1y ago by alx‭  ·  edited 1y ago by alx‭

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 12mo ago by alx‭  ·  edited 12mo ago by alx‭

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

Here's my approach: find l1 -type d \ | while read d; do find $d -maxdepth 1 -type f \ | head -n3; done; If your middle directories also contain files, it will also show them (of course, ...

posted 1y ago by alx‭  ·  edited 1y ago by alx‭

Answer
50%
+0 −0
Q&A How to identify and separate standalone applications from libraries in Linux package lists?

This answer is not directly usable under Arch, since I don't know the tools there. I show you a way to do it on Debian, which may inspire you to find a similar way in Arch. With apt-file(1), you ...

posted 1y ago by alx‭  ·  edited 1y ago by alx‭

Answer
50%
+0 −0
Q&A How to create systemd unit that depends on a website being up?

To make your example work, you should add Type=oneshot and RemainAfterExit=true to the [Service] section. This way the unit won't be considered active until the curl has actually succeeded, and ei...

posted 1y ago by Iizuki‭

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

There's three parts to this: Find all directories (in your case, sounds like you want depth=3 only) Print the top 3 files in a single directory Apply 2 to each in 1 1 should be a separate q...

posted 1y ago by matthewsnyder‭  ·  edited 1y ago by matthewsnyder‭

Answer
50%
+0 −0
Q&A How to open a port in firewalld?

You add a port to the public zone like so: # firewall-cmd --zone=public --add-port=8080/tcp Firewalld knows already many of the commonly used ports, so you might just use the service name inste...

posted 1y ago by Iizuki‭

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 1y ago by LAFK‭  ·  edited 1y ago by matthewsnyder‭

Answer
50%
+0 −0
Q&A Run command with Key Combination in Gnome

Is there a way in Ubuntu (22.04) to run a given bash command for a given Key combination in Gnome (42.9)? This Ubuntu is running in Hyper-V on a Win10 host. (I would like to run the setxkbmap us a...

1 answer  ·  posted 1y ago by Arpad Horvath‭  ·  last activity 1y ago by matthewsnyder‭

Question ubuntu gnome
50%
+0 −0
Q&A How to fix the dark mode after the Gnome 1:44 update?

It seems like Gnome requires xdg-desktop-portal-gnome. that has been removed to be installed. It turns out that things used to work due to a fallback path that has been removed now. Installing t...

posted 1y ago by mr Tsjolder‭

Answer