Skip to content

fvalenza/post_install_ubuntu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

Ubuntu Post Installation

Before starting, reboot the PC.

After fresh install of Ubuntu, run the following to create root-filetree and download installation scripts / dotfiles

wget https://raw.githubusercontent.com/fvalenza/dotfiles/main/ubuntu-flw/post-installation-scripts/post-install.sh && chmod +x post-install.sh && sudo ./post-install.sh

Then install the needed components

Components installation

cdpostinstall # or cd ~/root-filetree/devel/src/dotfiles/ubuntu-flw/post-installation-scripts
# foreach components:
sudo ./<component>.sh

Things to do / to note when installing each components:

Component 0

At the end of component 0 installation, a reboot is automatically performed

Component 1

This component is mandatory for the others to work.

To complete installation of Brave: In settings, use gtk appearance.

  • install following extensions:

Component 2

After component 2 installation, start ulauncher from terminal and in the settingsm enable "Start at launch" Nota: After component 2 installation, +space keybind will not work directly. Need to wait for gsettings component to be installed + system reboot

Component 5

After component 5 installation: - To finalize obsidian setup, open obsidian and select devel/notes with "open folder as vault" - To finalize sublime-text setup, start sublime, Install package control. The plugins shall be installed

Component 9

Before executing 9-gsettings.sh, install through extension manager the extension extension sync with following settings and download extensions:

# only sync extensions, Remove  keybinding or tweaks from settings
gist_id = 20ff5ba7a2fdd62bd1e295ef687c5a7b
token = ($secret) # To get from github

A shell reload is needed (log out and log in)

Then execute 9-gsettings.sh as user and NOT as root

./9-gsettings.sh

After component 9 installation, please reboot

KVM

From this question about keyboard input not detected on ubuntu through KVM

$ sudo su
# echo "blacklist hid_logitech_dj" >> /etc/modprobe.d/blacklist.conf
# update-initramfs -u

Dell Dock D6000

If secure uefi boot enabled , first install dkms

sudo apt update
sudo apt install dkms
sudo apt install libdrm-dev
sudo apt install evdi-dkms

Reboot and then enter OTP

Then install latext dell drivers from: https://www.synaptics.com/products/displaylink-graphics/downloads

Troubleshooting page

Note : As stated here : if in Virtual box, do not forget to install addional guests as a first step (-> VBoxLinuxAdditions.run + restart + unmount)

  • Start VM, goto Devices - Insert Guest Additions CD image to mount the ISO image.

  • From the terminal, run the following commands:

    $ sudo su
    $ apt install gcc make
    $ mkdir --parents /media/cdrom
    $ mount /dev/cdrom /media/cdrom
    $ /media/cdrom/VBoxLinuxAdditions.run
    $ reboot
  • After reboot:

    $ modinfo vboxguest
    $ sudo usermod --append --groups vboxsf -- "$USER"
    $ cat /etc/group | grep "$USER"
  • Host shares should now be mounted in Ubuntu guest under /media via the installed VBoxService service, set to start on system boot-up.

  • All done.

Note: the above steps can be repeated on an existing VM image for guest addition upgrades, VBoxLinuxAdditions.run will handle the uninstall and reinstall process automatically.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published