linux

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

grehund, in How do I create a docker container with custom programs inside?

Have you had a look at binhex’s privoxyvpn docker container? Sounds similar to what you’re looking to do.

tubbadu,

I’ll look into it, thanks!

tmjaea, in [Pop_OS] Laptop's fan goes loud on lid open

Did you check if there is high load when the fan spins up?

someacnt_,

Yep, I think the load should be pretty low since only firefox is running with 0~1 tabs opened.

tmjaea,

It should, yes. But is it, actually?

someacnt_,

Is there a way to see this? Sorry, I am lost.

tmjaea,

You could use the system Monitor, it is built-in.

someacnt_,

Ah, it seems to briefly spikes to 100%, then dies down later.

tmjaea, (edited )

So the fans stay loud even when cpu load is low again?

If not this could just be some kinds of “dust prevention”

someacnt_, (edited )

Yeah, it stays loud until I change the battery settings.

InFerNo, in GNOME Network Displays Adds Support For Chromecast & Miracast MICE Protocols

Is this still Wayland only?

KarnaSubarna,
@KarnaSubarna@lemmy.ml avatar

The application will stream the selected monitor if the mutter screencast portal is available. If it is unavailable, a fallback to X11 based frame grabbing will happen. As such, it should work fine in almost all setups.

Source: gitlab.gnome.org/GNOME/gnome-network-displays

Mikina, in My move to wayland: it's finally ready

I’ve just had to switch back to X11 from Wayland on Nobara, because I couldn’t get Sunshine to work no matter what I tried, my windows were occasionally flickering black, and my taskbar kept freezing. So I guess I’ll wait a little bit more.

thejevans,
@thejevans@lemmy.ml avatar

What hardware do you have? I have all AMD, and it works just fine on Nobara on Wayland.

Mikina,

Unfortunately, NVIDIA. I was buying a new PC half a year ago, and only started even considering to make the switch to Linux few months after that, so I am at a pretty unlucky point where I just had recently spent a lot of money for new-gen PC, but without knowing that I should really go for AMD.

I will make the switch to AMD as soon as it’s justifiable, but I’m too lazy to deal with second-hand resale and it’s hard to justify a new GPU when I still have the current gen, but from wrong manufacturer.

Mereo,

I had numerous problems with Wayland when I had an NVIDIA video card. Since I switched to an AMD video card, it has been a blissful experience. Wayland now works perfectly.

thejevans,
@thejevans@lemmy.ml avatar

I totally empathize. I did the same thing at the end of 2020 and just switched to an AMD GPU last month.

possiblylinux127,

You could sell your old one and buy a new one. I think people are still buying up Nvidia GPUs like crazy.

const_void,

Did you file a bug report with the Sunshine devs?

Mikina,

Ooh, you are right, I can actually file bug reports or try to fix it myself now that I switched to FOSS from Windows. Tbh that didn’t really occur to me, since I was switching only like a month ago. I’ll look into it, so far I suspect that it’s actually covered by one of those troubleshooting cases mentioned in their FAQ, and I’m not really confident enough to start recompiling libraries with additional flags. Especially since I’m on Nobara and don’t want to break anything, AFAIK that OS is pretty customised from the start and figuring out what I can safely touch isn’t something I have the guts for yet.

priapus, in Does Nix's break from FHS cause problems?

Most apps work fine, apps that don’t get put in a FHS sandbox.

Chewy7324,

What do you use for a FHS sandbox?

distrobox and steam-run worked for me at times.

priapus,

Those two and nix-alien.

bruce965, in Any C# devs want to share their setup?
@bruce965@lemmy.ml avatar

I work professionally from Windows, and as a hobby from Linux. My tool of choice for coding in .NET is Visual Studio Code (not FOSS, but there is a FOSS version which is just a bit more limited). It’s not as complete as Visual Studio, but it’s much faster, it has all the basic tools including a debugger, and it’s much more customizable.

Also if you have never done it before, you might love dotnet watch which works with any IDE and lets you make realtime changes to your code while the application is already running.

As for UI, my personal choice is deploying a static website on localhost through Kestrel (it’s less than 100 lines of code for a fully configured one), and then let the user’s browser take care of showing the UI. You could use Blazor if you really want to use C# all the way, but my personal recommendation is to stick to web technologies such as TypeScript and React (using either Parcel or Vite to build your project). Making your UI web-friendly also makes your app cloud-ready, in case tomorrow you will decide that’s something you need.

