cyberwolfie

joined 1 year ago
[–] [email protected] 2 points 5 days ago

I use CalyxOS on my FP4. I have been happy. Almost 2 years now.

[–] [email protected] 3 points 6 days ago (3 children)

Nice, need to check out mscp! Thanks for the tip!

If I had a stationary computer running, I would probably keep it running in a terminal window. I could connect a monitor to the server, but I don't think it will be necessary. I will need to verify the backup before I restore it anyway, and it is not time urgent, so that if something goes wrong I can restart.

 

I want to mirgrate my Nextcloud instance from a VPS to server in my home. I run the Nextcloud AIO Docker container, which uses Borg backup. The backup repo is about ~70 GB.

How would I best go about transferring it? Is using scp a good solution here (in combination with nohup so that I don't have to keep my ssh session active)? Or is there some other best practice way of doing this?

[–] [email protected] 0 points 6 days ago (1 children)

I use a mixture of Organic Maps and OsmAnd+. Organic Maps is more simple, while OsmAnd+ allows you to set up a lot of customization in different profiles to tailor the experience to different use cases (e.g. one for hiking, one for "I'M HUNGRY SHOW ME FOOD", one for biking etc.).

[–] [email protected] 1 points 1 week ago* (last edited 1 week ago)

But how do you access the files from another app? Where are they stored? I have nothing in the com.nextcloud.client folder for example. Proton Drive mounts in the left-hand menu of Files. Would be nice if that was achievable with Nextcloud also.

EDIT: Turns out it does if there is no app passcode enabled. Not sure I am comfortable having that turned off though.

[–] [email protected] 2 points 1 week ago (4 children)

Not an answer to your question, but a (perhas naive) question itself: are keyloggers impossible on Wayland?

[–] [email protected] 7 points 2 weeks ago (1 children)

Thanks for taking the time writing this up, it is very helpful for my understanding (and I imagine many others' as well)! For the things I don't completely understand for now, this also gives me a lot of additional pointers for what to learn more about to get a better grasp. So it goes straight into my notes for future reference.

Sounds like I should dare to activate my dGPU and reboot to check it out now then :) My biggest worry was that it would be so severely broken that I wouldn't be able to switch back, but I know that is just an irrational fear - no way Tuxedo would've switched to Wayland by default if it broke their own laptops. But I've been a little twitchy about larger updates since I deleted KDE accidentally from not properly reading/understanding the prompts during update.

[–] [email protected] 11 points 2 weeks ago (1 children)

I have a mini-PC from Minisforum (not this one) dedicated as a media computer in my living room. It can fit nicely inside the TV bench, which a regular sized computer wouldn't do. I like that I can play games like Horizon: Zero Dawn on it without any issue. I love it, and I gave about 800 USD for it.

I am planning getting a high-end rig for my office later (next year maybe?), and then I of course will not consider a mini-PC.

[–] [email protected] 4 points 2 weeks ago (1 children)

Ah, OK. I wasn't aware of those APIs, only things like OpenGL and Vulkan, but those are perhaps specific to 3D graphics rendering?

And windows managers in the context of Wayland are the same as Wayland compositors? Which compositor would I be using through KDE Plasma 6?

[–] [email protected] 14 points 2 weeks ago (3 children)

Do you mean that Wayland has had its own security issues, or that enhanced security has caused additional issues for apps to run correctly?

[–] [email protected] 5 points 2 weeks ago (1 children)

Wayland should be faster. What would you expect to happen? It should just work, while in the background EVERYTHING is changing.

I had assumed that I would get a somehow smoother experience (such as speed, for instance) or some other perceivable benefit, but I think Ramin Honary nicely highlighted the necessity of the change on the backend side. So your point is good, maybe I should just expect a smooth transition where I don't notice anything.

For Freetube, it should automatically detect running on Wayland and use that. But I had one bug on Freetube only on Wayland, may be an Electron issue.

If I run the executable after downloading from the GitHub repo directly, it launches in XWayland. The additional parameters I mentioned in the post used to work to launch it in Wayland, but not anymore.

[–] [email protected] 12 points 2 weeks ago (4 children)

Thanks for such a detailed account - it really makes sense to move on from X11 based on what you write.

When I first heard about what X11 and Wayland was and how long the transition has been in the making, I found it a bit hard to believe that it should take so long. I am still not fully sure why it would take so long time to mature... is it a chicken-and-egg kind of situation where it cannot mature properly before it is more widely used, but it has not been more widely used because it was not mature enough? Or is it such a difficult task to get this right and that the development time reflects that?

And why would for instance NVIDIA GPUs continue to have issues with Wayland (and what kind of issues would actually be caused by this?)? Is that a matter of closed source drivers and lack of support from NVIDIA's side to implement required changes? Or are such issues on a more fundamental level (i.e. architectural differences that somehow factors into this - I have no idea what I'm talking about now, I'll stop writing...)?

 

I switched to Linux about 1.5 years ago now when replacing my old Macbook Pro with a Tuxedo Infinity Book. I am super happy with the transition, and for the most part my digital life has severely improved as a result of it. There's one thing in particular though that I haven't fully grasped or understood despite all the talk about it, and that really has mostly caused confusion on my part, and that is Xorg/X11 (I don't know the difference...) vs. Wayland.

I started out with Tuxedo OS 1 and 2 running KDE Plasma 5.x.x, and thus have been on X11 for the most part since switching to Linux. I never dared switching to Wayland myself. However, they somewhat recently started offering optional upgrades to Tuxedo OS 3 running KDE Plasma 6 where Wayland is the default, and I took the plunge. The only real difference I noticed was small annoyances that I had to fix. Glitching windows running on XWayland and having to configure some .desktop-files to force apps to launch natively in Wayland. Apps not showing the correct desktop icons but the generic Wayland logo instead, making Alt+Tabbing a bit more difficult because it is harder to tell applications apart. Annoying smooth scrolling (I don't want scrolling to have as much friction as polished ice) activated in all kinds of applications that I seem to have to turn off individually. Nothing breaking (though I haven't dared booting with my Nvidia dGPU yet in fear of breaking something irreversibly...), but I haven't noticed any improvements either, and I find it a bit frustrating not knowing where to make the necessary changes and always having to search for it seemingly on a case by case basis.

Now for instance I was updating FreeTube to a new version, and the flags I previously added to the ́.desktop'-file suddenly doesn't work anymore (--enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform-hint=auto). The application won't launch unless I remove them, but then it launches under XWayland instead. Not that I have any issues so far running it like that, but I guess I would prefer to run everything natively in Wayland if I can.

[–] [email protected] 1 points 1 month ago

Ah, thanks for the info - I wasn't aware of that.

 

I am currently in the process of finally getting rid of my Meta-account. In the process I have requested data extraction. The media stuff was made available pretty quickly, but the data logs are still being processed. Does anyone know what data they actually contain, and whether there's any point in waiting for it?

The reason I ask is that I also recently got a notification saying that will soon train their AI-model on my data which they will use the "legitimate interest" bullshit to do. I want to have my account deleted by the time this will be phased in (towards the end of June).

So now I am in the dilemma of waiting for the data logs to complete (which I don't know how long will take) or just delete my account in hopes that it will be purged before the AI-stuff goes into effect. I am unable to find out exactly what these data logs consists of and whether there is any point in keeping onto them for whatever reason.

Now, whether I can trust that they actually delete the data is another matter, but at least I would've done what I can, and they would break the law if the retain the data after my deletion request (under GDPR).

 

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.

 

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?
 

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
22
submitted 4 months ago* (last edited 4 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.

 

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?

1
submitted 6 months ago* (last edited 6 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 🫠

 

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?

 

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?

 

I am still very much a novice in the self-hosting space, Linux etc. having fairly recently switched from using macOS as my daily driver and not tinkering much at all.

One of the things that often confuses me is networking and making sure my setup is secure. This is currently holding me back from hosting more stuff locally that I would require access to from outside my home, as I am afraid I am doing something that could severely compromise my data. It can sometimes be difficult to follow explanations from more advanced users due to the many different components of networking and security, and different layers of abstraction, which prevents me from following completely. I might understand one particular case, but then be unable to make connections to another one. So I would want to research this more intensively, and ideally I would end up being able to easily understand the data flows - the paths the data takes (e.g. I make a HTTPS request to some server from my laptop, how is that traffic routed correctly through my local area network and later the wide area network), in what forms (i.e. different protocols, encryption layers etc.).

In communities like this, I see there are a lot of very knowledgeable people who maybe could recommended any resources that cover this from the basics and onto more advanced stuff? Maybe a textbook from a university course on ICT that is considered particularly good? A YouTube channel with great explanations and visualizations? I am looking both at home LAN and internet in general. Enterprise level networks are not very interesting to me (at the moment).

view more: next ›