Activity for matthewsnyderâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
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) |
— | 11 months ago |
Edit | Post #290450 | Initial revision | — | 11 months 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) |
— | 11 months ago |
Edit | Post #290398 |
Post edited: |
— | 12 months ago |
Edit | Post #290401 |
Post edited: |
— | 12 months ago |
Edit | Post #290401 |
Post edited: |
— | 12 months ago |
Edit | Post #290399 |
Post edited: |
— | 12 months ago |
Edit | Post #290401 | Initial revision | — | 12 months 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) |
— | 12 months ago |
Edit | Post #290400 | Initial revision | — | 12 months 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) |
— | 12 months ago |
Edit | Post #290399 | Initial revision | — | 12 months 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) |
— | 12 months ago |
Edit | Post #290398 |
Post edited: |
— | 12 months ago |
Edit | Post #290398 | Initial revision | — | 12 months 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) |
— | 12 months ago |
Edit | Post #290348 | Initial revision | — | 12 months 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) |
— | 12 months ago |
Edit | Post #290347 | Initial revision | — | 12 months 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) |
— | 12 months ago |
Edit | Post #290346 | Initial revision | — | 12 months 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) |
— | 12 months ago |
Edit | Post #290345 | Initial revision | — | 12 months 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) |
— | 12 months ago |
Edit | Post #290213 |
Post edited: Minor edit to shorten first sentence a bit |
— | about 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) |
— | about 1 year ago |
Suggested Edit | Post #290213 |
Suggested edit: Minor edit to shorten first sentence a bit (more) |
helpful | about 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) |
— | about 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) |
— | about 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) |
— | about 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) |
— | about 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) |
— | about 1 year ago |
Edit | Post #290113 |
Post edited: |
— | about 1 year ago |
Edit | Post #290115 | Initial revision | — | about 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) |
— | about 1 year ago |
Edit | Post #290114 | Initial revision | — | about 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) |
— | about 1 year ago |
Edit | Post #290113 | Initial revision | — | about 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) |
— | about 1 year ago |
Edit | Post #290112 | Initial revision | — | about 1 year ago |
Answer | — |
A: Run command with Key Combination in Gnome Gnome should have a Settings app with a Keyboard shortcut section. Here you can click Add Custom Shortcut which will let you bind any key to any shell-style command. source Unless you are very sure of your command, I would recommend wrapping it in a script that also emits logs somewhere. If the co... (more) |
— | about 1 year ago |
Edit | Post #290008 |
Post edited: Cleaned up parts that would not be useful to future readers of this question |
— | about 1 year ago |
Comment | Post #290046 |
Ideally I'm looking for a CLI solution. I don't mind writing a Python script, but you would think that such a basic task should already have a program written for it. (more) |
— | about 1 year ago |
Edit | Post #290046 | Initial revision | — | about 1 year ago |
Question | — |
How to tile multiple small page PDFs on a single standard size PDF? Suppose I have a PDF which is 2x3 in. I want to create a PDF with a single page, which has multiple copies of this. For example, if the small pieces are in landscape, and the large page is in portrait, I could tile 2x5 (6x10 in total area vs 8.5x11 letter paper) and fit a total of 10 copies on a sing... (more) |
— | about 1 year ago |
Suggested Edit | Post #290008 |
Suggested edit: Cleaned up parts that would not be useful to future readers of this question (more) |
helpful | about 1 year ago |
Comment | Post #289952 |
Based on this, I discovered that `ssh -o StrictHostKeyChecking=no my_host` will do it all in one command. Instead of checking the host key, it will just add it to `known_hosts` without asking you. This is nice because it accepts aliases for `my_host` that are defined in `~/.ssh/config`. (more) |
— | about 1 year ago |
Comment | Post #289952 |
Thanks for the great answer! This addresses everything I was confused about. (more) |
— | about 1 year ago |
Edit | Post #289950 | Initial revision | — | about 1 year ago |
Question | — |
How to bypass SSH destination host key fingerprint check? When you first connect to a host, `ssh` asks you about saving its fingerprint. If you do, on subsequent connections it will check the fingerprint and refuse to connect if it changed. I get that this is a security measure in case someone tries to impersonate my server. However, it is also very a... (more) |
— | about 1 year ago |