Skip to content

playtron-os/playtron-os-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

playtron-os-files

Files

Hardware control:

  • ./usr/bin/hwctl
    • A Bash script to manage audio, battery, display, storage, and system information

Open file and memory mapping limits:

  • ./etc/security/limits.d/50-playtron.conf
    • Increase the open file limit for user processes to 524288.
  • ./usr/lib/sysctl.d/50-playtron.conf
    • Increase the open file limit for the kernel to 524288.
    • Increase the mapped memory limit to 16777216.

Resize root file system:

  • ./usr/lib/systemd/system/resize-root-file-system.service
    • A systemd service file to run the resize-root-file-system.sh script once and then disable itself so the service does not run again
  • ./usr/bin/resize-root-file-system.sh
    • A script to resize the root file system to use all available space. Assumes the file system is Btrfs

Swap creation:

  • ./usr/lib/sysctl.d/50-playtron.conf
    • Lower the swappiness to 1
  • ./usr/lib/systemd/system/create-swap.service
    • A systemd service file to run the create-swap.sh script once (after the resize-root-file-system service finishes) and then disable itself so the service does not run again
  • ./usr/bin/create-swap.sh
    • A script to create swap if the RAM size is less than 32 GB

Network configurations:

  • ./etc/gai.conf
  • ./usr/bin/clatd-ipv6-check
    • Check if only IPv6 is used (no IPv4) and then start clatd for 464XLAT support
  • ./usr/lib/NetworkManager/conf.d/50-playtron.conf
    • A configuration to disable random MAC address generation to fix Wi-Fi connections with some routers.
  • ./usr/lib/systemd/system/clatd-ipv6-check.service
    • A systemd service file to run the clatd-ipv6-check script

Factory reset:

  • ./usr/bin/playtron-factory-reset
    • A script to factory reset the system
  • ./usr/share/polkit-1/rules.d/50-one.playtron.factory-reset.rules
    • A PolicyKit rule to allow the user to run the factory reset script as root

Configuration:

  • ./etc/xdg/weston/weston.ini
    • Default dev session configuration
  • ./usr/lib/modules-load.d/controllers.conf
    • Load controller drivers
  • ./usr/lib/systemd/logind.conf.d/00-playtron-power.conf
    • Configure the power button
  • ./usr/lib/systemd/system-preset/50-playtron.preset
    • Enable default system services
  • ./usr/lib/systemd/user-preset/50-playtron.preset
    • Enable default user services
  • ./usr/share/lightdm/lightdm.conf.d/55-playtron.conf
    • Autologin to playtron session
  • ./usr/share/polkit-1/rules.d/50-one.playtron.rpmostree1.rules
    • Allow running OS upgrades without a password

Device tweaks:

  • ./usr/lib/udev/rules.d/50-block-scheduler.rules
    • Use the Kyber I/O scheduler for NVMe drives

License

GNU General Public License v3.0