Activity for matthewsnyderâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #290476 | Initial revision | — | over 1 year 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) |
— | over 1 year ago |
Edit | Post #290464 | Initial revision | — | over 1 year 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) |
— | over 1 year ago |
Edit | Post #290453 | Initial revision | — | over 1 year 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) |
— | over 1 year ago |
Comment | Post #290222 |
https://linux.codidact.com/posts/289489 (more) |
— | over 1 year ago |
Edit | Post #290452 | Initial revision | — | over 1 year 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) |
— | over 1 year ago |
Edit | Post #290451 | Initial revision | — | over 1 year ago |
Question | — |
Is it safe to completely take over ~/.config/systemd/user? `/.config/systemd/user` intended purely for units created and managed by the user manually, or are there any automated processes that expect to control it? For example, do packages or programs ever create or manage their own files in this path, without the user explicitly requesting it? Is it s... (more) |
— | over 1 year ago |
Edit | Post #290450 | Initial revision | — | over 1 year ago |
Question | — |
Can you put systemd units under a custom path? The systemd manual gives a list of path where systemd looks for unit files. However, I want to isolate my units in a path of my own choosing. Is it possible to configure systemd to add some path to that list of search locations? (more) |
— | over 1 year ago |
Edit | Post #290398 |
Post edited: |
— | over 1 year ago |
Edit | Post #290401 |
Post edited: |
— | over 1 year ago |
Edit | Post #290401 |
Post edited: |
— | over 1 year ago |
Edit | Post #290399 |
Post edited: |
— | over 1 year ago |
Edit | Post #290401 | Initial revision | — | over 1 year ago |
Answer | — |
A: Modern and practical way to schedule tasks on a Linux machine that is not always on Airflow is a distributed workflow manager intended for complex cloud computing use. However, it can be used to run tasks locally. You can run Airflow in single-node mode, with `LocalExecutor`, and wrap the whole thing in a single Docker container. The Docker container can be configured to start au... (more) |
— | over 1 year ago |
Edit | Post #290400 | Initial revision | — | over 1 year ago |
Answer | — |
A: Modern and practical way to schedule tasks on a Linux machine that is not always on Historically, cron was the main way to schedule tasks on Linux. Briefly, there will be some file like `/etc/crontab` which will contain one line for each task. The line starts with a schedule string and a shell style command. The schedule string specifies on which minutes, hours, days and months ... (more) |
— | over 1 year ago |
Edit | Post #290399 | Initial revision | — | over 1 year ago |
Answer | — |
A: Modern and practical way to schedule tasks on a Linux machine that is not always on The standard way to schedule tasks in most Linux systems nowadays is to use systemd timers. This requires writing a systemd timer config file, which has syntax similar to INI. This is summarized in https://wiki.archlinux.org/title/Systemd/Timers and covered in detail in systemd docs. The timers... (more) |
— | over 1 year ago |
Edit | Post #290398 |
Post edited: |
— | over 1 year ago |
Edit | Post #290398 | Initial revision | — | over 1 year ago |
Question | — |
Modern and practical way to schedule tasks on a Linux machine that is not always on What is a modern and practical way to handle scheduling tasks on a Linux desktop? Modern means basic features should not rely on obscure or convoluted commands and standards Practical means you shouldn't jump through too many hoops to do basic things, it should be usable for 10-100 tasks I sp... (more) |
— | over 1 year ago |
Edit | Post #290348 | Initial revision | — | over 1 year ago |
Question | — |
In i3wm, how do I move a workspace with its windows to another screen? In i3, is there a way to move an entire workspace to another monitor, including all windows it contains? (more) |
— | over 1 year ago |
Edit | Post #290347 | Initial revision | — | over 1 year ago |
Question | — |
In i3wm, how to create affinity between screens and workspaces? I have multiple screens and I often connect and disconnect monitors while the system is running. i3 assigns a workspace to each monitor, but does so unpredictably. Sometimes my main monitor is workspace 1, sometimes 2. Is there a way to say that workspace 1 should only be assigned to a specific ph... (more) |
— | over 1 year ago |
Edit | Post #290346 | Initial revision | — | over 1 year ago |
Question | — |
In i3wm when moving windows, how do I also switch to the workspace if it's active? Let's say I have workspaces 1, 2, 3 on screen A and 4, 5 on screen B. Currently workspaces 1 and 4 are active. With my current config, moving a window to another workspace never activates it. How can I make it activate the workspace if it's active (from 1 to 4) but not otherwise (from 1 to 5)? (more) |
— | over 1 year ago |
Edit | Post #290345 | Initial revision | — | over 1 year ago |
Question | — |
In i3wm, how do I tell which screen is which workspace? I have multiple screens and I often connect and disconnect monitors while the system is running. i3 assigns a workspace to each monitor, but does so unpredictably. Both workspaces are highlighted as active in the bottom left, but I can't tell which is active on which screen. The same goes for inactiv... (more) |
— | over 1 year ago |
Edit | Post #290213 |
Post edited: Minor edit to shorten first sentence a bit |
— | over 1 year ago |
Comment | Post #290213 |
Unfortunately, `sudo inxi -G -xxx` doesn't seem to report VRAM. There's a lot of information in it though, so maybe it does but I missed it? (more) |
— | over 1 year ago |
Suggested Edit | Post #290213 |
Suggested edit: Minor edit to shorten first sentence a bit (more) |
helpful | over 1 year ago |
Comment | Post #288401 |
Name or path? Kind of a big difference in this context :)
For names I don't think it really matters, but also I don't see much reason for a de jure limit (as opposed de facto limits imposed by implementation, which come and go without impacting the official standard).
For paths, it can be very ... (more) |
— | over 1 year ago |
Comment | Post #290136 |
Actually, I think a corollary of my question is if you restrict filenames, then what happens when some program you install does try to create one? (granted, in Linux most packages do not have junk in filenames - I doubt if any do)
So you would want to leave a backdoor so that the *system* can crea... (more) |
— | over 1 year ago |
Comment | Post #290136 |
I also had a question about this. I think the argument is
> You can't just read the source code of all your programs and figure out which ones will create files.
Which is theoretically true. In practice, the vast majority probably use a handful of system API calls for file creation.
However,... (more) |
— | over 1 year ago |
Comment | Post #290113 |
@#8049 Closing the question for this feels unfriendly to me.
I initially assumed that it's obvious the question is about Linux, given the name ("linux") and logo (a penguin) of the site. In fact, I thought you were asking about distro, not OS. In retrospect, that is wrong, because technically the ... (more) |
— | over 1 year ago |
Comment | Post #290113 |
I would have preferred if you hadn't closed it. I don't think closing the question is necessary just to get me to edit and add a small detail. Nevertheless, I did add it. (more) |
— | over 1 year ago |
Edit | Post #290113 |
Post edited: |
— | over 1 year ago |
Edit | Post #290115 | Initial revision | — | over 1 year ago |
Question | — |
How to see VRAM with inxi? What switches do I need to add to see my video RAM (VRAM) with inxi? `inxi -G` shows my video card model and other info, but not video RAM. (more) |
— | over 1 year ago |
Edit | Post #290114 | Initial revision | — | over 1 year ago |
Answer | — |
A: shell and shell-scripting tags: duplicates? My assumption has been that `shell-scripting` is for scripts only, not interactive usage. Whereas `shell` is everything else, like interactive usage. I wish we could edit these descriptions to clarify, but I don't think that issue has been solved yet. (more) |
— | over 1 year ago |
Edit | Post #290113 | Initial revision | — | over 1 year ago |
Question | — |
How can I restrict filename characters? Suppose I want to limit what characters are allowed in filenames. For example, I want file creation to fail if there is a `\n` in the name. Is there a way to enforce this? If it matters, I prefer an answer for Arch Linux. (more) |
— | over 1 year ago |
Edit | Post #290112 | Initial revision | — | over 1 year ago |