bolha.us is one of the many independent Mastodon servers you can use to participate in the fediverse.
We're a Brazilian IT Community. We love IT/DevOps/Cloud, but we also love to talk about life, the universe, and more. | Nós somos uma comunidade de TI Brasileira, gostamos de Dev/DevOps/Cloud e mais!

Server stats:

255
active users

#dbus

0 posts0 participants0 posts today
DelegateVoid<p>I'm looking into some <a href="https://mastodon.gamedev.place/tags/automation" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>automation</span></a> on <a href="https://mastodon.gamedev.place/tags/ubuntu" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ubuntu</span></a> <a href="https://mastodon.gamedev.place/tags/gnome" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gnome</span></a> desktop. I figured I'd be able to do everything using <a href="https://mastodon.gamedev.place/tags/dbus" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dbus</span></a>. <br>It works great for media control but not so much for virtual desktop / window management. I can use <a href="https://mastodon.gamedev.place/tags/wmctrl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>wmctrl</span></a> to nativate between virtual desktops but window management doesn't work on <a href="https://mastodon.gamedev.place/tags/wayland" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>wayland</span></a>. Then there is <a href="https://mastodon.gamedev.place/tags/ydotool" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ydotool</span></a> which also doesn't seem to work well.</p><p>Now I can<br> - Control media via dbus<br> - Switch workspaces via wmctrl </p><p>But I feel there has to be a better way?</p><p><a href="https://mastodon.gamedev.place/tags/csharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>csharp</span></a></p>
मोक्ष / untrusem ⁂<p>So I switched to dwm and having continuous dbus issues like keyring not found and other bullshit.</p><p>If dbus is so big, Why won't it fight me?</p><p><a href="https://merveilles.town/tags/theVent" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>theVent</span></a> <a href="https://merveilles.town/tags/dbus" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dbus</span></a> <a href="https://merveilles.town/tags/linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>linux</span></a></p>
argv minus one<p><span class="h-card"><a href="https://mastodon.social/@chr1stian" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>chr1stian</span></a></span> </p><p>In short: we already have a perfectly serviceable IPC system. I see no good reason to introduce another incompatible one, especially not one that, if I'm reading the docs correctly, can't even be used by processes not directly started by <a href="https://mastodon.sdf.org/tags/systemd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>systemd</span></a> (e.g. the shell inside a terminal window on a desktop).</p><p>And if we really want to replace D-Bus, then actually completely replace it. Don't just add another thing that weirdly coexists with it and does mostly the same thing.</p><p><a href="https://mastodon.sdf.org/tags/dbus" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dbus</span></a> <a href="https://mastodon.sdf.org/tags/varlink" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>varlink</span></a></p>
argv minus one<p><span class="h-card"><a href="https://mastodon.social/@chr1stian" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>chr1stian</span></a></span> </p><p>A new and improved way to look up users and groups sounds nice, but the use of varlink is extremely suspect.</p><p><a href="https://systemd.io/USER_GROUP_API/" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="">systemd.io/USER_GROUP_API/</span><span class="invisible"></span></a> explains why it is used, but all 3 reasons given are nonsense:</p><p>1. Why the hell do you need to look up users/groups when D-Bus isn't even running? Tons of things already don't work without D-Bus, so you have to start it ASAP anyway.</p><p>2. Not a problem; see next answer.</p><p>3. Then pass a socket fd over D-Bus and send the records over that.</p><p><a href="https://mastodon.sdf.org/tags/systemd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>systemd</span></a> <a href="https://mastodon.sdf.org/tags/dbus" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dbus</span></a></p>
Paolo Melchiorre<p>TIL Network protocols Sans I/O ⚡</p><p>“… network protocol implementations written in Python that perform no I/O (this means libraries that operate directly on text or bytes; this excludes libraries that just abstract out I/O).” 🤯</p><p>Read the reference page 👇<br><a href="https://sans-io.readthedocs.io/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">sans-io.readthedocs.io/</span><span class="invisible"></span></a></p><p><a href="https://fosstodon.org/tags/Reusability" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Reusability</span></a> <a href="https://fosstodon.org/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://fosstodon.org/tags/FastCGI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FastCGI</span></a> <a href="https://fosstodon.org/tags/HTTP2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HTTP2</span></a> <a href="https://fosstodon.org/tags/H11" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>H11</span></a> <a href="https://fosstodon.org/tags/IRC" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>IRC</span></a> <a href="https://fosstodon.org/tags/OAuth2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OAuth2</span></a> <a href="https://fosstodon.org/tags/OAuthLib" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OAuthLib</span></a> <a href="https://fosstodon.org/tags/WebSocket" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebSocket</span></a> <a href="https://fosstodon.org/tags/SOCKS5" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SOCKS5</span></a> <a href="https://fosstodon.org/tags/RFC2217" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RFC2217</span></a> <a href="https://fosstodon.org/tags/SerialOverIP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SerialOverIP</span></a> <a href="https://fosstodon.org/tags/EPICS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>EPICS</span></a> <a href="https://fosstodon.org/tags/FIX" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FIX</span></a> <a href="https://fosstodon.org/tags/QUIC" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QUIC</span></a> <a href="https://fosstodon.org/tags/LanguageServerProtocol" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LanguageServerProtocol</span></a> <a href="https://fosstodon.org/tags/SMTP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SMTP</span></a> <a href="https://fosstodon.org/tags/DBus" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DBus</span></a> <a href="https://fosstodon.org/tags/ThorlabsAPT" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ThorlabsAPT</span></a> <a href="https://fosstodon.org/tags/Matrix" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Matrix</span></a> <a href="https://fosstodon.org/tags/SSL" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SSL</span></a> <a href="https://fosstodon.org/tags/TLS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TLS</span></a> <a href="https://fosstodon.org/tags/CPython" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CPython</span></a> <a href="https://fosstodon.org/tags/multipart" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>multipart</span></a> <a href="https://fosstodon.org/tags/formdata" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>formdata</span></a></p>
Elias Probst<p><span class="h-card" translate="no"><a href="https://infosec.exchange/@tychotithonus" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>tychotithonus</span></a></span> it isn't! <br><a href="https://mastodon.social/tags/systemd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>systemd</span></a> is highly modular and each component is loosely coupled to the others.<br>You can basically mix and match as you like to - disable components you don't need/like, replace them with others - and they might either fully integrate by utilizing the <a href="https://mastodon.social/tags/DBus" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DBus</span></a> / <a href="https://mastodon.social/tags/Varlink" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Varlink</span></a> interfaces of systemd's components or not and act on their own.</p>
UNDLTD<p>Yay, I just published a new opensource project! It is a small program I wrote to solve an inconvenience I experienced with my computer use:</p><p>Mounting &amp; unmounting removable devices from command line (on Linux).</p><p>Whatever DE I use, I tend to work mostly with the keyboard. So I wanted a short command that would do this for me with as little typing and interaction as possible.</p><p>That includes mounting / unmounting at the right place, unlocking / locking encrypted volumes, as well as doing anything necessary to safely remove the device (powering off when supported, locking encrypted volumes after unmount, unmounting other partitions on the same device if present, etc).</p><p>It uses UDisks as its backend (but multiple backends can be implemented if desired).</p><p>Before I wrote this tool, I was using `bashmount`, which provided inspiration, but I wanted something a bit more ergonomic for my day to day use.</p><p>Some of you may have voted in a poll I did a long time ago for choosing its name😉</p><p>Hence:</p><p><a href="https://codeberg.org/undltd/om" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">codeberg.org/undltd/om</span><span class="invisible"></span></a></p><p>I decided to release it early, as soon as I started using it myself and felt it does the job. If circumstances permit, I'll be able to add niceties and further smooth out the UX, maybe even add features (see the Roadmap for ideas I have at the moment), but I hope it won't become "big and professional" 😉 Maybe I can port it to *BSD at some point🤔</p><p>Also, this is my first "real" program in Rust.</p><p>Enjoy!</p><p>(P.S. This program was written during and despite russian war.)</p><p><a href="https://tldr.nettime.org/tags/Rust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rust</span></a> <a href="https://tldr.nettime.org/tags/Linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linux</span></a> <a href="https://tldr.nettime.org/tags/UDisks" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>UDisks</span></a> <a href="https://tldr.nettime.org/tags/DBus" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DBus</span></a> <a href="https://tldr.nettime.org/tags/zbus" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>zbus</span></a></p>
Vala<p>You asked for system services written in <a href="https://mastodon.social/tags/Vala" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Vala</span></a>, and even on phones?<br>We present <a href="https://mastodon.social/tags/q6meowd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>q6meowd</span></a>, a service for correctly switching between speaker and earpiece audio output on incoming calls by <span class="h-card" translate="no"><a href="https://mastodon.social/@NekoCWD" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>NekoCWD</span></a></span> :<br>meowd: <a href="https://gitlab.postmarketos.org/NekoCWD/q6meowd/-/blob/master/src/main.vala" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gitlab.postmarketos.org/NekoCW</span><span class="invisible">D/q6meowd/-/blob/master/src/main.vala</span></a><br><a href="https://mastodon.social/tags/postmarketos" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>postmarketos</span></a> MR: <a href="https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/5738" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gitlab.postmarketos.org/postma</span><span class="invisible">rketOS/pmaports/-/merge_requests/5738</span></a><br>Previously the logic was written in <a href="https://mastodon.social/tags/C" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>C</span></a>, so isn't this an improvement? :D<br>Also if you are interested in how to write <a href="https://mastodon.social/tags/ALSA" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ALSA</span></a> and <a href="https://mastodon.social/tags/DBUS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DBUS</span></a> code with Vala, I recommend looking into the sources!</p><p><a href="https://mastodon.social/tags/linuxphones" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>linuxphones</span></a> <a href="https://mastodon.social/tags/oneplus" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>oneplus</span></a> <a href="https://mastodon.social/tags/oneplus6" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>oneplus6</span></a></p>