Deckweiss

@Deckweiss@lemmy.world

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Deckweiss, (edited )

I am surprised by the lack of question about VPN/SPN

Deckweiss, (edited )

I would also like more interesting postst instead of reading peoples complaints about the content all day.

Please open a new sublemmy linux_lemmy_content_complaints and move your post there.

Deckweiss,

I laughed about the meme.

But It’s the opposite of my experience tbh. I had way more trouble before I finally switched to arch.

Are there alternatives to google scholar and google patents?

Due to my line of work, I find myself having to use both these services frequently, despite avoiding google as much as I can. I see a lot of alternatives out there for internet searching, but when it comes to specific fields, alternatives tend to be scarce.

Deckweiss,

linux-hardware.org

this resrource was a blessing for me. You can search for laptop models and see exactly what works/doesn’t work under which distro.

How do I see what pid/process has modified a linux routing table?

Anyone know how to see what pid/process has modified a linux routing table (specifically on Ubuntu )? I have an interesting problem where a route that I have created has been deleted over time, but can’t figure out what. I’ve tried rtmon but seems to only show timestamps of the adds/deletes

Deckweiss, (edited )

The better solution:

sudo apt-get install auditd

Set up watch: sudo auditctl -w /path/to/your/file -p wa -k file_change_monitor

Check log: sudo ausearch -k file_change_monitor


Alternative solution:

If you know the file that is being edited you can set up watches with inotifywait and log it to a file. This may possibly not work because lsof might not be quick enough.

sudo apt-get install inotify-tools

then put this script in autostart


<span style="color:#323232;">#!/bin/bash
</span><span style="color:#323232;">
</span><span style="color:#323232;">FILE_TO_MONITOR="/path/to/your/file"
</span><span style="color:#323232;">LOG_FILE="/path/to/logfile.txt"
</span><span style="color:#323232;">
</span><span style="color:#323232;">inotifywait -m -e modify,move,create,delete --format '%w %e %T' --timefmt '%Y-%m-%d %H:%M:%S' "$FILE_TO_MONITOR" |
</span><span style="color:#323232;">while read path action time; do
</span><span style="color:#323232;">    # Get the PID of the process that last modified the file
</span><span style="color:#323232;">    PID=$(lsof -t "$FILE_TO_MONITOR" 2>/dev/null)
</span><span style="color:#323232;">
</span><span style="color:#323232;">    # Get the process name using the PID
</span><span style="color:#323232;">    PROCESS_NAME=$(ps -p $PID -o comm= 2>/dev/null)
</span><span style="color:#323232;">
</span><span style="color:#323232;">    # Log details to the file
</span><span style="color:#323232;">    echo "$time: File $path was $action by PID $PID ($PROCESS_NAME)" >> "$LOG_FILE"
</span><span style="color:#323232;">done
</span>

Don’t forget to modify the values at the top of the script and make it executable.

Deckweiss,

My bad, I thought in Linux everything is a file

Deckweiss,

Thank you for the info and I’ll listen to that talk

Deckweiss,

can confirm, I am using it and paying for it because I like the features

Deckweiss, (edited )

I wholeheartedly agree with you in regards to general lack in UX quality and lack of introduction for new users.

I have mived to use Linux exclusively for about 5 years now and whenever a teammember at work tries it, I have to give advice about once a day because of some cryptic info that has accumulated in my head and they couldn’t find through a 20minute internet search, to solve an endless stream of tiny issues.

It is an OS that I definitely could never recommend to people like my parents, which are by no means tech illiterate.


In regards to the specific point of launching .sh files:

On KDE Plasma I can double click sh files and a popup shows asking me whether I want to execute the program or edit the file in a text editor.

Deckweiss,

My father for example needs to digitally sign PDFs. And I mean properly, so that they becomes unchangable.

I wouldn’t say that this is a techy usecase, it is a rather frequent need for any adult in my country.

On windows it is so easy to set up while on Linux there is no solution at all.

So yeah, just browsing sadly wouldn’t cut it.

Deckweiss, (edited )

As far as I have searched, I didn’t find a way to find “every” instance. Most of the popular ones - yes, but far from all.

Also I did not know that each instance copies all pf the data of all other instances into their own db.

But thanks, I will try it out next year.

What's an elegant way of automatically backing up the contents of a large drive to multiple smaller drives that add up to the capacity of the large drive?

So I have a nearly full 4 TB hard drive in my server that I want to make an offline backup of. However, the only spare hard drives I have are a few 500 GB and 1 TB ones, so the entire contents will not fit all at once, but I do have enough total space for it. I also only have one USB hard drive dock so I can only plug in one...

Deckweiss, (edited )

If you are lucky enough, borgbackup could deduplicate and compress the data enough to fit a 1tb drive. Depending on the content of course, but it’s deduplication & compression is really insanely efficient for certain cases. (I have 3 devices with ~900GB each (so just shy of 3TB in total) which all gets stored in a ~400gb borgbackup)

Deckweiss, (edited )

So if you are not a cook, you can’t answer questions about food taste?

Deckweiss,

I want you to laugh at my joke question.

Deckweiss, (edited )

I have set up my archlinux os in a weekend with btrfs snapshots and everything I need. About once a quarter I tinker with it for 30 minutes to either fix a broken update or do some custom solutions to minute problems. It has been running like this for 5years. And snapshots allow me to rollback any fuckups in 1 minute.

I tried to setup nixos twice, because I love the concept. Both times I tinkered with it for 1 to 2 weeks, had to take paid leave. At the end, some stuff still didn’t work as I wanted it to. Any customization that is not already natively implemented in nix is a huge pain in the ass to add. Things that would be a 5min config edit on arch took hours on nix to make them rEpRoDuCaBLe. I have experienced no additional benefit over btrfs snapshots.

Tldr: If I could pay somebody 100$ to set up nixos just the way I want it, I’d use it. But since I have to do it in my own free time, I won’t.

Deckweiss,

I had to do some tinkering way back to make my bluetooth earplugs be recognized as an audio device.

Not sure if that is still needed today

Deckweiss,

Looks cool, but I am already in love with Starsector

Deckweiss,

You can set notifications per folder afaik in the folder settings

Deckweiss,

For me, even using Linux at all is more of a philosophical decision than a practical one.

As long as the tradeoff is not too big, I’d rather use what follows my values over going by pure meritocracy.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #