13

Hello! I'm working with typst files, and would like to write a kate plugin to automatically preview them inside kate. However, the official guide has instructions only for plasma 5. Does anyone have a bare-bones plugin project I can clone and modify, or some tips on how to adapt the files in the official guide in order to work on plasma 6?

Thanks in advance!

4
submitted 1 month ago* (last edited 1 month ago) by tubbadu@lemmy.kde.social to c/programming@beehaw.org

Hello! Basically, I need to process a very large (4000 lines) file and free ai chatbots like chatgpt aren't able to handle it. I would like to split it into smaller parts and process each part separately. I'm having however a very hard time finding a chatbot with free API. the only one I found is huggingchat, but after a few requests waiting 1 seconds before sending the next one it starts giving rate limit errors.

any suggestion? thanks in advance!

EDIT: I also tried to run gpt4all on my laptop (with integrated graphics) and it took like 2-5 minutes to asnwer a simple "hello" prompt, so it's not really feasable :(

58
submitted 3 months ago by tubbadu@lemmy.kde.social to c/foss@beehaw.org

Hello! I was looking for alternatives for Spotify to listen to music and create and share playlists with friends, and found a huge amount of players, both local and streaming, but none of them offered a reliable way to share playlists with friends. So here me out: what if there were a federated, self hostable platform where you can create an account, that provides an API that all the million music app can integrate easily in order to synchronize and share them also with people that uses other apps? Do you think it would work? I believe that if something like this would widespread, huge music companies like Spotify and Youtube wouldn't implement such a thing, but that perhaps would be also a way to "disincentivize" people from using those services!

"Hi friends Me on musicapp1 and Fred on musicapp2 created this cool playlist, hear it out!!"

"Sorry I pay 12$/month for Spotify, I cannot see it"

16
submitted 4 months ago* (last edited 4 months ago) by tubbadu@lemmy.kde.social to c/linux@lemmy.ml

Hello everybody! here's the problem: In my EndeavourOS laptop I had a /swapfile, but couldn't take snapshots with snapper because of it (if I understood correctly). So, I created a 16Gb swap partition using GParted from a live USB. Then, I edited /etc/fstab to remove the line about the swapfile and to add the newly created swap partition:

UUID=506d48e6-1cc0-4136-ba55-6f2f187bcdb1   swap           swap    defaults   0 0
# /swapfile                                   none           swap    sw         0 0

I took the UUID from

$ sudo blkid  
/dev/nvme0n1p3: LABEL="swap" UUID="506d48e6-1cc0-4136-ba55-6f2f187bcdb1" TYPE="swap" PARTLABEL="SWAP" PARTUUID="b4543e4e-4623-4317-99aa-086b0e62836e"
...

if I run sudo swapon -a it gets enabled correctly and it all works fine. The problem however is that when I reboot the machine, it gets stuck in the systemd screen saying "a job is running for /dev/disk/etc..." forever, and the only way I have to log in is to boot from a live USB, modify /efi/loader/entries/somethingverylong.conf to add these kernel options:

systemd.swap=0 noresume

and then reboot, and manually enable the swap.

I'm not understanding very well what's happening here. why is the system stuck if I don't add these parameters? how can I solve it?

thanks in advance!

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 7 months 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!

11
Doubts about Stremio (lemmy.kde.social)
submitted 7 months 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 8 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 11 months ago* (last edited 11 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 11 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 11 months ago* (last edited 11 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 11 months ago* (last edited 11 months ago)

Jar Jar Binks. He's my favorite Sith

[-] tubbadu@lemmy.kde.social 73 points 1 year 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 1 year ago

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

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

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

[-] tubbadu@lemmy.kde.social 96 points 1 year 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 1 year ago

Spy on users

[-] tubbadu@lemmy.kde.social 58 points 2 years ago

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

[-] tubbadu@lemmy.kde.social 70 points 2 years 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 2 years ago

Forbidden shrimp

[-] tubbadu@lemmy.kde.social 84 points 2 years ago

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

[-] tubbadu@lemmy.kde.social 179 points 2 years 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 2 years ago

Damn I'm deprecated

view more: next ›

tubbadu

joined 2 years ago