22
submitted 3 weeks ago by [email protected] to c/[email protected]

I have a specific issue I want to solve right now, but the topic is phrased more generally as I would love the answer to this as well. But this might be an XY-problem because of this, so here's the actual problem I want to solve:

I am using LibreWolf as my main browser, and it has WebGL disabled by default to avoid fingerprinting. I would like to keep it this way, but I am currently also making some internal tools for myself that requires WebGL (map renders with Plotly in Dash).

Is there a way to tell LibreWolf to enable WebGL only for specific sites, so that I don't have to manually toggle this when I want to look at my maps? My initial thought was that this could be solved with a site-specific about:config.

[-] [email protected] 34 points 1 month ago

What you describe happened in Munich, at least. This is in another state.

38
submitted 1 month ago by [email protected] to c/[email protected]

I have previously written a lot of code that is hosted on a public repo on GitHub, but it never had a license. It was written as part of my work while working for a non-commercial academic entity, and I would like to add a license before the link to the repo will be included in something that will be made public, potentially attracting one or two visitors.

This leaves me with a couple of questions:

  1. Can I just add a license after the fact and it will be valid for all prior work?
  2. Do I have to make sure the license is included in all branches of the repo, or does this not matter? There are for instance a couple of branches that are used to freeze the state of code at a certain time for reproducibility's sake (I know this could be solved in a better way, but that's how it is).
  3. I have myself reused some of the code in my current work for a commercial entity (internal analysis work, only distributed within the organization). Should this influence the type of license I choose? I am considering a GPL-license, but should I go with (what I believe to be) a more permissive license like MIT because of this?
[-] [email protected] 69 points 1 month ago

And I just discovered this some weeks ago. The "woah there, pardner!" is so cringeworthy.

18
submitted 2 months ago by [email protected] to c/[email protected]

I've been having some issues with my network card on my new Minisforum UM690S. The issue is related to both WiFi and Bluetooth, but seeing as I have now a cabled connection for internet (and it will stay that way), I am really just in need of solving this for the Bluetooth-issue. I've been trying to figure out how to solve this using iwconfig and hciconfig, but so far I am coming up empty with a concrete solution.

The problem: The Bluetooth signal strength seems to be very poor. The computer is in a cupboard under my TV, with a wooden panel blocking the line of sight (this will need to stay closed). I use a Bluetooth keyboard with mousepad, and otherwise I connect game controllers when I want to play games. If I am close enough to the machine, especially the controllers work just fine while the keyboard is a bit wonky, but when I am in my couch (about 3 m / 10 ft away), the keyboard stops working and the game controllers are behaving mad. There will be many lines in dmesg reporting from the controller that says something like "compensating for 27 dropped IMU reports". This is a big problem for me, because the computer's main function is as an entertainment station where I will spend 99% of my time using the computer in the couch.

The keyboard has been used with no problems with a previous computer at the same distance, never had any issues with it then. I also had a similar issue with my WiFi - when the computer was temporarily placed in a room further from my WiFi hotspot, the dl/ul speeds were extremely slow. Moving the computer much closer to the hotspot fixed this issue.

I suspect the root of the issue is the low transmitting power, which for WiFi is reported to be 3 dBm (output from iwconfig). My laptop outputs 22 dBm, and the previous computer would output the same (if not 20 dBm). I don't understand the output that hciconfig inqtpl yields, but the number following "TX bytes" is significantly lower than on my laptop. I think I need to change this, but I am not entirely sure how and to what, and if it is even a good idea to mess around with this.

Some relevant (?) output: Let me know if there are other output that can be helpful in diagnosing / fixing the problem.

$ inxi -Fxpmrz
...
Network:  
    Device-2: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter.
        driver: mt7921e v: kernel bus-ID: 03:00.0
...
Bluetooth:
    Device-1: MediaTek Wireless_Device type: USB driver: btusb v: 0.8
        bus-ID: 5-3:2
    Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter>
        bt-v: 3.0 lmp-v: 5.2
$ hciconfig inqtpl
hci0:        Type: Primary    Bus: USB
             BD Address: XX:XX:XX:XX:XX:XX    ACL MTU: 1021:6    SCO MTU:  240:8
             UP RUNNING PSCAN
             RX bytes:12353226  acl:217808  sco:0  events:496   errors:0
             TX bytes:10815  acl:145   sco:0    commands:193  errors.0
