13

Hello everybody! I have the following issue: I have two countainers, let's call them C1 and C2, and they both expose the same port, let's say 1234. I want to route both of them through a gluetun container. to do this, I added

network_mode: container:gluetun

at each container. But they both expose the same port, so there's a conflict. Without routing them though gluetun I can just

ports:
  - 1235:1234

but using network_mode this cannot be done. What can I do? The only thing that comes to my mind is to use two gluetun containers, but I'd rather use a single one

thanks in advance!

33
submitted 1 month ago by tubbadu@lemmy.kde.social to c/linux@lemmy.ml

Hello! My girlfriend bought a new pc, an HP pavilion x360 with the touchscreen, and asked me to install her kubuntu as in her previous non-tablet pc, and so I did. It works very well, except for the fact that I tried really hard without success to setup a virtual keyboard. fcitx5 was already installed, but I couldn't find a way to use it as virtual keyboard, and apparently it does not bundle a UI. i then installed maliit (the one that I use on my EndeavourOS 2in1 laptop flawlessly) but it seems to have a strange bug where it only works once, then after you close it it will never pop up again. I tried the workaround suggested here but it works once every 4 tries and the keyboard pops up but is unable to write anything.

Has anyone achieved to install a virtual keyboard on Kubuntu 24.04? I'd rather not switch to X11 because except for the keyboard, the touch support is way better under wayland

thanks in advance to anyone!

9
Doubts about Stremio (lemmy.kde.social)
submitted 1 month ago by tubbadu@lemmy.kde.social to c/piracy@lemmy.ml

Hello! on my home server I currently have jellyfin+arr suite installed, but I have often problems finding downloads, probably because of the torrent indexers I have access to. Because of this, I often find myself watching content on streaming websites because it has not been downloaded on the server.

So I started to consider replacing jellyfin with stremio. I'd like, if possible, to self host it with docker. I tried to follow the instructions here, but I'm a bit confused: if I go to myserver:12470, it says "the connection was reset by the server", while if I go to myserver:11470 I'm just redirected to https://app.strem.io/shell-v4.4/?streamingServer=<myserverhere>.

am I doing something wrong? I can't find any guide or similar on how to self host it, so I guess it's not something supported, but if it's the case then what's the point of the docker image? I'd like to be independent on the stremio server, it's the point of self-hosting it

thanks in advance fellow sailors!

79
submitted 2 months ago by tubbadu@lemmy.kde.social to c/linux@lemmy.ml

Hello! My girlfriend's HP laptop running kubuntu 24.04 has this problem: when it's turned off (either from the GUI or poweroff) it discharges overnight, from 100% to 0% in a few days.

I searched the web to look for fixes:

  • wake on lan is disabled in the BIOS
  • USB ports have no settings in the bios, but there's nothing connected to them anyway
  • the system is actually powered off, not sleeping (at least if poweroff actually works)
  • everything, firmware included, is up to date

She doesn't remember having this problem from the beginning, but cannot tell when this started occurring

Did any of you ever encounter this problem? I don't know what else to do, and it's quite annoying.

Thank you for your time!

14

Hello! I have jellyfin+qbittorrent+radarr on my home server, but I can't make it work with hardlinks. When a download finishes, it just copies it to the /movie folder, doubling the disk space. at least, I think that it's just a copy, because the disk space is double and find ./downloads -samefile ./movies/path/to/file.mkv returns no result, meaning if I understand correctly that file.mkv is not hardlinked to any file in the download folder (but it should).

this is the docker compose:

radarr:
    image: lscr.io/linuxserver/radarr:latest
    container_name: radarr
    network_mode: container:gluetun
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Rome
    volumes:
      - ./radarr-config:/config
      - /media/HDD1/movies:/movies
      - /media/HDD1/downloads:/downloads
    restart: unless-stopped

