1
44
submitted 3 years ago* (last edited 2 years ago) by possiblylinux127@lemmy.zip to c/linuxquestions@lemmy.zip

When you delete your posts on this sub, you are deleting a solution to a potential problem that someone may be having. It is inconsiderate and can result in a ban.

2
17

I have a rather large library of movies gathered over the years (all entirely legally I assure you officer). I'm in the process of setting up a Jellyfin server so I can stream them on the go.

Currently it's just one folder full of individual files but Jellyfin wants each movie within it's own folder.

Is there a command, or set of commands, that would do this all in one go? ie iterate my way through a folder, create a new folder with the same name as a file, move that file into this new folder and repeat a few hundred times.

I am using Cachy OS (arch) and have Dolphin and yazi as file managers if that helps. I guess a bash script would be the best way to achieve this but my skills are quite rusty.

3
32
4
5

I installed arch (https://github.com/warpme/miniarch) on one of those small android tv boxes (A53 Cpu and 4gbs ram) that usually come with android+spyware and vague promises of piracy and i want to turn it into a small homeserver. I dont really know anything about servers so I dont know where to go from here. Im planning on connecting a 1TB drive to the box. I want some folders from my PC and phone(specifically documents) to be synced to the server automaticly whenever both are connected to my network, but I also have a ton of audio books, ebooks movies that I obviously only want to be accessible (by my TV, ereader, phone) but not synced accross devices. Ive also been thinking about having shared compute running in the background (seti or folding@home or something else). Obviously everything should need as little maintenance as possible, i want to have it sit in a corner and be able to forget about it. Could you point me in the right direction? Thanks in advance

5
11

Every now and then an update borks the connection between my phone and computer via USB. Normally when I plug in my phone it appears as a disk in the file explorer. Which package is responsible for this? Gvfsd? Is it something about MTP? I would like to roll back to the previous version of whatever is borking the connection but I have no idea how this connection works.

6
6
7
10

I don't have any particular problem here. I'm merely curious and can't find simple answers online. I haven't tried asking an AI, but I just feel strangely inclined to not try asking AI...

My screenshot depicts several networks in the Wifi section of gnome settings on Ubuntu 26.04LTS. The networks in question are ones labeled like management, untrusted, trusted. Some having a 1 at the end of their name/SSID (Same thing?). These networks are "hidden", not broadcasting their SSID. To my knowledge, the only networks which I've created on my infrastructure are the ones which do not have a 1 at the end of their name. After I initially connected to these hidden networks, the networks/configurations with a 1 at the end of their name/ssid/whatever just spontaneously appeared in the Wifi settings. This doesn't happen on any other devices or operating systems. So the question is of course, why does this happen?

8
4
9
6

geteilt von: https://feddit.org/post/32133481

For some time now, I've been noticing sporadic disconnections from the Wi-Fi. Sometimes this happens right after startup, sometimes after a few minutes, and sometimes only after an hour. Afterward, the laptop automatically reconnects to the Wi-Fi, only to lose the connection again at some point. Unfortunately, I have no idea what might be causing this or where I could look in the log files to find the cause. I’m using GNOME as my desktop environment. Can someone please help me find the cause and fix it if necessary?

10
5

@linuxquestions@lemmy.zip how do you install handbrake 1.11.2 avoiding flatpak ?

11
19

I unfortunately need Windows for work reasons, and will be installing Windows 10 on a separate drive. My main drive is Fedora with full disk LUKS2 encryption, and I'll install Win10 on the other drive through live USB while the Linux drive is disconnected. I have some questions related to this setup however:

  1. I do not have Secure Boot enabled, but iirc Windows 10 should have no issues with it?
  2. Will the two operating systems be truly isolated and independent? I.e. if I boot into one, it won't in any way affect the other? I'm particularly nervous about Windows trying something on the Linux drive.
  3. If the Windows drive installs some kernel-level stuff like anti-cheat, would it manage to affect the Linux drive? E.g. alter the boot options?
  4. I'll be installing Win10 using this tool; are there any considerations I should make for such a dual boot setup?

I know this post is a little bit Windows-directed, so let me know if I should make my post elsewhere. Thank you for the help!

12
7
13
7
submitted 2 weeks ago* (last edited 2 weeks ago) by HotsauceHurricane@lemmy.world to c/linuxquestions@lemmy.zip

I like using my stylus and I want to use a program that translate my handwriting to direct input for text fields. (Like how Apple Pencil uses the pen) here is a wonderful hand drawn example of my idea.

**green box (poorly) drawn to look like a web browser the url in the top box reads "fart.org" (because I am a child)

There is a red box below with cursive writing that says "fart.org" depicting a zone where you can write with a stylus. **

14
9

I've spent hours on MX fluxbox, but wasn't able to make the brightness and the time adjustments permanent.

I boot it from my live USB stick by the way.

15
12
16
16

I've been using unattended upgrades without any problems until now. However, for the second time, I'm encountering an issue where I end up with a summary stating that some packages were not installed or updated. Among other things, it tells me:

Package imagemagick is held back because a related package is held back or due to local apt_preferences(5).

However, when I run sudo apt full-upgrade, everything is up to date and the packages are installed. sudo apt-mark showhold also doesn’t list any packages. So why am I getting the message that packages were held back?

17
24
submitted 1 month ago* (last edited 1 month ago) by Skullgrid@lemmy.world to c/linuxquestions@lemmy.zip

for one user, one machine. nothing fancy. just something that I can store passwords in. I've heard freakout problems about a lot of different ones.

EDIT : I'm on debian. 13.

18
11
logging levels with systemd (discuss.tchncs.de)

I start a bash shell script via a oneshot unit. I output standard messages currently with

echo $message
echo $message >> $logfile.txt

With this I have output on screen and additionally in a logfile. I don't know if there is a better way to do that.

This works for standard infos fine. Additionally there must be a way to output also error messages and warnings, since when I look into other services, I see red messages for errors and yellow/orange colored messages for warnings.

How can I do such things with my bash script and output other levels like warnings in yellow and errors in red?

19
9

I have a bash script, which im using on a handful machines. On all machines, its the same script. Sometimes i need to adjust/update the script. With that, i need to copy the script to all this machines again.

Is there some way to update the script only on one central location and if this is done, the script checks itself, if there is a updated/changed variant on this central location and if so, copy the new version and restart itself after copy?

20
10

I'm running a customized install of vanilla Arch, and I'm currently having issues with uploading files with the little "browse files" button. It's supposed to pop up a window allowing me to see files. (Not the normal full sized applications like Thunar or Nautilus) Are they plugins of some kind to the file browser or something else? Trying to search for them is a bit more of a headache than I anticipated.

21
11

I want to set up a homeserver, however I currently don´t own any Hardware that I could use to install a Server on. What I do currently have is some spare time and my Laptop.

My Question is:

Can I setup the whole server enviroment in a VM on my Laptop and save it as some portable config? When I do have server hardware I just want to get it up and running quickly.

Thanks in advance

22
23

My wife is looking for an app that helps her save information from brainstorming, and is visually helpful. Most times, she's using her phone to search out her ideas and save them (pdf's, links, text, pictures) on her iphone's "Freeform app", but wants to be able to open it on our computer for more "in-depth refining"

I'm looking at maybe "Miro" but don't know anything about it. Wondering if anyone has any other suggestions or more elegant solutions

A notebook and pen is always a thing she uses, but it's not as streamlined. I appreciate any ideas, or if there's a better community to ask this in

23
42

Probably due to a power outage, I suddenly lost access to a connected USB HDD yesterday. According to parted, I get the message “unknown partition table,” and gdisk says the GPT is corrupted. Using testdisk, I was able to copy the files to another drive and restore the partition table and mount the HDD.

Is it possible that the partition table was damaged by the power outage, or does this point to a different problem? Can I safely store data on such an HDD again, or should I replace it?

24
6
submitted 1 month ago* (last edited 1 month ago) by MoogleMaestro@lemmy.zip to c/linuxquestions@lemmy.zip

I have an oddly-specific networking question that I'm hoping to get solved (and would like to have Lemmy be the home of the solution, in case I stumble upon this myself.)

I have a device that needs to "phone home" on a weekly basis. This device needs to have a static IP in order to be "valid". On windows, I usually can get it to work by starting openvpn, plugging in the external device in question and "routing that" through Openvpn. You do this by simply connecting the external nic and then right click on the nic in the control panel and set the "Allow other network users to connect through this computer's internet connection" along with assigning the external device to the OpenVPN connection. This routes all internet packets from X device to the internet via the OpenVPN connection without a major problem. I should note that it's extremely fickle, and it hurts my ability to remote in the machine on occasion, so I'm looking to change it.

What I'd like on my linux system is to simulate the same setup, but with 1) a permanent "connection" to the openvpn end point that is always available but not used by most networking tasks on the computer (for example, browser will use standard ethernet connection) and 2) The external nic will automatically route itself through the OpenVPN server, acting as a "router" for a (singular) external device that needs to access the internet.

Is this possible? Are there any guides for setting up this kind of complex network setup? Is it possible to do without going crazy and making my computer a full-blown router (like, doing DHCP work and the like)?

25
13
Homelab NAS / Media player (lemmy.blahaj.zone)
submitted 2 months ago* (last edited 2 months ago) by Cassa@lemmy.blahaj.zone to c/linuxquestions@lemmy.zip

I'm building a desktop that I want to use both as a LAN server and a media player by the TV.

I've been looking into distros and or solutions that would best solve it, and not gotten too far. Aiming for Debian currently, and testing if openmediavault can be also ran with kodi. I want me and my two roomates to be able to access files on it, and to use qbittorrent on the pc directly. acessing it outside of our house is not a big priority but would be a nice plus

Question is: is there some distro or solution that is for me, and I just don't know it - and if not, do you have any suggestions for my setup? :)

(Pc is gonna be run with Ryzen 5 3600x, GTX 1080ti, 16gb Ram, 128SSD for OS and, 5 3TB HDD in raid.)

view more: next ›

Linux Questions

4042 readers
5 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 3 years ago
MODERATORS