$ iwconfig
wlan0            IEEE 802.11   ESSID:"MyNetwork"
                 Mode:Managed    Frequency: 5.5 GHz   Access Point: XX:XX:XX:XX:XX:XX
                 Bit Rate=780 Mb/s   Tx-Power=3 dBm
                 Retry short limit:7    RTS thr:off      Fragment thr:off 
                 Power Management:off
                 Link Quality=70/70    Signal level=-32 dBm
                 Rx invalid nwid:0   Rx invalid crypt:0    Rx invalid frag:0
                 Tx excessive retries:0     Invalid misc:0       Missed beacon:0
[-] [email protected] 19 points 2 months ago

Konsole. Never had the need to explore alternatives.

22
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]

I am trying to set up KDE Connect between a machine running Linux Mint and my Android-device. It does not show up, and it turns out I don't receive any response if I ping it, and I have the same issue trying to ping the machine from my Android device (from Termux). I've tried two different Android devices, but no luck.

This is not an issue with two other machines I have. Both have KDE Connect setup and I can ping the phone just fine, and I can also ping from the phone. They're all connected to the same VLAN. I can also ping from this machine to the other machines. ufw is disabled.

What could be the issue here?

EDIT: Connection established suddenly after installing and running iptraf.

[-] [email protected] 13 points 2 months ago

My laptop came preinstalled with Linux :)

34
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]

I'm trying to connect my Wiimote via Bluetooth to a new Minisforum UM690S running Linux Mint 21.3. I'm using this post from the ArchWiki as a reference, and I am fully able to do this successfully on my laptop (running Tuxedo OS 2) and another mini-PC running Pop_OS!

I use the Bluetooth Devices-menu in Linux Mint to do this. The Wiimote is discoverable, and I get a message saying it is connected. However, the four, blue LEDs keep flashing (although they keep doing so which indicates that there is some kind of connection), and it does not show up in the device list in e.g. Dolphin Emulator. I've installed xwiimote, but it is not listed when running xwiishow list. On my other machines, it instantly shows up here. I have tried this both with or without running sudo modprobe hid-wiimote prior to connection attempt.

On my other machines, it is paired immediately after trying to connect. Then only the first light is turned on, and is permanent. If I try to right-click and click "Pair", I sometimes get a prompt to authorize the device with a PIN. This results in a line in the dmesg-output that reads Bluetooth: hci0: ACL packet for unknown connection handle 3837. The ArchWiki-article says that this would indicate that the wiimote-plugin is not included in BlueZ, but I have confirmed that it is by running grep wiimote /usr/lib/bluetooth/bluetoothd which yields the output grep: /usr/lib/bluetooth/bluetoothd: binary file matches.

I am not sure where to continue troubleshooting now. Any ideas?

4
submitted 4 months ago* (last edited 4 months ago) by [email protected] to c/[email protected]

I just ordered a barebones Minisforum UM690S and am currently trying to find some RAM-chips and an SSD to put in it, but apparently these RAM-chips were a bit more complicated than I had imagined.

It runs an AMD Ryzen 9 6900HX, which on its site says it supports DDR5-RAM up to 4800 MHz. On the Minisforum spec page, it also says that it uses the SODIMM form factor.

So my questions:

  1. Am I bound to 4800 MHz? Could I go for 5600 MHz and accept that I won't get to utilize the full power? Minisforum sales rep says I should get 4800 MHz, but I've also read that higher is OK, it is just wasted. In my case, I can get 5600 MHz cheaper.
  2. The sales rep also specifically stated CL40. I can't see that elsewhere, neither on the AMD-site nor Minisforums spec page. From my preferred retailer, I can either get 4800 MHz with CL38, or 5600 MHz with CL40. But not the stated combo of 4800 MHz and CL40. What are my choices here?

The specific chips I am considering are the Kingston FURY Impact-chips:

  • Kingston FURY Impact DDR5 4800MHz 32GB, CL38 (38-38-38)
  • Kingston FURY Impact DDR5 5600MHz 32GB , CL40

I am lost 🫠

[-] [email protected] 13 points 4 months ago

