Skip to content

Himanshu54/.dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

local systemd serivice

mkdir -p ~/.config/systemd/user/

example.service -- Unit file example

[Unit] -- section . section names are defined and case-sensitive
Description=Describe the service -- directive

[Service]
Environment=DISPLAY=:0
ExecStart=/bin/bash -c "while true; do hello.sh; sleep 30; done"

[Install]
WantedBy=default.target

Reads

I use arch btw.

Steps involved in installing arch linux.

  • Assumptions:

    • Live OS is available and able to connect to internet.
  1. Creatng Partition

    $ fdisk -l
    
    Disk /dev/sda: 40 GiB, 42949672960 bytes, 83886080 sectors
    Disk model: VBOX HARDDISK   
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0xffa9e3c6
    
    $ fdisk /dev/sda

    create a primary partion. Lets assume /dev/sda1

    Format partition as ext4.

    $ mkfs.ext4 /dev/sda1
  2. Mount partitions.

    $ mount /dev/sda1 /mnt

    In case you have a partition for home, usr etc.

    $ mkdir /mnt/home 
    $ mount /dev/sda2 /mnt/home
  3. Install essential packages [ along with editor and network manager ].

    $ pacstrap /mnt base linux vim networkmanager
  4. Configurations.

    define your partition mounts.

    genfstab -U /mnt >> /mnt/etc/fstab
  5. Locale, Network - hostname & hosts , Time updates

  6. Bootloader

    $ pacman -S grub
    $ grub-install --target=i386-pc /dev/sda
    $ grub-mkconfig -o /boot/grub/grub.cfg
  7. exit from chroot and reboot.

To i3 and beyond.

$ pacman -S xorg-xinit xorg i3
  • chose i3wm
  • set .xinitrc , i3 configs [ in this repo]
$ paccman -S rxvt-unicode rxvt-unicode-terminfo 
# copy .Xdefaults from here.
$ xrdb -merge .Xdefaults

About

Configuration for tools I use.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published