HDD1 hard drive is formatted ext4, that supports hardlinks (in fact I can create them manually), and in the radarr settings the checkbox "use hardlinks instead of copy" is checked.

Ideally I'd prefer softlinks instead of hadlinks, but I don't think there's a way to do it natively, I think I'd need an external script

Any tips? Thanks in advance!

30
submitted 5 months ago* (last edited 5 months ago) by tubbadu@lemmy.kde.social to c/selfhosted@lemmy.world

Hello! I was wondering if running periodically a script to automatically pull new images for all my containers is a good or a bad idea. I'd run it everyday at 5.00AM to avoid interruptions. Any tips?

EDIT: Thanks to everyone for the help! I'll install Watchtower to manage the updates

27
submitted 5 months ago by tubbadu@lemmy.kde.social to c/linux@lemmy.ml

Hello! My disk space was out of space left, so I decided to remove some snapper snapshot. snapper list listed over 360 snapshots. I removed them, and freed 50Gb of space. One of these hasn't been deleted successfully:

Cannot delete snapshot 166 since it is the next to be mounted snapshot.

it's description is writable copy of #156. How can I remove it? should I do it using btrfs subvolume delete?

here's the output of sudo btrfs subvolume list -t /:

ID      gen     top level       path
--     
***
    ---------       ----
256     178487  5               timeshift-btrfs/snapshots/2023-09-18_18-25-33/@
257     341688  5               @home
258     341680  5               @cache
259     341688  5               @log
260     26      256             timeshift-btrfs/snapshots/2023-09-18_18-25-33/@/var/lib/portables
261     27      256             timeshift-btrfs/snapshots/2023-09-18_18-25-33/@/var/lib/machines
708     341688  5               @
710     341680  708             .snapshots
2781    178991  5               timeshift-btrfs/snapshots/2024-05-07_12-20-43/@
2968    326034  710             .snapshots/166/snapshot
2969    341679  710             .snapshots/167/snapshot

all those timeshift subvolumes are there because before snapper, I used to use timeshift. I tried to remove them:

sudo btrfs subvolume delete timeshift-btrfs/snapshots/2023-09-18_18-25-33/@/var/lib/machines    
ERROR: Could not statfs: No such file or directory

If I understand correctly, it means that I should give an actual "system" path instead of the path in the table, but I don't understand which path

thanks in advance to everyone!

47
submitted 5 months ago* (last edited 5 months ago) by tubbadu@lemmy.kde.social to c/selfhosted@lemmy.world

Hello! I have a problem: sometimes I instinctively refer to a movie by the English name (for example, Star Wars), but if I search for it in jellyfin it is not found, as the italian translated name is "Guerre Stellari". I'd like to be able to search for it with both the original name and the translated name. The original name is present in the metadata, it just isn't used as a search parameter. Is there a way?


EDIT: I understood the problem: i'm stupid

Star wars episode IV had both the translated and the original title, and was correctly find when searching "star wars", but episode V and VI didn't have the string "star wars" in the original title! and this is why jellyfin didn't find them. I edited the metadata and added it, now it works perfectly. Thanks to everyone!

[-] tubbadu@lemmy.kde.social 56 points 5 months ago* (last edited 5 months ago)

Jar Jar Binks. He's my favorite Sith

38
submitted 5 months ago by tubbadu@lemmy.kde.social to c/linux@lemmy.ml