Thanks! I was trying to implement this, and was trying to figure out how to pass all the arguments! This worked for me! I got some other errors, but they don't seem related to this, so now to find out what they are all about 😅

56
submitted 4 months ago by [email protected] to c/[email protected]

I have a Python-package that calls Inkscape as part of a conversion process. I have it installed, but through Flatpak. This means that calling inkscape does not work in the terminal, but rather flatpak run org.inkscape.Inkscape. I need the package to be able to call it as inkscape.

What is the best way to go about this?

[-] [email protected] 13 points 6 months ago

Agreed. I recently did this (first time making a torrent-file) to transfer a set of 45 min videos to a friend, and will probably prefer this way of doing it in the future.

6
submitted 6 months ago by [email protected] to c/[email protected]

I am currently hosting Nextcloud on Linode using the AIO Docker container. I am very happy with how this works, but the running costs is more than I would like to spend on this. I am running a 4 GB Linode (anything less would cause severe lag in the Web UI), with 2x100GB block storage (one for data and one for the Borg backup). In addition, I pay to maintain backup images of the server itself.

So I've been meaning to self-host this on a server at home instead, especially as I am looking to upgrade my media station to something more gaming friendly, freeing up a perfectly good mini-PC to host Nextcloud and other services. I've told myself that I am waiting for the Linux client of Proton Drive to arrive, so that I can utilize my 500 GB storage there to keep a synced copy of the Borg backup repo. I am not sure I am willing to wait for this anymore (who knows when that will be ready?), and thought that maybe something like filen.io could be used in the mean-time, as I could get 200 GB there for €2/month. But I am open to other solutions as well.

So here's the actual question: how would I best make sure I keep the backup repo safe so that I could restore it later if something went wrong? What would the ideal setup look like, including local and remote copies?

[-] [email protected] 26 points 6 months ago

Having recently set sail again after a more than a decade-long hiatus, I am definitely having a much better experience. All streaming services have been booted, and my TV has been disconnected from the internet. Replaced with a mini-PC running Linux and serving Jellyfin (and Freetube for accessing YouTube ad-free). Still have an active Spotify subscription, but I am already using it a lot less than before. Will be phasing it out as my music collection becomes more complete. Purchased my first albums from Bandcamp recently - first direct purchase of music in over a decade. Bad timing with the Bandcamp acquisition though, hoping it doesn't go tits up, and if so - here's hoping to a good alternative to get proper ownership over DRM-free music while giving me an opportunity to pay and support those musicians I like who are not already filthy rich.

14
submitted 6 months ago by [email protected] to c/[email protected]

I'm running Calyx OS (which for my device is on Android 13 at the moment). I would like to have better control over which Bluetooth-connections my phones attempts to connect to when enabled and which it does not. Right now, it seems to try to connect to whatever it was connected to last, even though it is no where near me. I have to wait for the connection to fail before I can start another connection. This eats up about 10-15 seconds every time I want to connect to a Bluetooth-speaker if it wasn't that last device I connected to.

Is there any way of getting better control over this? Best case for me would be to define some devices it should always try to connect to and other devices that should require manual connection.

8
submitted 6 months ago by [email protected] to c/[email protected]

I'm in the process of changing my note taking from Standard Notes to Obsidian, and I am trying to figure out how I can sync notes between my laptop and Android device with the notes encrypted. I thought I had the solution by encrypting with Cryptomator and syncing the encrypted vault with Syncthing. But I realized that Cryptomator on Android does not work by mounting a new drive like it does on Linux, so Obisidian could not access the unencrypted files. So now I am not sure where to go from here.

My requirements:

  • Notes are synced both ways between laptop and phone
  • Notes are encrypted at rest
  • No usage of external cloud services

How do you go about syncing?

33
submitted 6 months ago by [email protected] to c/[email protected]

I have a server where I believe I have disabled root login via ssh. I think it is done correctly, as I cannot login with root myself via ssh, but I would've thought that it would be reflected in /var/log/auth.log. Instead, it shows up as failed password entry. Is this intended?

What I've done is to uncomment the PermitRootLogin no line in /etc/ssh/sshd_config. Rest of the config file is left at default.

Bonus question: All login attempts by ssh seems to go over some random port (even my own successful logins). Why is this?

21
submitted 6 months ago by [email protected] to c/[email protected]

This is not strictly a Linux-issue as I reproduce this issue under Windows 10 as well (but can not reproduce under Android or macOS), but I will be using Linux for any troubleshooting and I wasn't sure where else to post this.

I have a pair of Sony WH1000MX5 that acts like an expensive piece of garbage so far. I will eventually (usually within 2-10 minutes usually) hear crackling noises when using the headset via Bluetooth in high-fidelity mode on my Linux machine (and as mentioned above, this is reproduced on two other machines running Windows 10). The crackling noises are there regardless of whether active noise canceling is active or not. It is not constant, but it is enough to significantly reduce the listening experience, especially for tracks where not too much is going on, such as quiet piano pieces.

On my Linux machine, I can choose between three codecs: SBC, SBC-XQ and LDAC. It tends to be less pronounced using the LDAC codec over SBC (right now I've had a longer period with no issue). SBC-XQ also seems better. However, I have experienced it for all choices of codecs before. Also, under Windows (which I must use for work), this does not seem to be a choice at all. But I wonder if the problem lies here? I don't know much about Bluetooth codecs.

Ideally, as in addition to these issues, they are not very comfortable, I would like to return them and get a refund (should be possible under local laws), but I am having some issues with the retailer claiming they can't find anything wrong with them after two trips to a repair shop. The first time they factory reset it and updated the firmware, the second time they did nothing. I don't think local Sony support will be of much help, and the local laws relate to to the buyer/seller contract, so for the refund or repair they will anyway refer me to the retailer.

So I am trying to get a better understanding of the issue before pursuing this further, and if I fail to get a refund, I would like to fix the issue if possible. So if anyone is familiar with this and could help point me in the right directions to fix these issues, I would be very grateful.

[-] [email protected] 12 points 6 months ago

I'm on a Fairphone 4 with CalyxOS

[-] [email protected] 14 points 7 months ago

That is what the interface bind is supposed to prevent, or at least that is what I thought it was supposed to prevent. To avoid IP leaks in case of a lost VPN connection. I wonder if I've misunderstood it, or misconfigured it or something else.

[-] [email protected] 11 points 7 months ago

Ah, that didn't occur to me... good to know. I will use it mainly to navigate the Jellyfin UI, so hopefully it will be sufficient as it mostly consists of large images.

Good to know the feature is included in the Dolphinbar - I have been thinking about getting it in order to get the Wiimote working with Retroarch. But on the hardware I am running it on now, Wii-games are unplayable in Retroarch, so I have delayed that purchase.

[-] [email protected] 43 points 8 months ago

I've had a Fairphone 4 for just under a year running CalyxOS, and I am very happy with it. Not sure when / if CalyxOS will be available for FP5, but unless they have locked down anything, I don't see why that shouldn't happen. If I understand your post correctly, it is already available with e/OS/?

Maybe the specs are underwhelming, but with the FP4, it does not affect me the slightest based on my use case. Phones are more than good enough already. I do not play any games on my phone. Camera could be better - maybe it is on FP5? Is it the perfect phone? Nope, but at the moment, I think our choices are too limited if you want privacy and repairability. Supporting a company that pushes these kinds of phone is also a reason I went with this phone.

Swapable batteries are nice - I've not made use of it yet, but I am planning on getting one or two spare batteries for travel to keep in a printed case. In the EU, this will be mandatory in the future, but first form 2027. Other than that, I am happy with the ability to buy spare parts if something breaks. I can't see myself ever buying something that is deliberately unrepairable again when there is no reason it should be. I don't mind the lack of 3.5mm-port, which I know irritates a lot of people. If you swear to this, I can understand that this is disappointing. There exists an adapter, but my experience with these kind of adapters is that they quickly wear out. That was my experience with the iPhone and Apple's own adapters at least. I burned through four in 1-2 years.

[-] [email protected] 12 points 9 months ago

For now, Mozilla's official stance is to oppose this proposal: https://github.com/mozilla/standards-positions/issues/852#issuecomment-1648820747

I wish that this kind of thing would generate enough outrage to increase Firefox' market share considerably (from the <3% it is today), and in that way deter websites from adopting it since they would block a larger share of users. Unfortunately, I think that might be too naive of me...

view more: next ›

cyberwolfie

joined 10 months ago