Finally, you can now deploy .NET apps as a single self-contained executable on all major platforms. But as already recommended by other users, I would keep adopting a web-first approach and go for Docker, and eventually Kubernetes. It’s a lot of work to understand it properly though, so perhaps you can start studying this topic another day in the future.

Feel free to ask me anything if you have questions.

jerrythegenius,
@jerrythegenius@lemmy.world avatar
GravitySpoiled, (edited ) in Can I install Ubuntu 18 software on Ubuntu 22.04? (Technically Linux Mint 21.3)

Sounds like distrobox/ toolbx would be the easiest here. There’s an ubuntu 18.04 image here github.com/toolbx-images/images it’s like a vm without all the overhead

beforan,
@beforan@lemm.ee avatar

Since they already mentioned WSL, you can also describe distrobox like WSL for Linux.

but yeah, agree this would be the simplest.

may_nya, in Arch efi partition error

reinstall arch without using archinstall maybe

Hiro8811,

I tried using archinstall but I got errors so I did it manually

may_nya,

expected

Hiro8811,

Expected me using it or getting errors?

may_nya,

both

Hiro8811,

Aha. If I modify them manually, what configs do I need to change?

toothbrush, in Created a Java Application for Easy '.desktop' File Creation
@toothbrush@lemmy.blahaj.zone avatar

Don’t most desktop environments already have this?

If you want to include this as an option when right clicking the desktop, you will probably need to patch this into the DE of your choice, however I think at least KDE has an option for custom right click actions.

ScottE,

Yep, all desktop environments have this - whatever text editor is handy. :⁠-⁠)

MrOzwaldMan, (edited )

I see, I didn’t know KDE had that, does KDE allow java apps to be used as the right click action? As for GNOME, I’m still trying to figure it out.

Until then, I will post the link to the app in the future. It needs some beautification, and quality of life changes so you and the others can use it as you use sudo apt update and upgrade to update your PCs.

toothbrush,
@toothbrush@lemmy.blahaj.zone avatar

Yes, it works with any command.

leopold, (edited )

For KDE right click menus, you need to use service menus: develop.kde.org/docs/apps/dolphin/service-menus/

These are used by Plasma and most KDE apps that deal with files.

Krusader has a more powerful system for this called UserActions, but they’re exclusive to Krusader and afaik Krusader is also compatible with service menus, so these are much less portable: docs.kde.org/trunk5/en/…/useractions.html

yianiris,
@yianiris@kafeneio.social avatar

A window manager is enough with any customizable drop menu, can open a file manager of choice, create a folder or file, no desktop is needed.

worker ~/.Desktop

or whatever filemanager one is using

@toothbrush @MrOzwaldMan

QuazarOmega,

Don’t most desktop environments already have this?

An environment agnostic tool isn’t a bad thing though, it already exists as PinApp, though I’m guessing OP is doing this more as a learning project

MrOzwaldMan,

Damn, i didn’t know this existed. Welp, at least I know how to manipulate the system from code.

QuazarOmega,

Don’t be discouraged, doing something from scratch is always a great learning opportunity and even if this isn’t the first iteration of such a tool there is room improvement, for instance, I don’t think any of the tools that allow creation .desktop shortcuts interface with any context menu as yours would do in the future, so that could be a cool feature to show off!

const_void, in I finally nuked windows

This community has become nothing but these kinds of posts every day. I’m considering unsubscribing because it’s becoming so bad.

vamputer,
@vamputer@infosec.pub avatar

Maybe the mods can restrict it to, like…Windows Wednesday or something.

One day a week, everyone can post about leaving Windows, why Windows sucks, why Windows is gonna fail in 2024, maybe post a picture of their monitor saying “Now Uninstalling Windows,” all the good shit we’ve seen a hundred times by now.

Then, we can all get the hell on with our lives until next week.

haui_lemmy,

Great idea. I hope they make more things like this on lemmy. Megathreads, themed weekdays/days of the month. That was fun on the other place.

IsoSpandy,

I am sorry if my post made you feel bored. But please don’t unsubscribe. What kind of post do you want to see on this platform? I am sure people can reach a common ground my mutual discussion.

Ramin_HAL9001, (edited ) in Linux Mint 21.3: Empowering tech-savvy Moms with the Perfect Desktop Experience

This article seems to be written by ChatGPT. Confirmed human author.

If you are indeed a real human, I am sorry. May I ask why you think Cinnamon is better for tech-savvy moms than something like KDE Plasma or Gnome? Do you think desktop environments more similar to Microsoft Windows are better for moms?

