cyberwolfie

@cyberwolfie@lemmy.ml

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Make Inkscape installed through Flatpak callable in the terminal as 'inkscape'?

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....

cyberwolfie,

It is not my package, but I could of course go ahead and change the source code directly to handle this. But I’d prefer a solution that would persist through updates.

cyberwolfie,

Yeah, I tried this, and it works from my session, but I still got the same error from trying to run the program. I figured it was because it is called outside the bash session so the run commands have not been run, but is that perhaps not true?

cyberwolfie,

How does this deal with any flags passed?

cyberwolfie,

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 😅

cyberwolfie,

Rechecked this now, and it’s at about 5% now. The statistics seem a bit weird to me, unless there are some big seasonal changes. Your 12% was recorded in June and July. Maybe with less business activity during these months, the Windows share plummets in favor of home users who are more prone to use Linux.

cyberwolfie,

I love Linux since switching nearly a year ago. Yet, I still once in a while find myself in situations where I screw up and I think to myself “Oh, I’m glad this is not my work computer”. If you have no experience with Linux from before, maybe you should consider getting a personal laptop, install Linux on that, and get comfortable using it before transitioning your business to it. That way, the first time you accidentally uninstall your desktop environment (I managed to do this not once, but twice…), it is not 10 minutes before an important client meeting.

cyberwolfie,

Learn Linux TV is number one for me - his Linux Crash Course has been an immense help in getting started using Linux for me.

cyberwolfie,

Cool, I’ll check it out. I am not experiencing any issues with Fluent Reader with my use case though.

cyberwolfie,

I have been using this combined with Fluent Reader Lite for Android and a self-hosted FreshRSS-server to sync my feeds. Just recently found a workflow that works well for me: I will browse my feeds on my phone once in a while (very productive bathroom breaks…), showing only unread stories. I star any story I want to read later, mark the rest as read. With Fluent Reader on Linux set to only show starred, and I can then pick and choose whatever story I want to read from there on a bigger screen. Whenever I go some days without checking, I will just mark all spammy news outlets as read without checking the 400 unread stories.

cyberwolfie,

Wayland by default

Having an Nvidia-card, should I be worried about this? So far I’ve read so many “Nvidia bad, Wayland no work” posts that I have just stayed clear waiting for a final confirmation that everything is smooth sailing.

New Fedora Slimbook 14" joins the Fedora Slimbook 16" - Fedora Magazine (fedoramagazine.org)

We heard your feedback during the launch of the Fedora Slimbook 16 and, along with the folks from Slimbook, bring you the new Fedora Slimbook 14, a smaller, lighter, cheaper with even better battery life, version of the Fedora Slimbook, powered by an Intel CPU and GPU (unfortunetely no AMD version soon).

cyberwolfie,

I have an InfinityBook Pro 14 Gen 7, with the RTX 3050 Ti laptop, 2x2TB SSD, Intel i7-12700H and I believe also a 53 Wh battery (did not go for the battery edition with increased capacity, but instead the storage edition).

Even when using the integrated Intel GPU, the battery life is quite bad. With any kind of browser activity, I get about 2-2.5 hours. If I only do reading in Zotero with dark mode, I get up to 5 hours. For my use case, it is fine, but I could not have used this if I was dependent on working with no access to a power outlet.

Otherwise I am quite happy with Tuxedo though, and their support is usually very good. I hope they will succeed long term if they can also continue to improve on their products.

cyberwolfie,

Ok, thanks - so if I understand correctly then, it is listening on port 22 as a default, and not accepting traffic on any port.

That brings of the question: wouldn’t I be better off changing the SSH-port? And is that so easy as to uncomment the #Port 22 line in the config file and changing the port number to something random, and saving that somewhere? Would I then be able to connect by running ssh myuser@mydomain.com:, or would I need to do anything else to successfully connect?

cyberwolfie,

Yes, this is something I did when setting up the server some time ago, and as a step in the process I rebooted the system after changing the config.

cyberwolfie,

Yes that’s the right way to block root login. An added filter you can use the ‘match’ config expression to filter logins even further.

Not sure what you meant about the ‘match’ config expressions here. Could you elaborate a bit further?

If you’re on the open network, your connection will be heavily hit with login attempts. That is normal. But using another service like Fail2Ban will stop repeated hits to your host.

Hehe, yeah, I’ve noticed… The reason I get a little anxious whether I did this correctly, is that 95% of the login attempts are to root, so I want to make sure it is disabled. I have set up Fail2Ban, but I am using default settings, which may be a bit laxer than they need?

I’ve also been advised and considered moving to ssh keys, but I have not gotten to that yet.

Ssh listens on port 22, as soon as a connection is made the host moves the connection to another port to free up 22 for other new connections.

Makes sense. One question that comes from this is: is it possible to disable that? I would never need two ssh-logins at the same time on my server. And the second question is what I asked above regarding whether I should change the port ssh listens to in order to reduce unwanted malicious login attempts?

cyberwolfie,

Just keep in mind that security through obscurity is not considered secure in itself.

Do you consider it to not be a helpful measure to take at all?

I have fail2ban configured - since it is reading from the auth.log, I guess I would not have to make any changes to the configuration there to have it work with a new port?

cyberwolfie,

Yes.

cyberwolfie,

Alright, cheers - I’ll leave it be as well then :)

cyberwolfie, (edited )

Edit: oh, you’re talking about the high port OP is wondering about. That’s just the source port, which is chosen randomly by the client OS when making a connection. Using port 22 (or any other port below 1025) as a source port would require root privileges on the client and would also conflict with the SSH server that could be running there. Still, it has nothing to do with SSH “moving connections over”

Ah, I see, so the port numbers shown in auth.log are all client side ports. I guess I thought that the listening port would be in the log and assumed that the port listed there would be it, but when I read the lines again, it clearly says “from ip.ad.dr.ess port 12345”

cyberwolfie,

Thanks - I’ll look more into that to see if I can make any rules that would make sense for my use case.

cyberwolfie,

Don’t you love when you give in and go to get help for something and you can no longer reproduce it after you ask?

It’s almost like it’s a law of nature…

cyberwolfie,

Tested with four different machines, one running Linux, two using Windows 10 and one with macOS. Seems to be a codec issue where Linux and Windows defaulted to SBC and macOS to AAC (where it did not occur). Changing to LDAC on Linux helped, although I am certain I had issues with this before with that codec. On Win10 I have no wiggle room as it is my work machine, and I seem to need third party software installed to change.

cyberwolfie,

It happens in my home office, my living room and my actual office. So where I spend 95% of my time with them. So if that were the case, I’d be very disappointed.

As for comfort - I find they are too tight and my head will start hurt (on top) after some time. Loosening them alleviates this somewhat, but they will drag more down on my ears which I find uncomfortable.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #