Activity for matthewsnyderâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #291114 | Initial revision | — | 8 months ago |
Answer | — |
A: How do you remap mouse buttons? No wonder it's hard to find good programs - it's no longer necessary! At some point this became a built in part of Xorg via xinput. The process is something like this: `xinput list` and find the ID of your mouse `xinput get-button-map $MOUSEID` and see the current map `xev -event button | gr... (more) |
— | 8 months ago |
Edit | Post #291088 | Initial revision | — | 8 months ago |
Question | — |
Is there a way to automatically normalize paths when extracting RARs? I use `unrar` to extract rar archives sometimes: ``` UNRAR 6.24 freeware Copyright (c) 1993-2023 Alexander Roshal ``` Sometimes the archive root has several files, so if I do `unrar x foo.rar` it will create a bunch of junk in my working directory. Therefore I must do `unrar x foo.rar foo/... (more) |
— | 8 months ago |
Comment | Post #291020 |
WSL can act funny because of the way it's integrated into Windows, where many core Linux functions are disabled because Windows does it for WSL.
Docker, while also not a full Linux, tends to have fewer problems so try running it in a container like https://hub.docker.com/_/archlinux . Plus, many p... (more) |
— | 8 months ago |
Edit | Post #290987 | Initial revision | — | 9 months ago |
Question | — |
How do I diagnose TLS errors? For reasons of my own, I have services on my LAN which use HTTPS and I create my own certificates for these. Over the years, the usage of TLS has evolved considerably. Many features that were once supported are no longer considered secure, and there are many things that were once "optional" but no... (more) |
— | 9 months ago |
Edit | Post #290939 | Initial revision | — | 9 months ago |
Question | — |
What's the point of faillock? On a default Arch install, `faillock` makes it so that if you enter the sudo password wrong too many times, even the correct password will be rejected until the timer is up. At the same time, you can type `faillock --reset` without sudo and reset the timer. What is the point of this? I can s... (more) |
— | 9 months ago |
Comment | Post #290914 |
You should mention the distro. The baseline audio set up usually differs a lot between them. (more) |
— | 9 months ago |
Edit | Post #290891 |
Post edited: |
— | 9 months ago |
Edit | Post #290891 |
Post edited: |
— | 9 months ago |
Edit | Post #290891 | Initial revision | — | 9 months ago |
Answer | — |
A: What is synchronization in Wine? I'm not an expert on this at all, but so far there are no answers, so I'll try one. "Synchronization" is in the context of multithreading. For those who don't know how multithreading works: Multithreading is like having multiple CPUs run parts of the program in parallel. This runs into a proble... (more) |
— | 9 months ago |
Comment | Post #290827 |
>`sudo ls ~` will not tell you whether `sudo` sets `HOME`
This claim is not made in this question.
(more) |
— | 9 months ago |
Edit | Post #290827 |
Post edited: |
— | 9 months ago |
Edit | Post #290827 |
Post edited: |
— | 9 months ago |
Edit | Post #290827 | Initial revision | — | 9 months ago |
Answer | — |
A: Why does Linux use the sudo command? In Unix systems like Linux, some commands are considered dangerous and only the `root` user can run them. Normally, you don't login as `root`. So when you want to run dangerous commands, you must first become `root`. Then you run your dangerous stuff, and go back to your own user. This switching b... (more) |
— | 9 months ago |
Edit | Post #290797 |
Post edited: wc supports filename arguments, and prints the filename as well. |
— | 9 months ago |
Suggested Edit | Post #290797 |
Suggested edit: wc supports filename arguments, and prints the filename as well. (more) |
helpful | 9 months ago |
Edit | Post #290702 | Initial revision | — | 10 months ago |
Question | — |
What is Kmail running in the background? When I run Kmail on i3, and then close it, it appears to continue running some stuff in the background. For example, I periodically get notifications about new mail from dunst, even though I have closed Kmail. What does Kmail do in the background? (more) |
— | 10 months ago |
Edit | Post #290687 | Initial revision | — | 10 months ago |
Question | — |
What is synchronization in Wine? Wine has options for "Synchronization", like "Esync" or "Fsync". What do these actually do? What is the purpose of such an option? What is the impact to normal usage of a Windows program in Wine? (more) |
— | 10 months ago |
Edit | Post #290631 |
Post edited: |
— | 10 months ago |
Comment | Post #290666 |
I posted this to share what I know, but I am curious if there are other ways to do it. So please feel free to post an answer if you know any others. (more) |
— | 10 months ago |
Edit | Post #290666 | Initial revision | — | 10 months ago |
Answer | — |
A: How do you remap mouse buttons? Piper can be used for this. All mice supported by Piper (actually libratbag) are a result of the community reverse engineering the mouse protocol. It will not support all mice, but only selected ones. Corsair mice are not supported by Piper, but they are supported by ckb-next which is analogous to... (more) |
— | 10 months ago |
Edit | Post #290665 | Initial revision | — | 10 months ago |
Question | — |
How do you remap mouse buttons? How can I remap buttons on my mouse, especially for more exotic ones like MMO mice? (more) |
— | 10 months ago |
Suggested Edit | Post #290631 |
Suggested edit: (more) |
helpful | 10 months ago |
Edit | Post #283940 |
Post edited: |
— | 10 months ago |
Edit | Post #290588 | Initial revision | — | 10 months ago |
Question | — |
An alternative to pacman sudo nag? Some pacman functions require sudo. When I forget the sudo, you get: ``` error: you cannot perform this operation unless you are root. ``` I then have to press the keys: `up, home, s, u, d, o, space, enter` to rerun with sudo. I find this irritating and it breaks my flow. Is there a better... (more) |
— | 10 months ago |
Edit | Post #290549 |
Post edited: |
— | 11 months ago |
Edit | Post #290549 | Initial revision | — | 11 months ago |
Answer | — |
A: How do I safely replace brew on Big Sur? You can try to search your shell's history for `brew install`. Every shell has its own history command, but for example on fish I can do `history | rg brew install`. (`rg` is https://github.com/BurntSushi/ripgrep) This should make it easy to figure out most things you explicitly installed, but it ... (more) |
— | 11 months ago |
Edit | Post #290525 | Initial revision | — | 11 months ago |
Question | — |
How to check spam headers of EML file from command line? If I have an email in EML format, how can I determine its spam status from the terminal? My mail provider appears to insert a `X-Acme-Spam-Status` header. It looks like ``` X-Acme-Spam-Status: v=1; e=base64; a=aes-256-gcm; d=...` ``` The part in `d` is a 400 char string that looks like base... (more) |
— | 11 months ago |
Edit | Post #290476 | Initial revision | — | 11 months ago |
Answer | — |
A: How to find your public IP address from command-line? In case Ipify stops being free: https://dnsleaktest.com/ will show you your IP. I don't know if they have an API, but it's easy to parse the HTML: ``` https dnsleaktest.com | rg '\d+\.\d+\.\d+\.\d+' --only-matching ``` (the commands are https://httpie.io/ and https://github.com/BurntSushi/rip... (more) |
— | 11 months ago |
Edit | Post #290464 | Initial revision | — | 11 months ago |
Question | — |
Albert with compositor surrounded by ghost of other windows On Arch Linux, I installed albert (from AUR) and picom as the compositor. I am using i3 as the window manager. When I bring up the albert window, it is surrounded by the ghost of a window in the background. So for example if I open a browser and terminal in the tabbed layout, with the browser focu... (more) |
— | 11 months ago |
Edit | Post #290453 | Initial revision | — | 11 months ago |
Answer | — |
A: How to RTFM well to get a CLI command The existing answer is good, but I'll add a short version. 1. `man FOO` is the most reliable way. A large majority of programs have a man page, and a large majority of man pages cover all aspects of the program (assuming you have the patience to read it). By default, most Linuxes will open t... (more) |
— | 11 months ago |
Comment | Post #290222 |
https://linux.codidact.com/posts/289489 (more) |
— | 11 months ago |
Edit | Post #290452 | Initial revision | — | 11 months ago |
Answer | — |
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 is not unique to dotfiles. All sorts of projects encounter this issue. For example, a webapp may need ... (more) |
— | 11 months ago |
Edit | Post #290451 | Initial revision | — | 11 months ago |