linux Linux Our lab is named after the goat
Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearT0
    t0mri
    2 months ago 100%

    Tell me when youre so passionate about something would you ignore the goat in your domain just because that person is not from the same country as you?

    27
  • linux
    Linux t0mri 2 months ago 98%
    Our lab is named after the goat
    671
    42
    linux Linux Linux Desktop reaches New All time high. 4.45%(+0.4) 📈🐧
    Jump
    linux Linux Anyone knows if it's possible to color command line commands as you type them (kind of like an editor)?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearT0
    t0mri
    2 months ago 100%

    Yeah, I used to use that before. But its slower for me. So now I use fish for interactions

    3
  • neovim Neovim People that use Neovim really like Neovim | More than any other code editor, people using it want to keep using it | 2024 Stacked Overflow Developer Survey
    Jump
    linux Linux PeerTube 6.2 is out! | JoinPeerTube
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearT0
    t0mri
    2 months ago 100%

    bruh... i just thought "man something like lemmy but for youtube would be great, maybe i can build one for fun" THIS MORNING. "decentralized and federated alternative to youtube" man this gonna be fkn great

    15
  • linux Linux [solved] sharing audio over network with obs studio
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearT0
    t0mri
    2 months ago 100%

    yeah thats the first thing i wanted to check. im not a network expert but i think my phone tried connecting to my machine. on the log, SRC=192.168.43.60 is my mobile phones address, but I cannot confirm it was a success or not.

    ive created a pastebin here just in case.

    1
  • linux Linux [solved] sharing audio over network with obs studio
    Jump
    linux Linux [solved] sharing audio over network with obs studio
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearT0
    t0mri
    2 months ago 100%

    thanks for help. i tried adding firewall rules to allow all udp connections (added my iptables output in the op), but no luck :(

    1
  • linux
    Linux t0mri 2 months ago 100%
    [solved] sharing audio over network with obs studio

    i want to share audio over network so that i can use my tv as a wireless speaker. so i chose obs studio to make a stream out of my system audio coz i had it installed already. i went to `settings -> output (advanced) -> recording (custom)` and set `ffmpeg output` to `output to url` and set the url to `udp://192.168.43.87:8081` and set `container format` to `mp3` just to get started. so to test things out i ran `mpv udp://192.168.43.87:8081` on the same machine and it plays audio. but when i tried accessing it from my android phone with mpv client, it doesnt play the audio, it just shows black screen for while and return to main menu of mpv app. thanks in advance. --- edit **iptables:** ``` Chain INPUT (policy ACCEPT) target prot opt source destination ACCEPT tcp -- anywhere anywhere ACCEPT udp -- anywhere anywhere Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination ``` # solution I set the sender's IP address as output URL in obs studio, thats the issue. To fix this, set the receiver's IP address as output URL. Yeah you can't broadcast with this ig.

    36
    10
    c_lang C Programming Language fatal error: dbus/dbus-arch-deps.h: No such file or directory
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearT0
    t0mri
    3 months ago 100%

    pkg-config --cflags --libs dbus-1

    thanks! this allows me compile my program with no error. why gcc couldnt do this automatically? i mean its supposed to do this right? and another important issue that clang ls (language server) showed the same error? i thought fixing this would fix that too, but that isnt the case here. without clang ls running i wont get any auto completions. thanks again

    2
  • c_lang
    C Programming Language t0mri 3 months ago 100%
    fatal error: dbus/dbus-arch-deps.h: No such file or directory

    cross-posted from: https://lemmy.ml/post/17545833 > im new to system programming, idk if thats the issuse. but according gcc, it can not find `dbus/dbus-arch-deps.h` and thats all i know. any idea about this issue? > > ``` > program > [I] tomri@artix ~ [1]> cat main.c > #include <dbus-1.0/dbus/dbus.h> > > int main(void) { return 0; } > ``` > ``` > # error > [I] tomri@artix ~> gcc main.c > In file included from main.c:1: > /usr/include/dbus-1.0/dbus/dbus.h:29:10: fatal error: dbus/dbus-arch-deps.h: No such file or directory > 29 | #include <dbus/dbus-arch-deps.h> > | ^~~~~~~~~~~~~~~~~~~~~~~ > compilation terminated. > ``` > ``` > [I] tomri@artix ~> ls -la /usr/include/dbus-1.0/dbus/ > total 216 > drwxr-xr-x 2 root root 4096 Jul 2 20:26 ./ > drwxr-xr-x 3 root root 4096 Jun 15 21:36 ../ > -rw-r--r-- 1 root root 2809 Jan 14 06:17 dbus-address.h > -rw-r--r-- 1 root root 3470 Jan 14 06:17 dbus-bus.h > -rw-r--r-- 1 root root 27018 Jan 14 06:17 dbus-connection.h > -rw-r--r-- 1 root root 2909 Jan 14 06:17 dbus-errors.h > -rw-r--r-- 1 root root 22076 Jun 8 2023 dbus-glib-bindings.h > -rw-r--r-- 1 root root 2575 Jun 8 2023 dbus-glib-lowlevel.h > -rw-r--r-- 1 root root 14766 Jun 8 2023 dbus-glib.h > -rw-r--r-- 1 root root 8969 Jun 8 2023 dbus-gtype-specialized.h > -rw-r--r-- 1 root root 1464 Jun 8 2023 dbus-gvalue-parse-variant.h > -rw-r--r-- 1 root root 7246 Jan 14 06:17 dbus-macros.h > -rw-r--r-- 1 root root 1961 Jan 14 06:17 dbus-memory.h > -rw-r--r-- 1 root root 15259 Jan 14 06:17 dbus-message.h > -rw-r--r-- 1 root root 1810 Jan 14 06:17 dbus-misc.h > -rw-r--r-- 1 root root 3809 Jan 14 06:17 dbus-pending-call.h > -rw-r--r-- 1 root root 23956 Jan 14 06:17 dbus-protocol.h > -rw-r--r-- 1 root root 5412 Jan 14 06:17 dbus-server.h > -rw-r--r-- 1 root root 5392 Jan 14 06:17 dbus-shared.h > -rw-r--r-- 1 root root 3047 Jan 14 06:17 dbus-signature.h > -rw-r--r-- 1 root root 2359 Jan 14 06:17 dbus-syntax.h > -rw-r--r-- 1 root root 8505 Jan 14 06:17 dbus-threads.h > -rw-r--r-- 1 root root 4143 Jan 14 06:17 dbus-types.h > -rw-r--r-- 1 root root 3961 Jan 14 06:17 dbus.h > [I] tomri@artix ~> > ``` > ``` > # my system > [I] tomri@artix ~> uname --all > Linux artix 6.9.7-artix1-1 #1 SMP PREEMPT_DYNAMIC Fri, 28 Jun 2024 18:11:28 +0000 x86_64 GNU/Linux > ```

    6
    3
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearC_
    The C Programming Language t0mri 3 months ago 100%
    fatal error: dbus/dbus-arch-deps.h: No such file or directory

    im new to system programming, idk if thats the issuse. but according gcc, it can not find `dbus/dbus-arch-deps.h` and thats all i know. any idea about this issue? ``` program [I] tomri@artix ~ [1]> cat main.c #include <dbus-1.0/dbus/dbus.h> int main(void) { return 0; } ``` ``` # error [I] tomri@artix ~> gcc main.c In file included from main.c:1: /usr/include/dbus-1.0/dbus/dbus.h:29:10: fatal error: dbus/dbus-arch-deps.h: No such file or directory 29 | #include <dbus/dbus-arch-deps.h> | ^~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. ``` ``` [I] tomri@artix ~> ls -la /usr/include/dbus-1.0/dbus/ total 216 drwxr-xr-x 2 root root 4096 Jul 2 20:26 ./ drwxr-xr-x 3 root root 4096 Jun 15 21:36 ../ -rw-r--r-- 1 root root 2809 Jan 14 06:17 dbus-address.h -rw-r--r-- 1 root root 3470 Jan 14 06:17 dbus-bus.h -rw-r--r-- 1 root root 27018 Jan 14 06:17 dbus-connection.h -rw-r--r-- 1 root root 2909 Jan 14 06:17 dbus-errors.h -rw-r--r-- 1 root root 22076 Jun 8 2023 dbus-glib-bindings.h -rw-r--r-- 1 root root 2575 Jun 8 2023 dbus-glib-lowlevel.h -rw-r--r-- 1 root root 14766 Jun 8 2023 dbus-glib.h -rw-r--r-- 1 root root 8969 Jun 8 2023 dbus-gtype-specialized.h -rw-r--r-- 1 root root 1464 Jun 8 2023 dbus-gvalue-parse-variant.h -rw-r--r-- 1 root root 7246 Jan 14 06:17 dbus-macros.h -rw-r--r-- 1 root root 1961 Jan 14 06:17 dbus-memory.h -rw-r--r-- 1 root root 15259 Jan 14 06:17 dbus-message.h -rw-r--r-- 1 root root 1810 Jan 14 06:17 dbus-misc.h -rw-r--r-- 1 root root 3809 Jan 14 06:17 dbus-pending-call.h -rw-r--r-- 1 root root 23956 Jan 14 06:17 dbus-protocol.h -rw-r--r-- 1 root root 5412 Jan 14 06:17 dbus-server.h -rw-r--r-- 1 root root 5392 Jan 14 06:17 dbus-shared.h -rw-r--r-- 1 root root 3047 Jan 14 06:17 dbus-signature.h -rw-r--r-- 1 root root 2359 Jan 14 06:17 dbus-syntax.h -rw-r--r-- 1 root root 8505 Jan 14 06:17 dbus-threads.h -rw-r--r-- 1 root root 4143 Jan 14 06:17 dbus-types.h -rw-r--r-- 1 root root 3961 Jan 14 06:17 dbus.h [I] tomri@artix ~> ``` ``` # my system [I] tomri@artix ~> uname --all Linux artix 6.9.7-artix1-1 #1 SMP PREEMPT_DYNAMIC Fri, 28 Jun 2024 18:11:28 +0000 x86_64 GNU/Linux ```

    5
    1
    linux
    Linux t0mri 3 months ago 100%
    tui for connman?

    i recently switched to connman and i need a tui. so i searched for some and got: - [connman-ncurses](https://github.com/eurogiciel-oss/connman-json-client) - [cmtui](https://sr.ht/~jsbronder/cmtui/) but i believe both are orphaned. so it there any tui for connman out there?

    17
    2
    neovim Neovim [solved]help - tmux paints vim
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearT0
    t0mri
    3 months ago 100%

    I tried that. Not working. Im really sorry, I shouldve mentioned this on the original post itself. I did some searches and tried these already. Im really sorry

    2
  • neovim Neovim [solved]help - tmux paints vim
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearT0
    t0mri
    3 months ago 100%

    Thanks for helping. But No luck with those. Tried them all. vim said there's no option like "term". Other two doesnt work :(

    2
  • tmux
    Tmux t0mri 3 months ago 80%
    help - tmux paints vim https://lemmy.ml/pictrs/image/ed2a128e-f59f-4b4f-a018-0bae90e06f02.png

    cross-posted from: https://lemmy.ml/post/17385918 > idk im having this issue for a long time. itd be nice to have this fixed. > > thanks

    6
    0
    neovim
    Neovim t0mri 3 months ago 80%
    [solved]help - tmux paints vim

    idk im having this issue for a long time. itd be nice to have this fixed. thanks Edit: I that doesnt help: - `term=xterm-...` in shell config - `set-option -ga terminal-overrides ",xterm-256color:Tc"` in tmux config ### solution: thanks to [mazadin](https://lemmy.ml/u/mazadin@lemmy.world) for the solution. im using foo terminal, so setting `set-option -ga terminal-overrides ",foot:Tc"` in tmux.config fixed it. (yeah im dumb)

    9
    12
    linux Linux bash coding standards?
    Jump
    linux Linux bash coding standards?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearT0
    t0mri
    3 months ago 100%

    I assume you opened the link. Did you read that projnct intro by any chance? Im struggling to name the project. Some suggestion can help.

    2
  • linux Linux bash coding standards?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearT0
    t0mri
    3 months ago 100%

    Yeah I came across that google's guide, but I skipped it when I found out its from google. And thanks for informing about the link, I made a typo

    4
  • linux Linux bash coding standards?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearT0
    t0mri
    3 months ago 100%

    Thanks. I checked it out. It'd be cool if they have LSP setup.

    And thanks for informing about the link, I made a typo :]

    7
  • linux
    Linux t0mri 3 months ago 96%
    bash coding standards?

    i didnt care about how i wrote my bash scripts, coz i know theyd ultimately be used just by myself. but for the past few day, i've been working on this project, [mk-blog](https://codeberg.org/t0mri/mk-blog) which uses some bash scripts, there are chances that others might look at them. besides in work they're asking me maintain a server. so why not learn the standards. but i couldn't find anything good online (i'm gonna blame my search engine lol). so... i'd appreciate redirections to (official or community) bash coding standards

    88
    41
    neovim Neovim Anyone using a Neovim distribution? Which one?
    Jump
    linux Linux [help] What is the best way to screenshare a single window with audio?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearT0
    t0mri
    3 months ago 100%

    My assumption:

    • Hell be the host, hell control the stream and no one else. So one sender with no internal communication (coz they might have discord or something setup for their conversations)
    • according to google, the average no of friends is 5. So may be around 5 receivers
    1
  • linux
    Linux t0mri 3 months ago 95%
    how to start syncthing as a user service - dinit

    im on a dinit based system and want to start syncthing as a regular user service. currently, its running as root (which bugs me a lot, as it's playing on the network) using the syncthing-dinit service located at `/etc/dinit.d/syncthing`. i know i can run it with a custom syncthing dinit service file. but, i just want to know how to make use of the existing syncthing-dinit service file thanks in advance

    38
    2
    linux Linux Leap Micro 6.0 reaches Beta
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearT0
    t0mri
    3 months ago 100%

    tell me if this is what I'm looking for. I build Lineage OS, which requires me to download a load of apps. I wish (analogy coming) I could manage everything like a npm project, where I can keep all the dependencies under a single dir. I want to use my package manager to handle the dependencies, rather than manually downloading the bins, mv-ing them to the dir, and setting the path. Once I've finished building, dispose everything with just one or two commands, leaving no footprint on my OS/machine.

    2
  • linux Linux Linux users survey!
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearT0
    t0mri
    3 months ago 100%

    I dunno, I don't wanna take part in any survey, it feels wrong to me. But filled it halfway, just to see my own thoughts on linux. BTW you shouldve added " for fun" as a option to the question "why'd you use linux", thats the first thing that came to my mind

    6
  • linux Linux [closed] im gonna build a desktop application(daw). i need advice/opinion
    Jump
    linux
    Linux t0mri 4 months ago 93%
    [closed] im gonna build a desktop application(daw). i need advice/opinion

    greetings, i want to build a daw (digital audio workstation), but i have no idea where to even start. here are my needs and the options i've found: my needs: - load and keep things (audio, midi) in memory - cross-platform compatibility is not a requirement the options i've found: - ~~flutter~~ - ~~gtk/qt~~ - raylib (with zig) - ~~webassembly (with zig)~~ **[rejected] flutter:** the first option that came to my mind was flutter. i thought it would give me a quick start in laying down the ui, but i don't think it has the capability to fulfill my needs (please correct me if i'm wrong) **gtk/qt (with zig):** i wonder if qt provide bindings for zig **raylib (with zig):** it's cool (my choice as of now) **[rejected] webassembly (with zig):** it would be an ultimate comfort to build this way ig, but is it possible to make that web app into desktop one (like tauri or something)? id really appreciate your opinions and advice ps: i hope i'm clear. i got a headache searching about these. i'll update this post for more clarity later ## final note Thank you guys for all your opinions and advises. Thanks for explaining the limitations with gtk, things with qt and flutter. That kotlin compose thing was cool too. Thanks for mentioning yabridge thats gonna be helpful. It might not seem like it, but I did listen to your thoughts, and stuck with zig and raylib. Thanks a lot

    70
    48
    linux
    Linux t0mri 5 months ago 84%
    this kew is good!

    this command line music player, [kew](https://github.com/ravachol/kew), looks so good, wanted to share it with you guys. but it needs improvements (a lot) tho https://github.com/ravachol/kew

    27
    8
    security
    Security t0mri 5 months ago 79%
    A doubt in encryption

    There’s a server, a client, and a hacker in a network. For encryption, the client and the server need to share their private keys. Wouldn’t the hacker be able to grab those during their transmission and decrypt further messages as they please?

    32
    28
    linux
    Linux t0mri 5 months ago 84%
    [FIXED] unable to login after update 6.8.7

    i did update my machine with `pacman -Syu`. after rebooting, i cannot login. i con see this error `Failed to start Virtual Console Setup` a tiny second right before log in screen. i had to capture it in slow mo to able to read it. i attach the image below. ![](https://lemmy.ml/pictrs/image/292bd76c-8f69-4349-996b-55d0da09940a.png) and on the login, after i enter my username and hit enter it just hangs for a while without asking the password and asks for username again. it acts like when you enter wrong password. ![](https://lemmy.ml/pictrs/image/7871b07a-44a4-41db-ae34-43a36d34a176.png) # Fix turns out `/bin` some how got messed up. thanks to @wwwgem, i looked into system logs (journalctl) and fixed it

    31
    30
    linux
    Linux t0mri 6 months ago 93%
    Mm.. can someone help?

    I was editing my disk and when i wrote the changes and exited `cfdisk`, no cli command worked. Thats when i realized that im f-ed up. This what happened: I have 3 partitions, 512M efi, a 100G root partition and some free (unallocated) space. I had 84G worth data in the root patition. I totally forgot that and shrinked the root partition to 32G to extend the free space. I was using `cfdisk` tool for this. I wrote the changes and rebooted my machine, by long pressing power button coz no cli commands worked after writing those chrnges, to see this. So is it possible to recover my machine now? :_ ) **SOLUTION** Thanks to @dgriffith\@aussie.zone. `cfdisk` just updates the partition table. So no worry about data damage . To fix this, live boot -> resize the partition back its original size -> `fsck` that partition. For more explanation, refer @dgriffith\@aussie.zone comment

    152
    61
    linux
    Linux t0mri 6 months ago 86%
    Fedora + Hyprland?

    Are there any issues?

    21
    5
    neovim
    Neovim t0mri 6 months ago 100%
    any colemak-dh users? i need some advice

    im switching to colemak-dh and i need some advice. im writing this with colemak-dh, beleive me its hard. whats even harder is the `hjkl` navigation. so should i remap it to `neio`? you can consider me a long run guy, so your answers can be based on that. thanks in advance.

    17
    9
    linux
    Linux t0mri 6 months ago 96%
    Colemak-dh on linux

    I cerrently on "colemak" layout and wanna switch to "colemak-dh" but dunno how to set it up. Im on arch + hyprland (wayland) setup.

    30
    8