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
Comment Post #281919 I guess it would make sense. However you might want to ask that as new question, so that those who can decide on this (and potentially change it) will see it.
(more)
almost 2 years ago
Edit Post #287421 Initial revision about 2 years ago
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)
about 2 years ago
Comment Post #282675 Don't use the `-9` option unless all else failed! The `-9` option is the “nuclear option”, leaving the process no chance to clear up (e.g. deleting that `server.pid` file). Normally you should use `kill` without that option. This will send a SIGTERM signal that should terminate the process, bu...
(more)
about 2 years ago
Edit Post #286782 Initial revision over 2 years 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)
over 2 years ago
Comment Post #286772 If the file names contain funny characters (actually only newline characters are relevant in this specific case), the option `-q` comes in handy: ``` $ touch 'file with > newline character' $ ls -A | wc -l 2 $ ls -Aq | wc -l 1 ```
(more)
over 2 years ago
Comment Post #286096 I've never tried it, but x2go has the option to run single applications instead of complete desktops. It also has the option to suspend and resume a connection. Thus it might be a solution to your problem.
(more)
over 2 years ago
Comment Post #284594 Another thing to note is that the script called through `$LESSOPEN` may have further customisation points. For example, I just figured out that the version installed on my system (Linux Mint) first looks for an executable script named `.lessfilter` in the home directory and if that exists and execute...
(more)
about 3 years ago
Edit Post #284390 Initial revision about 3 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)
about 3 years ago
Edit Post #284223 Initial revision about 3 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)
about 3 years ago
Comment Post #281930 @Quasimodo: Note that `file` doesn't give a definitive answer anyway. For a start, it only looks at the beginning of a file, so it is starts with text, but then continues with arbitrary binary data, `file` may still classify it as text. If you want to know whether the last character of a file is a ne...
(more)
over 3 years ago
Comment Post #282171 BTW, I wonder if you have been able to boot up your Windows system again. Usually if Windows takes a long time to shut down, it is because it is installing updates. I could imagine that Windows doesn't take an interrupted update too well either.
(more)
over 3 years ago
Comment Post #281929 Note that `file` is not a POSIX utility; the question it answers is not “does this conform to POSIX's idea of what is a text file” but “is this file likely to contain human-readable text”.
(more)
over 3 years ago
Edit Post #281919 Initial revision over 3 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)
over 3 years ago
Comment Post #281869 For automatic updates, I think the package `unattended-updates` should do what you want. However I don't think that completely resolves the issue with the message window (if whatever program is responsible for that detects a new update before the unattended update does, the message will still be disp...
(more)
over 3 years ago
Comment Post #281852 Thank you. I hope that combining this with the previous answer will solve the issue with initially installed packages.
(more)
over 3 years ago
Edit Post #281851 Initial revision over 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)
over 3 years ago
Comment Post #281850 Thank you, that's very helpful.
(more)
over 3 years ago
Edit Post #281848 Post edited:
A word was missing
over 3 years ago
Edit Post #281848 Post edited:
Fixed a typo
over 3 years ago
Edit Post #281848 Initial revision over 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)
over 3 years ago
Edit Post #281845 Post edited:
Fixed title to match question
over 3 years ago
Suggested Edit Post #281845 Suggested edit:
Fixed title to match question
(more)
helpful over 3 years ago