GithubHelp home page GithubHelp logo

c0ns0le / .build-scripts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from loriezn/.build-scripts

0.0 2.0 0.0 108.69 MB

Shell 45.19% CSS 0.09% Perl 1.06% Python 8.31% Vim Script 40.22% Ruby 5.13%

.build-scripts's Introduction

POST-SCRIPT SETUP

Autologin

vim /etc/systemd/system/getty.target.wants/[email protected]

  • ExecStart=-/sbin/agetty --autologin ingo --noclear %I $TERM

NetworkManager

sudo vim /etc/systemd/system/multi-user.target.wants/NetworkManager.service

  • Type=simple

UDEV

sudo vim /etc/udev/rules.d/50-firmware.rules

  • ACTION!="remove",SUBSYSTEM=="firmware",ATTR{loading}="-1"

GRUB2

sudo vim /etc/default/grub sudo update-grub

GRUB_CMDLINE_LINUX_DEFAULT

  • quiet nosplash
  • loglevel=3 systemd.log_level=err systemd.show_status=false
  • nox2apic

GRUB_HIDDEN_TIMEOUT=1

SYSTEMD

Mask:

  • exim4.service
  • ModemManager.service
  • nfs-common.service
  • rpcbind.service
  • rpcbind.target
  • network-online.target
  • binfmt-support.service

Suspend

  1. Create /etc/systemd/system/[email protected] with below content.
  2. sudo systemctl enable [email protected]

[Unit] Description=Suspend Before=sleep.target

[Service] User=%I Type=simple Environment=DISPLAY=:0 ExecStart=/home/ingo/.i3/i3exit lock ExecStartPost=/usr/bin/sleep 1

[Install] WantedBy=sleep.target

.build-scripts's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.