Welcome to the Power Users community on Codidact!
Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.
Activity for Quasímodo
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #292254 |
https://github.com/libreddit/libreddit?tab=readme-ov-file#instances (more) |
— | 3 months ago |
Edit | Post #292285 | Initial revision | — | 3 months ago |
Answer | — |
A: How to enable `Alt + .` in bash with Vim bindings You just need to add ``` "\e.":yank-last-arg ``` to `$HOME/.inputrc`. From `man 3 readline`: yank-last-arg (M-., M-) Insert the last argument to the previous command (the last word of the previous history entry). To determine the escape sequence y... (more) |
— | 3 months ago |
Comment | Post #290711 |
"Perhaps this is what the devs intended" -> Hardly so, were that the case our $HOME would be littered with links.
But this is the source code:
```
photo_path = g_get_user_special_dir (G_USER_DIRECTORY_PICTURES);
g_free (priv->photo_path);
/* Get XDG. */
if ... (more) |
— | 10 months ago |
Comment | Post #290503 |
Warum gehst du denn davon aus, dass der Fragender Deutsch spricht?
In any case it would be better to stick to English, as that's what most people can understand. (more) |
— | 10 months ago |
Comment | Post #290503 |
If not a modeline (that you would have to add to every such file anyway, right?), an autocmd would very likely allow it. (more) |
— | 10 months ago |
Comment | Post #290545 |
I always use `mpv --profile=low-latency --untimed av://v4l2:/dev/video0`, then press S to take picture, it will go to the current directory.
I'm not writing this as an answer because you mention "can cope with things like multiple cameras being connected and disconnected". With MPV you would need... (more) |
— | 10 months ago |
Comment | Post #290395 |
You could just try using Chrome's user agent in Firefox to see if your hypothesis holds water. (more) |
— | 12 months ago |
Comment | Post #289917 |
> My question is how to configure the datetime format.
Isn't that simply what you wrote in the other comment? I.e. `date +%Y-%m-%d_%T`?
> Does that mean i have to generate every possible locale, check every possible locale if the format matches what i want, and if there is no locale that has th... (more) |
— | about 1 year ago |
Comment | Post #289922 |
In Vifm that would be easy.
```
noremap <F6> :!mv %f /destdir/<CR>
```
Would make F6 move the selected files to `/destdir/`. Maybe Ranger has something similar? (more) |
— | about 1 year ago |
Comment | Post #289917 |
Well, each locale does have a different time format.
```
$ LC_TIME=en_US.utf8 date +%x~%X
10/09/2023~01:08:12 PM
$ LC_TIME=ru_RU.utf8 date +%x~%X
09.10.2023~13:08:17
```
The question does not match what you are asking in comments. Also note that `where you are ≠ where your computer is conf... (more) |
— | about 1 year ago |
Edit | Post #289917 |
Post edited: |
— | about 1 year ago |
Edit | Post #289917 | Initial revision | — | about 1 year ago |
Answer | — |
A: How to set the default time format in Linux Debian. You can define the `LCTIME` environment variable. In `/.profile` if you start you session in a login shell or else `/.bashrc`, put export LCTIME=ruRU.UTF-8 For example, % LCTIME=ruRU.UTF-8 date Сб 07 окт 2023 13:39:21 CEST will make the output format be in Russian, That o... (more) |
— | about 1 year ago |
Edit | Post #289630 |
Post edited: |
— | about 1 year ago |
Edit | Post #289630 | Initial revision | — | about 1 year ago |
Answer | — |
A: Closing "unclear" questions > if someone else has been able to answer to the asker's satisfaction, it is patently false that the question is unclear. That is actually a flawed premise. The question "what is the price of bread in the bakery Good Bread?" is missing details because it doesn't specify which bread nor does it ... (more) |
— | about 1 year ago |
Comment | Post #289465 |
If you don't really need the Git history, but just the current snapshot of the repository, and the repository is large, then `git clone --depth 1 --shallow-submodules` could significantly speed up the process.
Otherwise, though I don't think I used it myself, passing `--verbose` might provide some... (more) |
— | about 1 year ago |
Comment | Post #288004 |
Once you are absolutely sure that the device is /dev/sda — which surprises me, as that is usually mapped to the main storage device, so please double-check if trying it —, you could try the disk destroyer.
```
sudo dd if=/dev/zero of=/dev/sda bs=4M
```
If it doesn't work I'm afraid nothing wi... (more) |
— | over 1 year ago |
Comment | Post #287926 |
Some text was still missing indeed, sorry!
You could try
:inoremap <tab> <C-t>
for insert mode, though that will always insert a given number of spaces or tabs without respecting the list level.
(more) |
— | over 1 year ago |
Comment | Post #287926 |
Indeed, some text got cut out of the first quoted paragraph, I edited the comment. (more) |
— | over 1 year ago |
Comment | Post #287926 |
Your example only shows the case of a "top level" indentation. Should the solution also be extensible to non top levels?, i.e.
```
1. aaaaa
1.1. bbbbbbbbbbbbbb
bbbbbbbbbbbb
```
You mention \<ESC\>\<Tab\> but not the mode (normal or insert)? Note that \<Tab\> = \<C-i\> so if you map one yo... (more) |
— | over 1 year ago |
Edit | Post #287806 | Initial revision | — | almost 2 years ago |
Answer | — |
A: Vim: Can a different style be applied to a vim-terminal? All available "styles" are listed in `:help highlight-groups`. You will find that `hl-Terminal` is one of them. As an example, to make the Vim terminal background dark blue, use :hi Terminal ctermbg=darkblue guibg=darkblue `guibg` applies for Gvim and `ctermbg` for terminal Vim. (more) |
— | almost 2 years ago |
Comment | Post #287380 |
Haha funny thing... Never occurred to me because I set default zoom at 110% so the cursor on the picture becomes larger than my actual cursor, but yes at a smaller zoom level I can confirm they look the same here on Debian. Which is no surprise, given the window decorations and purple background I gu... (more) |
— | about 2 years ago |
Edit | Post #287420 |
Post edited: |
— | about 2 years ago |
Edit | Post #287420 |
Post edited: |
— | about 2 years ago |
Edit | Post #287420 | Initial revision | — | about 2 years ago |
Answer | — |
A: Is the site name "Power User" or "Power Users"? I think Power Users sounds better, but for an objective argument, and correct me if I'm wrong: It's easier to change a couple of image files than all textual occurrences of Power Users (besides the ones you mention, it's also used in the Help section), and particularly the URL itself which would r... (more) |
— | about 2 years ago |
Comment | Post #287367 |
@#56802,
1\. All in a single list? I don't think so. You can always find each of them with `:h :delete`, etc.
2\. `!` is not a register, it's a "modifier" available in many Ex commands. See `:h :pu` for example.
3\. Yes, but you would need to modify the MWE so as to step 2 be `"sdd` instead.... (more) |
— | about 2 years ago |
Edit | Post #287367 |
Post edited: |
— | about 2 years ago |
Edit | Post #287367 | Initial revision | — | about 2 years ago |
Answer | — |
A: How to make selection and overwrite from register all from ex mode If you know the normal mode key sequence to achieve the desired result, you can always feed it to the ex-mode `normal` command. Step 3 translates to :norm ggVGp See the documentation in `:help :norm`, ``` :normal {commands} :norm :normal Execute Normal mode commands {commands}. ... (more) |
— | about 2 years ago |
Comment | Post #286831 |
@#56802 Moderators cannot move questions to other networks; All is fine anyway because the question is totally on topic here. (more) |
— | about 2 years ago |
Comment | Post #286834 |
Hey @#56802, thanks for the feedback; Please check if the updated question is sufficiently clearer. (more) |
— | about 2 years ago |
Edit | Post #286834 |
Post edited: Define leaf directories and clarify. |
— | about 2 years ago |
Comment | Post #286871 |
Oh, it's a dozen of items above it, but yes, and it works, thanks! Would you like to write an answer? (more) |
— | over 2 years ago |
Edit | Post #286871 | Initial revision | — | over 2 years ago |
Question | — |
Move folder one level up on Thunderbird I accidentally moved folder De under folder Laun in Thunderbird's folder side bar: De folder is a sub-folder of Laun, which is on the same level as Archive How can I move De back to the same level as Laun and Archive? If I drag it and release it just between the other two, nothing happens. ... (more) |
— | over 2 years ago |
Edit | Post #286834 |
Post edited: Fix mistake |
— | over 2 years ago |
Edit | Post #286834 |
Post edited: Expanded explanation |
— | over 2 years ago |
Edit | Post #286834 | Initial revision | — | over 2 years ago |
Answer | — |
A: How to copy files preserving one directory up Assuming innermost directories are not empty, in any POSIX compliant system, find . -type d -links 2 -exec cp -r {} . \; In a GNU Linux system, a more performant alternative is find . -type d -links 2 -exec cp -rt . {} + since it only spawns an optimal number of `cp` process (a si... (more) |
— | over 2 years ago |
Comment | Post #286831 |
Just to make sure I read it correctly, `./a/b/c/d` should be copied to `./c/d`, correct? (more) |
— | over 2 years ago |
Comment | Post #286831 |
The question is not off-topic here (Linux Systems is a subset of Power Users), but given the question and context, this would be a perfect fit for Linux Systems. (more) |
— | over 2 years ago |
Comment | Post #286828 |
Experience. The `type/subtype` thing jumps to the eye as a [mime type (a.k.a. media type)](https://en.wikipedia.org/wiki/Media_type). Which is what `file -i` reports. (more) |
— | over 2 years ago |
Comment | Post #286828 |
I don't have an answer. But for practical purposes, for the `-t` argument, try what `file -i *.svg` reports. (more) |
— | over 2 years ago |
Comment | Post #286560 |
It's possible that your processor throttles as a safety measure due to hitting a given temperature. You could use a hardware monitor to verify if that is true. (I can't recommend one since I'm not a Windows user.)
Turbo Boost is common nowadays but AFAIK it boils down to the same concept. (more) |
— | over 2 years ago |
Comment | Post #286120 |
https://unix.stackexchange.com/a/697797 (more) |
— | over 2 years ago |
Edit | Post #284508 |
Post edited: Let's abandon the plural version of the tag and keep the singular one, which is currently more widely used. |
— | over 2 years ago |