I take my shitposts very seriously.

  • 5 Posts
  • 58 Comments
Joined 2 years ago
cake
Cake day: June 24th, 2023

help-circle
  • If the game comes in an archive (like portable Windows applications), you can simply copy the files to a directory and point Lutris at the executable.

    Compatibility has been pretty solid for me. There are only a few games that didn’t work out of the box (excepting those that are intentionally broken through anti-cheat). You can often get away with running games on Wine, but for most games you’ll want Proton. Lutris will detect and use Proton versions that are installed by Steam, copied manually into compatibilitytools.d, or it can download Wine and Proton releases on its own. There’s also GloriousEggroll’s fork with many game-specific fixes.

    ProtonDB and Lutris.net are the most useful resources, you can check if the anti-cheat solution might be an issue on Are We Anti-Cheat Yet?, Steam forum is a thing that exists, and you can ask in this community.


  • I’m going to assume you’re using official, paid-for GOG offline installers. Other installers will work the same way.

    I have a directory for non-Steam games mounted at /games. Every game has its own directory, and a game and prefix directory for the game content and the wineprefix respectively. For example, for Cyberpunk 2077 you would run mkdir -p /games/cyberpunk-2077/{game,prefix} to create the directory tree all at once.

    To install the game, I simply use wine to execute the installer with the prefix directory set as the wineprefix: WINEPREFIX=/games/cyberpunk-2077/prefix wine SETUP_FILE_NAME.exe. The root filesystem will be mounted as the Z: drive – use Z:\games\cyberpunk-2077\game as the install path.

    I use Lutris to launch the game. Add a new game, choose “Locally installed game”, then set the executable path to the game’s main executable, the working directory to the game directory (usually works, some games expect a different working directory), and the prefix to the prefix directory.



  • Systemd, through the systemctl command, only manages the services. The service itself is defined in a unit file, and it can come from any source, even written manually. The unit file is a text file that describes what the service is, what commands or programs should be executed when it starts or stops (for sshd it’s /usr/bin/sshd -D), what other services or conditions are required (e.g. multi-user.target after the OS has entered multi-user mode), and much more.

    When a package installs a unit file, it will be installed to a subdirectory in /usr/lib/systemd, typically user or system, and when it is enabled, it will be symlinked to a subdirectory in /etc/systemd.

    OpenSSH itself, which provides sshd on most systems, is developed by the OpenBSD team and ported to other OSes by the OpenSSH Portability Team.



  • rtxn@lemmy.worldMtolinuxmemes@lemmy.worldSchedule ALL the things for the night
    link
    fedilink
    arrow-up
    23
    arrow-down
    1
    ·
    edit-2
    19 hours ago

    Systemd is a collection of low-level system utilities. Its primary responsibility is managing services and serving as the init process (PID 1, the first userspace process started by the kernel), but it also has other components, like systemd-boot (a boot loader and GRUB alternative), journald (system logging), networkd (network interface management), resolved (DNS resolver), or udevd (manages device files in /dev).

    People tend to vilify systemd because it is maintained by Red Hat, a company with many controversies, and a pariah among the more extreme FOSS enthusiasts; and because it’s seen as bad practice to have a single entity be responsible for so many low-level system components.

    Note: the -d suffix is not exclusive to systemd things. It simply marks the program as a daemon, a long-running background process that provides some kind of service. For example, sshd (SSH server) or httpd (Apache server on some distros) are not parts of systemd.

    To answer your question: not really. As far as I know, the network interface won’t have an IP address unless the computer is turned on. If you use a timer (or any other method for that matter) to power on the computer, it will request an address from DHCP as soon as the interface is brought up (unless it has a static address).

    A more practical application would be scheduling long, unattended tasks, like updates or making backups.



  • When your eyes are open and unobscured, light is coming in from every direction. The lens is shaped in such a way that light rays parallel to the eye’s axis are focused on the macula, the center of your sharp vision. A near-sighted (myopic) eye focuses those parallel rays in front of the retina, and a far-sighted (hypermetropic) eye focuses them behind. The farther away the ray is from the eye’s axis, the more it is refracted by the lens, and the more obvious its out-of-focus-ness becomes if the lens has an incorrect shape.

    Corrective eyewear works by refracting the light before it enters the eye and essentially cancelling out the lens’ imperfections.

    A pinhole works by obscuring light rays that are farther from the axis and contribute to the blurry image, only letting through light rays that are near the axis, already aligned more or less with the macula, don’t have to be refracted as sharply, and don’t contribute as much to the blurry image. This is why the camera obscura works, and why apertures in modern photography are used to control both the image’s exposure and the strength of the depth of field.




  • rtxn@lemmy.worldto196@lemmy.blahaj.zoneRule
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    6
    ·
    edit-2
    2 days ago

    Condemning and alienating people who are on the wrong side of an arbitrary ideological line, or are labelled as something undesirable, and offering no reconciliation is only good for two things: further pushing them into their existing convictions, and presenting yourself and like-minded people as the enemy. Being a human is far too complex to evaluate a person’s worth based on such simplistic views.

    I don’t think Rossmann gives a rat’s ass about what you think of him nor that harsh words would sway him, but if you are ready to condemn and oppose him for identifying as a conservative, you are also saying, in effect, that the consumer rights activism he and his employer have done is not enough for you.

    JerryRigEverything builds offroad wheelchairs. He also owns a Cybertruck as part of his business. Admiral James Watkins was a devout catholic and conservative officer in the US Navy. He also advocated for military personnel with AIDS under his command and strongly opposed politicians that labelled the disease as an act of God. Reducing a person’s worth to just one harmful thing necessitates ignoring the good they’ve done.