Don’t get me wrong, I love Cinnamon DE, it is my second favorite DE (Xfce is my favorite). But I would think something like KDE Plasma is probably a bit closer to the Microsoft Windows user experience.

possiblylinux127,

Linux mint cinnamon edition is the simplest to setup and the most user friendly. I don’t know if anything that compares to it.

ameliawilliams,

I am a real human but I read my post again and I can see why. I made some changes based on the feedback because it does seem like an ad (but I can assure everyone that it is not).

Gnome needs a bunch of extensions to make it look like Windows. I know KDE does a better job, and that Windows 11 might just be a rip off of KDE. However, most of the best apps are based on GTK and not QT. So for myself, I’ve been using Cinnamon for years.

I let my daughter try all three anyway and she actually liked Cinnamon the most.

I added some of this to my blog article so that future readers can get more background.

Murdoc,

most of the best apps are based on GTK and not QT

As a long time kde user, what am I missing?

ameliawilliams,

A decent native Qt based e-mail client for one. Kontact/kMail is janky and don’t get me started on thunderbloat. Evolution is just perfect and GTK3.

Ramin_HAL9001, (edited )

However, most of the best apps are based on GTK and not QT.

Yes, I couldn’t agree more. Qt is nice, I use it in my professional work. But for me personally, Gtk is the best toolkit, and this is largely because it is programmed in C, not C++. Also, Gtk has the GObject Introspection framework which allows for other programming languages to connect to the Gtk libraries, so you can code Gtk apps in pretty much whatever language you like best.

And sorry for suggesting you were an AI.

ameliawilliams,

Speaking of using other programming languages with Gtk, I’ve seen github.com/diamondburned/gtkcord4 (Discord client written in GTK4 and Golang)

discusseded, in Thinking about making the big switch – recommend me a distro!

I like fedora but I’m really loving opensuse tumbleweed on both my desktop and laptop. I have Nvidia rtx cards and support is just a few mouse clicks post-image. I get better FPS now than I did in Windows 11.

discusseded,

Adding that zorin was great as well but it’s Debian-based so driver support was behind enough that some games wouldn’t launch for me.

dino, in OBS Merges FFmpeg VA-API AV1 Support

Is the performance drawback from streaming in this encoding less noticeable?

AProfessional,

deleted_by_author

  • Loading...
  • Eelt,

    Your GPU has a dedicated ASIC that can do the encoding simultaneously. On NVIDIA (not relevant in this case) that would be your NVENC encoder.

    AMD and Intel have their own ASIC IP blocks that do encode/decode that’s part of the GPU “SoC” but wouldn’t consume GPU compute resources (eg CUs). That’s how you see people already using GPU encode with obs (non-AV1 codecs) while gaming, and really that’s how people like me using Sunshine/Parsec for the host PC for “remote” gaming (mostly for remoting into a Windows machine for the 1 game that cannot be run on Linux nor a VM due to anti-cheat). The only GPU resources you’re using are PCIe bandwidth and perhaps some VRAM usage? But I wouldn’t call it just dumping it from the CPU to the GPU, you have an ASIC that mitigates the brunt of the workload and AV1 with Sunshine has been amazing, can’t imagine now using it for recording my gameplay vids will hopefully be better than H264 (due to lower bitrates and hence smaller file sizes).

    Paragone, in Thinking about making the big switch – recommend me a distro!

    IF you want Steam, THEN please consider every variant in the official Ubuntu family.

    Steam-support told me in their system, iirc in early 2023, that they ONLY support the Ubuntu family ( directly ).

    As Linus Torvalds noted, it isn’t possible to release software that is going to work on all distros.

    Even glibc has been broken by one, in that talk of his, and it wasn’t a niche distro, either, iirc.


    Pick which subset you CAN afford to support, and do not add to that subset until you’re rolling in money, from your linux-customerbase.

    ( slight sarcasm on the last line, but business is business: destroying-resources costs, and if there is no benefit, it isn’t sane to continue doing it. )


    Decide which capabilities/functions/apps you NEED, and then don’t even consider distros that break your required-set on you.

    _ /\ _

    Sanguine,

    This post is making it seem like they will have problems with steam on other distros which simply isn’t true.

    Wasn’t there just a post about the snap version of steam having major issues recently?

    Valve chose an arch based distro for the steam deck. Read into that what you will.

    Chickerino, in What are some must have Linux compatible VSTs?

    do plugins that run on wine count?

    JoMiran, (edited )
    @JoMiran@lemmy.ml avatar

    They do, but I think that I am going to try to keep my Linux system with only native plugins.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #