Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Arch Linux for gaming and game development

License

NotificationsYou must be signed in to change notification settings

GoldenDrakeStudios/golden-drake-linux

Repository files navigation

Golden Drake Linux

Table of contents

About

Golden Drake Linux (GDL) is a custom version ofArch Linux designed for gaming and game development. Strictly speaking, GDL is not an independentdistro: it's simply a convenient method for installing Arch with certain packages, configurations, and theming and thus only utilizes the standard Arch repositories along with theArch User Repository (AUR). GDL is a highly-modified fork of theAnarchy installer with additional inspiration fromarchdi-pkg,ArchLabs,Manjaro, and other sources. The installer ISO is built usingArchiso and the installation process usesdialog for a visually appealing TUI (text-based UI, a.k.a., terminal UI).


GDL installation demo, also available inMandarin Chinese (中文).

GDL is a side project of indie game development studioGolden Drake Studios (GDS), with updates and support provided by GDS's founder,David C. Drake. We hope you'll enjoy it, provide constructive feedback, and support our ongoing work on this and other projects throughPatreon, but please note that GDL is provided without any warranty and, if it doesn't offer what you're looking for, we recommend checking out another tried-and-true Arch installer, such asArchLabs or an officialArch Linux ISO. For a more beginner-friendly Arch-based experience, check outGaruda Linux,EndeavourOS, orManjaro. Looking beyond the Arch family, we can also recommendFedora (inc.Spins andLabs),openSUSE,Debian, and certain Debian derivatives, such asLinux Mint Debian Edition (LMDE) andMX Linux.

(Please note that the acronym "GDL" can also refer to theGNOME Docking Library in other contexts.)

Features

Desktop environment (DE)

Four popular DEs, each lovingly customized for beauty and usability, are available during installation (follow the links for custom keyboard shortcuts and other details):

DEScreenshot
KDE Plasma, withSDDM as the display manager.Screenshot of GDL's KDE Plasma environment
GNOME, withGDM as the display manager.Screenshot of GDL's GNOME environment
Cinnamon, withLightDM as the display manager.Screenshot of GDL's Cinnamon environment
Xfce, withLightDM as the display manager.Screenshot of GDL's Xfce environment

If LightDM is yourdisplay manager, a secure "Guest Session" option is made available courtesy oflightdm-guest-account. This is useful when you want to let someone briefly use your computer while ensuring your system and data remain safe: a temporary guest user with limited capabilities is created when they log in, then deleted (along with all associated data) when they log out (the "Switch User" feature shouldnot be used during the guest session as they won't be able to return to that session).

All DEs include a custom.bashrc file to provide the following while in a terminal:

  • Aroll function for tabletop gaming or whenever random numbers are desired: typeroll 1 20 for 1d20,roll 2 4 for 2d4,roll 3 6 for 3d6 (or justroll 3 as six-sided dice is the default), etc.
  • Functions for creating and extracting archive files:maketarxz,maketargz,makezip, andextract.
  • Anmcd function for creating a directory and immediately moving into it.
  • Aliases to improve some basic commands, facilitate a few important tasks (yayup to check for Arch news before updating software,yaycleanup to remove old dependencies and cache files,updatemirrors,updategrub,reinstallgrub, etc.), and provide more convenient access to features of some of the fun terminal programs listed below.

Software

CategoryDetails
Games
Game management
  • IfLutris (or anotherWine-centric package, such asBottles) is selected, GDL also installs a set of packages commonly required for various Windows apps/games, including prerequisites for Lutris-assisted installation ofBlizzard Battle.net, providing access toOverwatch,World of Warcraft,Hearthstone,Starcraft II,Diablo IV, etc.
  • Steam,itch.io,Heroic,RetroArch, etc., can also be selected to provide even more access to an endless variety of games.
  • GameMode (inc.lib32-gamemode) is installed and configured for easy performance optimization viagamemoderun [app] (automatic for anything played throughLutris).
    • For systems with an NVIDIA graphics card plus another GPU, such as an Intel iGPU,GAMEMODERUNEXEC=prime-run is added to/etc/environment to activatePRIME render offload for any app run viagamemoderun [app], ensuring the NVIDIA card does all the heavy lifting for its graphical needs.
    • For graphically-intensive Steam games, addgamemoderun %command% to each game'sProperties > General > Launch Options.
  • Other gaming-related apps are also available, such asOBS Studio to record and stream,Discord to discuss and collaborate, andMangoHud to monitor performance and temperatures.
Game development
Reading & writing
Listening & watching
Misc.
  • AUR helperyay (yay-bin) for convenient access toAUR software.
  • One or more programs for monitoring GPU usage, according to iGPU and dGPU types detected:nvtop (all brands),radeontop (AMD), and/orintel-gpu-tools (providingintel_gpu_top).
  • A variety of fun terminal programs, includingasciiquarium,cmatrix,cbonsai,cowsay,lolcat,boxes,figlet,toilet, andnms ("No more secrets," to recreate the data decryption effect from the 1992 hacker filmSneakers).
  • TheTransmission BitTorrent client, complete with a Qt or GTK GUI.
  • TheUncomplicated Firewall (ufw), enabled with the default "Home" profile.

Partitioning

GDL provides threepartitioning options:

Partitioning methodDetails
Automatic
  • For BIOS systems, a separate/boot partition is created (260 MiB). BIOS/GPT systems are also provided aBIOS boot partition (1 MiB).
  • For UEFI systems,/boot remains part of the root partition and an EFI system partition (ESP) is created instead, mounted at/efi (100-260 MiB, depending on logical block size).
  • If desired, a swap partition is created as well (size set by user).
  • Overwrites an entire drive, or two if a second drive is selected to house a separate/home partition.
Automatic withLUKS encryption andlogical volume management (LVM)
  • As ofv1.2.0, GDL employs theLVM on LUKS approach (encrypt the drive, then create logical volumes) as this facilitates a smoother resume process after hibernation.
  • Optionally includes an encrypted logical swap space (size set by user).
  • A separate unencrypted/boot or/efi partition is also created, as described above.
  • Overwrites an entire drive, or two if a second drive is selected to house a separate/home partition (LVM is not applied to the second drive).
Manual
  • This option offers the most flexibility and control—including the ability to use multiple drives or only part of a drive—but also the most potential for something to go wrong. Use at your own risk and do your best to ensure you know what you're doing.
  • Select an entire drive (e.g.,/dev/sda) to modify its partition table viacfdisk,fdisk, orgdisk.
  • Select a partition (e.g.,/dev/sda1) to set its mount point (/,/home, etc.) or activate it as a swap partition. This may involve formatting the partition and selecting itsfile system.
  • NOTE: GDL's manual partitioning process has some quirks and limitations. It's not perfect and may not satisfy everyone's needs. For example, it currently doesnot facilitate manual creation of RAID, LVM, or encryption. These limitations can often be sidestepped by preparing your partitions via command line prior to running the installer (and perhaps double-checking and modifying relevant config files after installation), but this isn't guaranteed to work in all use cases.

Swap and hibernation

Ifhibernation support (suspend to disk) is desired, choose a suitably largeswap space during installation:at least half the size of system RAM, but preferably much larger. If GDL detects that swap is smaller than system RAM, it will configure the system to compress the hibernation image as much as possible.

File systems

Threefile system options are available for all partitions (except ESPs, which useFAT32):

Btrfs is growing in popularity due to its convenient compression and snapshot capabilities, among other features, and we highly recommend it! GDL automatically sets up Btrfs partitions with excellent mount options, including compression (compress-force=zstd:2), and creates appropriate subvolumes with names starting with@ as is common practice and expected by certain system restore utilities, such asTimeshift.

In fact, if Timeshift is selected during installation (and the root partition uses Btrfs), GDL configures Timeshift to automatically create root subvolume snapshots on a regular basis, including right before software updates (courtesy oftimeshift-autosnap), and snapshots are added to the GRUB menu (thanks togrub-btrfs) so you can boot directly into one of them in the unlikely event that your system is "broken" but the GRUB menu is still accessible, allowing you to use Timeshift from within a snapshot torestore that (or another) snapshot so you can then reboot into your system as usual. (By default, these snapshots donot include the@home subvolume, which is generally the right choice: user data backups should probably be handled separately through a secure external drive, remote server, or both.) If the GRUB menu is inaccessible, then you must boot into a live Linux environment (such as the GDL installer) viaUSB flash drive to fix your system.

Kernel

As ofv1.2.0, GDL installs theZen kernel, described on theArchWiki as "a collaborative effort of kernel hackers to provide the best Linux kernel possible for everyday systems" (the GDL installer itself uses the vanilla Arch Linux kernel). There are also a fewunofficial custom kernels that might, in some cases, provide additional slight improvements to performance, RAM usage, etc., but they can also reduce stability and make upgrading less convenient, so, for now, GDL only provides the Zen kernel. You are, of course, free to install additional kernels as you see fit.

Languages

You can selectany locale/language for your new system, of course, but as for the installer itself, GDL currently supports the following languages:

  • Bulgarian (Български)
  • Dutch (Nederlands)
  • English
  • French (Français)
  • German (Deutsch)
  • Greek (Ελληνικά)
  • Hungarian (Magyar)
  • Indonesian (bahasa Indonesia)
  • Italian (Italiano)
  • Latvian (Latviešu)
  • Lithuanian (Lietuvių)
  • Polish (Polski)
  • Portuguese (Português)
  • Portuguese, Brazilian (Português do Brasil)
  • Romanian (Română)
  • Russian (Русский)
  • Spanish (Español)
  • Swedish (Svenska)

Options for Chinese (中文), Japanese (日本語), and Korean (한국어) fonts were explored, but sadly there is currently no way to provide them within the minimal text-based environment of the installer. For your new system, however,IBus packages for convenient keyboard input in Chinese (ibus-libpinyin oribus-chewing), Japanese (ibus-kkc), and Korean (ibus-hangul) are available during installation and, if selected, are configured for you (after login, useCtrl+Space orSuper+Space to change input language at any time).NOTE: In some cases, such as when usingCinnamon orXfce, IBus might require additional configuration to work underWayland, but it should always work well immediately underXorg.

Minimum system requirements

HardwareRequirements
CPU1 GHz dual-core 64-bit processor (3 GHz quad-core recommended)
GPUWhatever you need for the type of games you want to play/develop!
Memory2 GB RAM (16 GB recommended)
Storage20 GB of HDD/SSD space (1 TB recommended)

Using the installer

You can try GDL safely by downloading thelatest ISO and using it as a virtual CD/DVD in a virtual machine. When you're ready to use it on a physical machine, you'll most likely want to use a USB flash drive as your installation medium, so here are some useful steps for that process on Linux (for alternative methods, including Windows and macOS options, consultthis ArchWiki article or search online using a query such as"create bootable USB from ISO"):

  1. First, back upall important data fromall devices involved in this process.
  2. Download thelatest ISO.
  3. Insert the USB flash drive you want to use as the install medium. (NOTE: All data on the flash drive will be erased!)
  4. In a terminal, use thelsblk command tocarefully determine the exact device name associated with your flash drive (something likesdc,sdd, etc.).
  5. Ensure the flash drive is unmounted.
  6. Carefully use thedd command shown below (which may requiresudo for elevated privileges), replacingpath/to/file.iso with the actual path to the ISO and replacing thex at the end of/dev/sdx with the letter associated with your flash drive as determined in step 4 (donot include a number and, above all, donot use the wrong device name).CAUTION: Using the wrong device name could result in extensive data loss and/or destruction of your current operating system!
    dd bs=4M conv=fsync oflag=direct status=progress if=path/to/file.iso of=/dev/sdx

That's it! Now you can boot from your USB flash drive to perform a fresh install of Golden Drake Linux.

The installer's command line environment can also be used for other purposes, such as fixing a broken system by mounting the appropriate partition(s) in/mnt and then running commands within the broken system viaarch-chroot /mnt [command].

Reporting issues

If you encounter an issue that might just be a general hardware/software issue, or you simply have questions about terminology, processes, etc., first check theArchWiki,man pages, and other resources for relevant information. (Consider this a gentle reminder toRTFM...ha!)

If you're confident an issue you've encountered is due to a problem within GDL, please provide adetailed report. If convenient, share~/gdl.log as a direct attachment, copy-pasted text, or link (e.g., by runningnc termbin.com 9999 < ~/gdl.log and copy-pasting the returned URL).

Contributing

Suggestions, questions, feature requests, etc., are welcome and can be shared here as anissue ordiscussion.

To contribute financially and receive certain benefits, including increased influence over the development of GDL and our indie game projects, please support us throughPatreon orGitHub Sponsors. Donations viaKo-fi,Liberapay,Venmo andPayPal are also appreciated. We're deeply grateful for all our supporters, including:

If you wish to modify or supplement the project's code, feel free to submit a pull request. Please adhere to the following guidelines:

  • Follow shell scripting best practices, such as those recommended inGoogle's Shell Style Guide.
  • Use"${variable}" instead of$variable (but omit the quotation marks when necessary, i.e., in rare cases when a variable needs to be word-split into multiple strings).
  • Name constants and global variablesLIKE_THIS, other variables (and functions)like_this.
  • Write comments where needed.
  • Useshellcheck and carefully test your code.

If you'd like to provide a new translation or modify an existinglanguage file, that would be wonderful! Please useenglish.conf as your primary reference.

Compiling

GDL usesgit-lfs to manage images, so if you want togit clone this repository, ensuregit-lfs is installed on your system.

To compile within an Arch (or Arch-based) Linux environment, runbuild.sh with root permissions (e.g.,sudo ./build.sh). If that fails, or if your Linux environment is not Arch-based, add a-c flag to compile in a temporary Arch container viapodman (e.g.,sudo ./build.sh -c). Compilation within non-Linux environments, such as Windows, macOS, and FreeBSD, should also be possible in one way or another, but these have not been tested.

Once the build is complete, the ISO and its checksum file are located in anout directory.

License

This project is licensed under theGNU GPLv2 license.

Contributors66

Languages


[8]ページ先頭

©2009-2025 Movatter.jp