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 »

Posts by Quasímodo‭

33 posts
83%
+8 −0
Q&A In a bash shell script, how to filter the command line argument list to unique entries only, for processing each?

Bash Here Bash's associative arrays come handy. The idea is to put every argument as a key in a separate array, and then only process arguments that are not keys to that array. #!/bin/bash decla...

posted 2y ago by Quasímodo‭  ·  edited 2y ago by Quasímodo‭

Answer
81%
+7 −0
Q&A Recursively remove files with the same name as the ones that end in `.part`

It is incorrect for two reasons. 1. File names containing glob characters This is an edge case scenario. Consider this structure: . ├── abc ├── abc.part ├── cde └── c*e.part The outermos...

posted 1y ago by Quasímodo‭  ·  edited 1y ago by Quasímodo‭

Answer
80%
+6 −0
Q&A Vim key bindings not working in terminal python interpreter

Python's interactive interpreter uses GNU Readline, so Bash's line interpreter, not Zle, which is Zsh's. Therefore, when you enter python, the cursor either won't change or will change accordingly...

posted 1y ago by Quasímodo‭

Answer
80%
+6 −0
Q&A Why is Pause/Break key is immediately released? Can that be fixed?

Since the Pause key is useless, I tried to map it to a modifier key. What is straightforward for other keys turned out not to work fine for Pause. By inspecting the output of xev -event keyboard |...

1 answer  ·  posted 2y ago by Quasímodo‭  ·  last activity 2y ago by Quasímodo‭

Question keyboard-event
80%
+6 −0
Q&A Why is Pause/Break key is immediately released? Can that be fixed?

From Wikipedia: Break key: The Pause key is different from all other keys in that it sends no scancodes at all on release in PS/2 modes 1 or 2, so it is impossible to determine whether this key ...

posted 2y ago by Quasímodo‭  ·  edited 2y ago by Quasímodo‭

Answer
77%
+5 −0
Q&A How to figure out the licenses of files installed from packages?

The Debian Administrator's Handbook: The Inner Workings of the Debian Project: Documentation for each package is stored in /usr/share/doc/package/. (...) The copyright file includes information ...

posted 2y ago by Quasímodo‭

Answer
77%
+5 −0
Q&A How do I deal with a "pending update to "snap-store" snap, close the app to avoid disruption" notification in Ubuntu 22.04?

If snap-store itself is preventing the update, it's straightforward: snap-store --quit sudo snap refresh snap-store But sometimes it might be something else, in which case the above solution w...

posted 1y ago by Quasímodo‭  ·  edited 1y ago by Quasímodo‭

Answer
75%
+4 −0
Q&A Where does GtkFileChooserDialog store bookmarks?

For most users, in $HOME/.config/gtk-3.0/bookmarks. Otherwise, if you set the XDG_CONFIG_HOME environment variable (which you can inspect with env), in $XDG_CONFIG_HOME/gtk-3.0/bookmarks. From the...

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

Answer
75%
+4 −0
Q&A Make Less use a normal view instead of hexdump view

Less does not display data files normally, but if it were some sort of Xxd. $ bash --norc $ export LESS= $ file -i /var/log/lastlog /var/log/lastlog: application/octet-stream; charset=binary $...

1 answer  ·  posted 2y ago by Quasímodo‭  ·  edited 2y ago by Quasímodo‭

Question less
75%
+4 −0
Meta Should we merge with Power Users?

To increase the activity of the site (one of the main concerns related to making Codidact grow), I suggested merging Linux Systems with Power Users on Meta. Do you agree or disagree with merging?

2 answers  ·  posted 2y ago by Quasímodo‭  ·  last activity 2y ago by r~~‭

75%
+4 −0
Q&A What does capital T mean in the output of 'ls -l'?

The reason why you don't find this in man ls is that the GNU project (that developed Coreutils) usually provides the complete documentation of its components not in classic manual pages, but in so ...

posted 2y ago by Quasímodo‭

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

If a Debian bug number is referenced in the changelog of an uploaded package, it is automatically closed with a generic message: We believe that the bug you reported is fixed in the latest versi...

2 answers  ·  posted 1y ago by Quasímodo‭  ·  last activity 10mo ago by tripleee‭

Question debian
71%
+3 −0
Q&A What does `emerge --update --newuse --deep @world` have to do with package removal?

