Giter Club home page Giter Club logo

dotfiles's Introduction

Fedora dotfiles

Assuming you have a fresh installation of fedora, some of the things you may want are:

  • Eable the rpm-fusion repository

    sudo dnf install \
        https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
    # maybe also the non-free repos
    sudo dnf install \
         https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
  • Other repository you may want:

    # VS-code, see there for more updates info: https://code.visualstudio.com/docs/setup/linux
    
    sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
    sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'
    sudo dnf check-update && sudo dnf install code 
    
  • Install the nerd font following the fedora doc:

    cd $HOME/Downloads
    mkdir fonts
    cd fonts
    wget https://github.com/ryanoasis/nerd-fonts/releases/download/v3.0.1/Hack.zip
    unzip Hack.zip
    rm Hack.zip
    # For a single-user only also ~/.local/share/fonts is ok, but somethign can be broken in root mode
    sudo mkdir -p /usr/local/share/fonts/hack
    sudo mv * /usr/local/share/fonts/hack
    cd 
    rm -r $HOME/Downloads/fonts
  • Install fish and configure it with tide:

    sudo dnf install -y fish 
    
    # into a fish shell: 
    # install fisher, the plugin-manager needed to install tide:
    curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher
    # install tide
    fisher install IlanCosman/tide@v6
    tide configure
    
  • install and configure also zsh:

    sudo dnf install -y zsh
    
    # install oh-my-zsh 
    
    sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
    
    # install powerlevel10k
    
    git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
    
    # remember to set Set ZSH_THEME="powerlevel10k/powerlevel10k" in ~/.zshrc.
    exec zsh 
    
  • Install the vim-plug plugin manager:

    curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
  • Configure your login manager to autologin, for example for sddm see there.

  • Some packages that you will probably want to install (note, this list of package name is for fedora):

    # utilities ...
    
    sudo dnf install -y libnotify wlogout jetbrains-mono-fonts-all bat \
        adwaita-gtk2-theme adw-gtk3-theme nodejs exa cargo
       
    
    # programs  ... 
    
    sudo dnf install -y alacritty telegram htop gnome-calendar \
        qt5ct lxappearance qt5-qtstyleplugins chromium okular \
        libreoffice wdisplays mupdf wofi libwacom kcm_wacomtablet \ 
        gcc-c++
    
    # needed for emacs
    cargo install --git https://github.com/latex-lsp/texlab
    
  • enable copilot inside nvim read the instruction there

    git clone https://github.com/github/copilot.vim.git \
        ~/.config/nvim/pack/github/start/copilot.vim
    

    then start nvim and invoke the command :Copilot setup

  • Enable the multimedia codecs (some of those are non-free):

    sudo dnf install gstreamer1-plugins-{bad-\*,good-\*,base} gstreamer1-plugin-openh264 gstreamer1-libav --exclude=gstreamer1-plugins-bad-free-devel
    
    sudo dnf install lame\* --exclude=lame-devel
    
    sudo dnf group upgrade --with-optional Multimedia
    
    
  • Install spacemac

    git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d
    

    and then copy the .spacemacs file from this repository to your home directory to have all the differenrce from the default

dotfiles's People

Contributors

isacpasianotto avatar

Watchers

 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.