• 0 Posts
  • 20 Comments
Joined 8 months ago
cake
Cake day: March 3rd, 2024

help-circle
  • Another thing that wasn’t mentioned in the video that Proton does is it also – sometimes, depending on the game – checks a list of known requirements for a game and installs them through winetricks, or makes other recommended changes to game files that are known to make the game work.

    When Proton is updated and the patch notes mention that a game was fixed, it’s something to do with this part of the process. A certain library, or whatever was missing and Proton installs it for you behind the scenes.

    It also runs WINE through Steam’s launcher (aka Steam Linux Runtime) which has some common redistributables (aka Steamworks SDK Redist) built right into it, and it also runs appropriate anti-cheat solutions (aka Proton EasyAntiCheat Runtime or Proton BattlEye Runtime).





  • It’s quite good and also I like that they largely support Linux. They have phone apps, browser extensions, desktop apps, and even CLIs. They also have downloadable configurations for OpenVPN and WireGuard if you want to go that route. They’ve also got what I assume are fairly basic features of most VPNs like kill switching, private DNS servers, etc.



  • You should go for a distro that matches what you want out of your system. You want stable? Find some strong LTS distro like Ubuntu. You want ULTRA STABLE? Go for an immutable distro. Do you want to use your system for gaming? Go for a distro with wide gaming support, built-in drivers with options for proprietary drivers.

    It’s less about what base distro you’re using and more about what you like about that particular flavor of distro.

    For example, I use my PC for gaming mostly, but also coding. I switched from Pop! (Ubuntu based) to Garuda (Arch based) and I love it because it’s really good for gaming, comes with Mangohud, Gamemode, Steam, Heroic, controller drivers, graphics drivers, etc, all optionally pre-installed. I also really like KDE apps because they’re performant and slick so I got the Plasma version.

    Anyway, yeah, focus less on “this distro is Arch based” and more on what each distro can provide you as far as your personal tastes.



  • My favorite tips are:

    You can filter the output of a command. Most commands return parameters like (output, error) so you can filter them by number like 1>/dev/null will filter the output and only show the errors, and 2>/dev/null will filter the errors and only show the output. Also if you want a command to run silently but it doesn’t have it’s own built-in quiet mode you can add &>/dev/null which will filter everything.

    Bash (and other shell’s I assume) can be fully customized. In addition to the .bashrc file in your home directory, there are also a few common files that bash will look for like .bash_aliases, .bash_commands, .bash_profile or you can create your own and just add to the end of the .bashrc file ./YOUR_CUSTOM_BASH_FILE_NAME

    Inside that file you can add any custom commands you want to run for every bash shell like aliases and what not.

    I personally often use a simple update command like so alias up='sudo apt update -y && sudo apt upgrade -y && sudo apt autoremove -y' which just makes running updates, upgrades, and clean-up so much easier. Just type up and enter your password. I have previously added in things like &>/dev/null to quiet the commands and echo Fetching updates... to make some commands quieter but still give some simple feedback.

    There’s also the basics of moving around a terminal command as others have pointed out. The easiest and the one I use the most is if you hold CTRL+LEFT_ARROW the cursor will move entire words instead of one character at a time. Very helpful if you need to change something in the middle of a command.


  • ShaunaTheDead@fedia.iotoLinux@lemmy.mlLinux Myths
    link
    fedilink
    arrow-up
    10
    ·
    4 months ago

    Current Linux market share worldwide for desktops is at ~4%. There’s also ~2% ChromeOS which is Linux based so I don’t know why it’s listed separately. As well as ~6% other which is probably Linux with privacy settings turned on.

    If we go back 5 years in Linux desktop usage, the high end is including the “Other” category.

    2019: ~2% to ~9% 2020: ~2.5% to ~5% 2021: ~3.5% to ~11.5% 2022: ~4.5% to ~10.5% 2023: ~6.5% to ~10% 2024: ~6% to ~12%

    There is definitely a growing trend, the user base has grown somewhere between 33% and 300% depending on whether you include the “Other” category, which I personally think is a pretty safe assumption since for most PC users if it’s not Windows or Os X, it’s Linux.

    Here’s where I got the data from: https://gs.statcounter.com/os-market-share/desktop/worldwide







  • LTS just means Long Term Support in case you weren’t aware. It means no new development is happening, but security exploits will be patched as soon as they arise.

    If you just want stability, LTS is the way to go. If you want all the cutting edge bells and whistles and are okay with potentially some instability (but probably not much) then use the latest version.

    If your device isn’t connected to the internet during general use then I wouldn’t worry too much about updating anything. Security fixes aren’t important if there’s no way to connect to your device.


  • Looks like an article paid for by Epic.

    Here’s a repost of what I said the last time the Steam vs Epic Games Store “debate” was brought up:

    My biggest concern with Epic is their insistence on kernel level anti-cheat which is just ridiculous overkill and probably being used as spyware let’s be honest. They have many ties to China’s Tencent which has a 40% stake in the company and is known to basically just be an extension of the Chinese government.

    There’s also the very odd fact that just having the Epic Games Store open in the background will deplete your laptops battery life by up to 20%. Is it just horribly optimized and uses all that battery even when idling, or is it doing something nefarious in the background? We don’t know.

    As for exclusives, they have bought exclusives that were mostly crowd funded from the start which is quite the kick in the teeth to the early investors that helped get the project off the ground. And there were even some exclusives that were already listed for pre-order through Steam, forcing everyone to need to get a refund.

    Plus, any good will that they’ve purchased so far is just in service of making a good name for themselves. They’ve been losing around $400 million per year since 2019 just to bring in new users. They’re going to suddenly turn around and start being cut-throat as soon as they think they can.

    They are not consumer friendly, they want to dictate trends in gaming. Valve is already the king of that throne and they’re fairly benevolent and have pushed trends that are good for gaming and consumers overall. I have serious doubt that Epic would be anywhere near as good for gaming as Valve has been if they should actually become profitable, and an industry leader. Especially when it’s projected that they won’t be profitable until 2027, which means they’ll need to recoup their investment of nearly $3.2 billion since 2019.


  • I don’t really get the appeal of strongly typed languages. Can’t you just use try/catch blocks, and/or use functional programming and return early if the data structure of whatever you’re working with isn’t what you expected?

    I guess it can help older code easier to maintain because the expected data structure is right there, but you could also just include it in a comment above the function.

    I personally find TS slows down initial production of a project and raises so many unnecessary errors.

    Is there some huge benefit that I’m missing? Because I don’t really get the appeal. I mean, I do on some level, but I don’t really understand why so many people are absolutely obsessed with TS.



  • I’m not super familiar with VLC but I asked a chatbot, does this help at all?

    1. Open your video with VLC.
    2. Navigate to the scene that you want to capture. You can use VLC’s frame-by-frame feature to access a specific frame in your video.
    3. Capture the screenshot by pressing Shift+S (Windows and Linux) or Command+Alt+S (Mac).
    4. Alternatively, from VLC’s menu bar, select Video > Take Snapshot.
    
    If you’d like to use advanced controls to capture the screenshot, then from VLC’s menu bar, select View > Advanced Controls to enable those controls. Then, in VLC’s bottom-left corner, click the camera icon to take a snapshot1.
    
    Your screenshot is now captured and saved in a folder on your computer. The default location for the screenshots is as follows:
    
    1. Windows: C:\\Users\\username\\Pictures
    2. Mac: Desktop/
    3. Linux: ~/Pictures
    
    If you’d like to change where VLC stores your screenshots, or you’d like to change the file format, then select Tools > Preferences from VLC’s menu bar. On the “Simple Preferences” window that opens, select the “Video” tab. To change the default screenshot directory, then in the “Video Snapshots” section, click “Browse” next to “Directory.” Then, choose the new folder that you want to set as the default for your screenshots. If you’d like to use a different image format (the default is PNG) for your snapshots, then click the “Format” drop-down menu and choose a new format. Your options include PNG, JPG, and TIFF. After you’ve made the changes, at the bottom of the “Simple Preferences” window, click “Save” to save your changes.