Hello guys! sometimes I watch movies with friends over jitsi meet, and in order to share just a single window with just its own audio I use chromium, that has the "share tab" option. However, I'd like a more general solution (I cannot play mkv files on browser, for example). I'd like a compact way that creates a virtual device sharing the window (even if the window gets minimized or hidden behind other windows!) and its audio, without the audio of all other windows (I don't want my notification sounds to be shared too). a quick online search gave me only "complex" answers, that I'll try only if a more convenient way is not available.

[I'm running EndeavourOS KDE Wayland]

Thank to everyone in advance!

74
submitted 6 months ago* (last edited 6 months ago) by tubbadu@lemmy.kde.social to c/selfhosted@lemmy.world

Hello fellow selfhosters! I have a laptop and a tablet (both running endeavourOS), and I want a certain folder to be always in sync. I also have a very potato server.
My two options currently are Nextcloud and Syncthing. The laptop and the tablet are rarely online at the same time, so I need the server as middleman (so, no syncthing laptop <-> tablet, but laptop <-> server <-> tablet).

Which one do you recommend? The power consumption (of the client) is also very important, because both the laptop and the tablet are battery-powered

I'm also open to other options as well!

thanks in advance to everyone!


Edit: thanks to everyone for your precious help! I finally set up syncthing and it's working flawlessly!

28

Hello! In qalc I can do calculations using measuring units like this:

> 5 W * 3 s

  (5 watts) × (3 seconds) = 15 J

I'd like to be able to do something similar also in GNU Octave. I think the symbolic library could be a place to look at, but I found nothing "already done". Do any of you know of a way to achieve this functionality?

[-] tubbadu@lemmy.kde.social 73 points 7 months ago

It's funny: if the telemetry is opt-in, I'll opt in, if it's opt-out, I'll opt out

[-] tubbadu@lemmy.kde.social 92 points 8 months ago

Is there some lore about this I don't know?

[-] tubbadu@lemmy.kde.social 170 points 9 months ago

I always see "this doesn't work, why?" posts, it's the first time I see a "this works, why?" post XD

13

Hello! I'll try to explain what I'm looking for: I sometimes have to write simple web pages (not just text, also buttons and video players and so on), but I really really hate writing html code. What I'm used to is QML, which I like a lot, because of the ease of placing objects exactly where I need using the anchors and the Layout objects. What I'm looking for is a language or something with a similar syntax, that can then be "built" to plain HTML/CSS/JS. Is there something like this? I know I can compile Qt/QML for webassembly, but I'm having huge amounts of problems, and also I'd like to have the possibility to have a plain HTML result, not necessary bind to the server side.

thanks in advance!!

[-] tubbadu@lemmy.kde.social 96 points 10 months ago

That dubbed audio tracks of movies could be downloaded separatey and easily merged in the audio, in a way similar to subtitles. This way, the audio track in non English languages would be downloaded very quickly, even with just one seeder, and the whole movie in original language has way more seeders than dubbed ones.

[-] tubbadu@lemmy.kde.social 76 points 11 months ago

Spy on users

[-] tubbadu@lemmy.kde.social 57 points 1 year ago

What is AFTL? Probably not "Anterior talofibular ligament" as the internet told me

[-] tubbadu@lemmy.kde.social 70 points 1 year ago

OpenBoard's developing is being carried on by one of the original developers: https://github.com/Helium314/openboard

It allows to include an external swipe-type library (proprietary, from Gboard) in case you need it, and it works really well. The only problem is that currently it's only available on github, so you can only update manually or with obtainium

[-] tubbadu@lemmy.kde.social 69 points 1 year ago

Forbidden shrimp

[-] tubbadu@lemmy.kde.social 84 points 1 year ago

It took me a while to understand it's not yet another Twitter meme

[-] tubbadu@lemmy.kde.social 178 points 1 year ago

It would be cool if crossposted posts would have like a common comment thread or something like this: a crosspost does not copy the post to another community, it creates a "softlink" to the original post. This way, everything done to any of the crossposted post (vote, comment, mark as viewed) would be also applied to other crossposted posts. This way, we would only see a single post instead of 15 posts, and we wouldn't miss any comment from any of the communities it is crossposted. Obviously, users may wish to just copy the post to another community. What do you think about this? Should we open an issue on github about this?

[-] tubbadu@lemmy.kde.social 55 points 1 year ago

Damn I'm deprecated

view more: next ›

tubbadu

joined 1 year ago