this post was submitted on 07 Jul 2024
40 points (97.6% liked)

Linux

4812 readers
315 users here now

A community for everything relating to the linux operating system

Also check out [email protected]

Original icon base courtesy of [email protected] and The GIMP

founded 1 year ago
MODERATORS
all 15 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 1 month ago (1 children)

ask anything!

What is the meaning of life?

[–] possiblylinux127 11 points 1 month ago
[–] [email protected] 6 points 1 month ago (1 children)

Is it better practice to mount drives in /mnt/mountpoint or in /media/user/mountpoint?

[–] [email protected] 14 points 1 month ago

/run/media/USERNAME is better and works without root, if you use udisksctl

[–] [email protected] 3 points 1 month ago (1 children)

I've two Mint VMs in Virtualbox. One hosts internal services and has critical data. The other is hosting services exposed to the internet and has no data of value.

I think I can paravirtualize one of these VMs, I think using docker. I'd end up with a single image I could then easily migrate to physical hardware.

Am I on the right track? I've no problem figuring out how. But, I'm not sure which means is best and why.

[–] possiblylinux127 4 points 1 month ago (1 children)

I would move to KVM as it is faster and easier

[–] [email protected] 1 points 1 month ago (1 children)

Fuck. I was overcomplicating it.

[–] possiblylinux127 2 points 1 month ago

Do you have Proxmox cluster? IG you start hosting services that's the way to go. You van start with a single node.

[–] [email protected] 1 points 1 month ago (1 children)

How do I trouble shoot a broken tray icon in swaybar?

[–] [email protected] 2 points 1 month ago

There will be a new sticky soon, for the upcoming week. Allow me to suggest you to ask again there for visibility. Please provide some details, what's broken? E.g. "context menu doesn't open"

[–] [email protected] 1 points 1 month ago (1 children)

I have figured out how to set up a shortcut to suspend my desctop! (yeah rookie here). My issue is, that it wakes up, whenever someone walks past it. Is there a way to define what wakes my PC (more mouse movement, maybe disable the mouse from waking it?)

[–] [email protected] 1 points 1 month ago (1 children)

Interesting! After a search, I can say that apparently you need to config the "file" /proc/acpi/wakeup. However, some claimed the change wouldn't persist (makes sense to me). I wonder if there's a distro specific setting for this... Else, you'd need to write some script for init.d or systemd..!

[–] [email protected] 1 points 1 month ago

Oh. If you have systemd, you have udev. Then, you want to do the opposite to https://wiki.archlinux.org/title/Udev#Waking_from_suspend_with_USB_device (see last block in the section, tells you to add that content to the rule 50-*, switches to "enabled" simply put "disabled" instead). Sorry for linking to advanced docs. Hope you can make it and it really work out! Another option would be trying to install powertop, it has many switches but it's graphical and iirc had something to turn USB off... This approach would be more of a last resort, it's a bit of a hack to address your needs. Dunno if it would really work..!

[–] [email protected] 1 points 1 month ago

Never mind, I just found this post which explains it all.