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 »

Activity for celtschk‭

Type On... Excerpt Status Date
Answer 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"' ```
(more)
over 1 year ago
Answer A: How to edit file from less
You can edit the file you see in less by pressing `v`. From the man page: ```text v Invokes an editor to edit the current file being viewed. The editor is taken from the environment variable VISUAL if defined, or EDITOR if VISUAL is not defined, or def...
(more)
almost 2 years ago
Answer A: In a bash shell script, how to filter the command line argument list to unique entries only, for processing each?
The solution is to use an associative array to store what you've already seen: ```bash #!/bin/bash unset seen declare -A seen for arg in "$@" do if [[ -z "${seen[$arg]}" ]] then echo "Doing something omplicated with $arg" seen["$arg"]=1 fi done ``` The ...
(more)
over 2 years ago
Question How to figure out the licenses of files installed from packages?
On a Linux system, a lot of files are installed from packages, many of which have different licenses (and sometimes different licenses for different files in the package). If I want to figure out the exact license for a specific file on my system, what is the best way to figuring that out (assumin...
(more)
over 2 years ago
Answer A: Red border on question
There are keyboard shortcuts for navigation. Unfortunately they don't seem to be documented in help (at least I couldn't find an entry there), but you can see a list by typing `?`. The red frame is the currently selected question; you can navigate with `j` and `k` (probably you activated it by pre...
(more)
almost 3 years ago
Question Is this a robust way to distinguish explicitly installed packages from those pulled in as dependencies?
When exploring the commands from this answer to my previous question, I found that the ist of packages includes a lot that were automatically installed due to dependencies. Obviously I'm interested only in those packages that I explicitly requested (the others would be pulled in automatically again, ...
(more)
almost 3 years ago
Question What is the best way to identify changes from the default configuration in Raspbian systems?
I've got a Raspberry Pi running Raspbian, which I'd like to reinstall from scratch. However over time I've made many changes to the configuration (installed new packages, changed the name of the default user, created a new user account, and probably a lot of things I tweaked but forgot about), and un...
(more)
almost 3 years ago