Giter VIP home page Giter VIP logo

freebsd_post_install's Introduction

FreeBSD Post Install

This is my personal FreeBSD post-installation script that automates the process of downloading and installing the necessary packages and performing various tasks.

Usage

Dont clone the repo because the script will do that itself. Instead use fetch to download the script and run it as root.

fetch https://raw.githubusercontent.com/wolandark/FreeBSD_Post_Install/main/FreeBSD_Post_Install.sh

Looks

image

This script will download the following packages:

  • automount
  • fusefs-exfat
  • fusefs-ext2
  • fusefs-gphotofs
  • fusefs-hfsfuse
  • fusefs-jmtpfs
  • firefox
  • fusefs-ntfs
  • dbus
  • papirus-icon-theme
  • xviewer
  • feh
  • pcmanfm
  • vim-X11
  • wget
  • curl
  • bash
  • py39-ranger
  • htop
  • pfetch
  • git
  • doas
  • xorg
  • icewm
  • w3m
  • w3m-img
  • exa
  • scrot
  • menumaker

The script performs the following tasks:

permit nopass keepenv :$USER
permit nopass :$USER cmd reboot
permit nopass :$USER cmd poweroff
permit :wheel
echo -e "autoboot_delay=3
loader_logo="beastie
coretemp_load"YES"
tmpfs_load="YES"
aio_load="YES"
fuse_load="YES"
hw.syscond.bell=0
vfs.usermount=1
kern.sched.preempt_thresh=64
kern.ipc.shm_allow_removed=1
kern.vt.enable_bell=0
ntpd_flags="-g"
fuse_enable="YES"
USERMOUNT=YES
ATIME=NO
REMOVEDIRS=YES
FM="pcmanfm"
USER=woland
ENCODING=en_US.UTF-8
xsetroot -cursor_name left_ptr
xset r rate 250 60
xset b off
xmodmap -e "keycode 147 = Super_L"
feh --bg-scale ~/freebsd-wallpaper.jpg
exec icewm
export TERM=xterm-256color
export VISUAL=vim
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
export BROWSER=firefox
export QT_QPA_PLATFORMTHEME="qt5ct"
MOZ_X11_EGL=1
export LC_ALL=en_US.UTF-8
export MM_CHARSET=UTF-8
  • Loads the following kernel module:
fusefs
  • Enables the following service:
dbus

This is a very basic shell script that aims to aid users who want to experince FreeBSD in a graphical enviorment. This script assumes the following but will work just fine in any case:

  • You are on a clean install of FreeBSD 14+
  • You are familiar with how unix operating systems work and are able to alter the script should you need to
  • You know what you're doing
  • You prefer to startx instead of using a display manager although any display manager can be installed and enabled by the user if needed
  • You are connected to the internet
  • You have atleast 5gb of storage

Please feel free to use, distribute and change the script to your needs. Also please feel free to make suggestions and pull requests and fork the repo.

Discalimer

I do not claim the credit for the icewm theme. The nord icewm theme is available for download from here and the credit goes to the amazing person who made the theme. I have of course added my own keybinindg and certain customizations to the icewm files.

freebsd_post_install's People

Contributors

unixware avatar wolandark avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.