In Debian-based distributions, one can update the system with apt upgrade and cleanup unused dependencies with apt autoremove. Period. On Gentoo that is apparently not as straightforward. From G...

0 answers  ·  posted 2y ago by Quasímodo‭  ·  last activity 8mo ago by Mithical‭

71%
+3 −0
Q&A Disable transient symbols for compose and dead keys in GTK programs

This is originally Ibus' (an input method) behavior. It provides some facilities to extend the basic "input by typing". Examples: Ctrl+Shift+U for hex Unicode input. Ctrl+. for emoji selector. ...

posted 2y ago by Quasímodo‭  ·  edited 1y ago by Quasímodo‭

Answer
71%
+3 −0
Q&A Disable transient symbols for compose and dead keys in GTK programs

An article in the GTK blog explains the situation very well, but here is my go at it. In my keyboard layout, accents are handled as dead keys, so to insert "ë", first I type ¨ and then e. Nothing ...

1 answer  ·  posted 2y ago by Quasímodo‭  ·  last activity 1y ago by Quasímodo‭

71%
+3 −0
Q&A Why does the file command fail to recognize non-text files as such?

POSIX defines Text file as A file that contains characters organized into zero or more lines. The lines do not contain NUL characters and none can exceed {LINE_MAX} bytes in length, inclu...

2 answers  ·  posted 3y ago by Quasímodo‭  ·  last activity 3y ago by LawrenceC‭

Question posix file
66%
+2 −0
Q&A Scalable fonts are not loaded into the X server database

I have some old X11 applications complain that they cannot find a ISO8859-2 font. So I executed grep -r 8859-2 /usr/share/fonts/ and, to my surprise, found many matches, for example ==> /us...

1 answer  ·  posted 2y ago by Quasímodo‭  ·  last activity 2y ago by Quasímodo‭

Question x11 fonts
66%
+2 −0
Q&A Capture separate _and_ combined stdout/stderr

Each file descriptor can only point to a single file. File descriptors can be duplicated such that both point to a single file, but a file descriptor cannot point to two files. Hence, you have ...

posted 2y ago by Quasímodo‭

Answer
66%
+2 −0
Q&A Bind brightness/volume and other special Fn keys in a tty

I am running Debian stretch on a Lenovo laptop with only a window manager (i.e. no desktop). Out of the box, this configuration of Debian ignores the keys with special Fn functions, such as volum...

1 answer  ·  posted 2y ago by Quasímodo‭  ·  last activity 2y ago by Quasímodo‭

66%
+2 −0
Q&A Bind brightness/volume and other special Fn keys in a tty

The special Fn keys typically trigger ACPI events, for which the ACPI daemon can trigger actions. Install ACPI daemon (apt install acpid) and make sure it is started and enabled. If it isn't, sy...

posted 2y ago by Quasímodo‭

Answer
66%
+2 −0
Q&A Set compose key to Shift + AltGr

I have upgraded Xubuntu from 20.04 to 22.04 and my compose key, which defaulted to Shift + AltGr, was disabled. It is no longer available in the keyboard settings GUI either. How can I set the com...

1 answer  ·  posted 1y ago by Quasímodo‭  ·  last activity 1y ago by Quasímodo‭

66%
+2 −0
Q&A Set compose key to Shift + AltGr

You can find a list of options in man xkeyboard-config. Under the section "key to choose the 3rd level" is the one you are after: lv3:ralt_switch_multikey Right Alt; Shift+Right Alt as Compo...

posted 1y ago by Quasímodo‭  ·  edited 1y ago by Quasímodo‭

Answer
66%
+2 −0
Q&A Quickly increase virtual console ("TTY") font size on the fly

I just want to "zoom in/out" in the text console, is there a straightforward command to do that? I have found various sources (1, 2, 3) that either suggest permanent changes (e.g. modifying config...

1 answer  ·  posted 2y ago by Quasímodo‭  ·  last activity 2y ago by Quasímodo‭

Question console
66%
+2 −0
Q&A With a V4L2-compatible webcam, how to see its video feed for the purpose of adjusting aiming?

I routinely use MPV for that. mpv --profile=low-latency --untimed av://v4l2:/dev/video0 You may need to try other devices, as listed by ls /dev/video*. Thanks to Canina for suggesting the two ...

posted 2y ago by Quasímodo‭  ·  edited 2y ago by Quasímodo‭

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 5mo ago by Quasímodo‭  ·  edited 5mo ago by Quasímodo‭

Answer