Skip to content

Instantly share code, notes, and snippets.

@brccabral
Last active April 28, 2025 21:38
Show Gist options
  • Save brccabral/927d5c5cf0784257e068da8640d380d9 to your computer and use it in GitHub Desktop.
Save brccabral/927d5c5cf0784257e068da8640d380d9 to your computer and use it in GitHub Desktop.
Ubuntu Customizations

Ubuntu extensions and Softwares

On Ubuntu, initially your user may not be in sudo group

# enter as root
su -
# add your username into sudo group
usermod -aG sudo username
exit
# logout / log back in as username

Snap-Store updates

If noticing error Can't refresh snap-store, has running apps

snap-store --quit && sudo snap refresh snap-store
# or
sudo killall snap-store
sudo snap refresh snap-store

Set Firefox as default browser

xdg-mime default firefox_firefox.desktop x-scheme-handler/https

Disable logout-prompt (also shutdown)

Open dconf, go to /org/gnome/gnome-session/logout-prompt, set to False

DisplayLink Dell

https://gist.github.com/brccabral/117402595e1aa923649abe318feb707a

Set NVIDIA as prime GPU

sudo prime-select nvidia

Extensions

Install GNOME Extensions

apt install gnome-shell-extensions xdg-desktop-portal gnome-tweaks

Install Firefox's Gnome-Shell plugin (in https://extensions.gnome.org )

It doesn't work on Firefox, use Brave https://brave.com/linux/#release-channel-installation

Or install Extension Manager https://flathub.org/apps/com.mattjakeman.ExtensionManager

  1. Dash to panel
  1. Arcmenu
  1. Gsconnect
  • Sync phone with desktop
  • https://extensions.gnome.org/extension/1319/gsconnect/
  • https://github.com/GSConnect/gnome-shell-extension-gsconnect/wiki
  • Need to allow ports 1716:1764 for both TCP and UDP in ufw
    sudo ufw allow from 192.168.x.x/24 to any port 1716:1764 proto tcp
    sudo ufw allow from 192.168.x.x/24 to any port 1716:1764 proto udp
  • It does work in Ubuntu 24.04 Gnome 46.0, installed from Extensions app
  • Go to $HOME/.local/share/applications , select both .desktop files org.gnome.Shell.Extensions.GSConnect.desktop org.gnome.Shell.Extensions.GSConnect.Preferences.desktop right click, Properties, Permissions, check Allow executing file as program, close. Then, double click GSConnect Preferences to open GSConnect and pair my phone.
  • DOES NOT WORK Ubuntu 23.04, Gnome 44.3 (tried Dec/2023)
  1. Vitals
  1. User Themes
  1. Forge
  1. Appindicator

i3

  • Install i3
  • Install feh to change background image. sudo apt install feh
  • Install bumblebee-status to show system information in status bar. pip install --user bumblebee-status
  • Install psutil to show cpu information in bumblebee-status. pip install --user psutil
  • Install main and xclip to control screenshot. sudo apt install maim xclip
  • Configure $HOME/.config/i3/config using file below. Multi-monitor setup, choose background image, screenshot shortcuts.
  • Configure /usr/bin/dmenu_run by adding flatpak path so you can launch flatpak apps from dmenu
#!/bin/sh
export PATH="/var/lib/flatpak/exports/bin:$PATH"
dmenu_path | dmenu "$@" | ${SHELL:-"/bin/sh"} &

Upgrade non-LTS

Edit file /etc/update-manager/release-upgrades, change line Prompt=lts to Prompt=normal.
Run sudo do-release-upgrade.

Softwares

  • gnome-control-center
    • Gnome Settings (how come this is not installed by default??)
    • apt install gnome-control-center
  • zsh
  • Wayland
  • Nvidia
  • nemo
  • flatpak
    • sudo apt install flatpak
    • sudo apt install gnome-software-plugin-flatpak
    • flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
  • atuin
  • synaptic
    • package manager
    • apt install synaptic
  • dconf
    • system settings configuration
    • apt install dconf-editor
    • /org/canonical/unity/settings-daemon/plugins/power -> sleep-inactive-ac-timeout -> 0
    • /com/canonical/unity/settings-daemon/plugins/power -> sleep-inactive-ac-type -> nothing
    • /org/gnome/settings-daemon/plugins/media-keys/ -> home -> [<Super>e]
    • /org/gnome/desktop/wm/keybindings -> show-desktop -> [<Super>m]
    • /org/gnome/shell/keybindings -> toggle-message-tray -> []
    • /org/gnome/settings-daemon/plugins/power -> sleep-inactive-ac-timeout -> 0
    • /org/gnome/settings-daemon/plugins/power -> sleep-inactive-ac-type -> nothing
    • /org/gnome/system/location -> enabled -> false
    • /org/gnome/gnome-session -> logout-prompt-> false
  • gdebi
  • deb-get
  • bauh
    • GUI for flatpak, snap, appimage
    • https://github.com/vinifmor/bauh
    • apt install python3-venv fuse3 libfuse2 qt5dxcb-plugin aptitude timeshift aria2 libappindicator3-1 sqlite3 flatpak python3-lxml python3-bs4 # snapd
    python -m venv ~/.local/env3
    source ~/.local/env3/bin/activate
    python -m pip install bauh
    deactivate
    mkdir -p ~/.local/bin
    ln -s ~/.local/env3/bin/bauh ~/.local/bin/bauh # (~/ is needed)
    • logout/login
    • create bauh.desktop into ~/.local/share/applications/
    • copy icon into ~/.local/share/icons/
  • git-cola
    uv tool install  --with PyQt5 git-cola
    • using pip
    python -m venv .local/env3
    source .local/env3/bin/activate
    python -m pip install git-cola
    • install gitk to visualize log
    apt install gitk
    make git-cola.app
    sudo make prefix=$HOME/.local install
    • on Wayland
      • alias git-cola='QT_QPA_PLATFORMTHEME=qt5ct git-cola' (apt install qt5ct / apt install qtwayland5)
      • QT_QPA_PLATFORM=wayland crashes the app
  • python packages
    apt install python3-bs4 python3-gi-cairo python3-imdbpy python3-lxml python3-pylsp python3-setproctitle python3-tk python3-unidecode python3-venv python3-xapp
  • colorls
  • Pinta
    • simple image editor (paint)
    • https://github.com/PintaProject/Pinta
    • kolourpaint can't add text, drawing has limited features
    • Install dependencies, including .NET SDK
    • download tar.gz from Github releases, then run ./configure and make install
  • kolourpaint
  • Kdenlive
    # create a python venv
    mkdir /mnt/HDExtra/Kdenlive
    cd /mnt/HDExtra/Kdenlive
    python -m venv .venv
    source .venv/bin/activate
    python -m ensurepip
    # install openai-whisper
    pip install -U openai-whisper
    # https://bugs.kde.org/show_bug.cgi?id=499012
    mkdir $HOME/.var/app/org.kde.kdenlive/cache/whisper
    • Run Kdenlive with these environment variables, or add them in Flatseal
    • flatpak run --env=PYTHONPATH=/mnt/HDExtra/Kdenlive/.venv --env=PYTHONUSERBASE=/mnt/HDExtra/Kdenlive/.venv --env=PATH=/mnt/HDExtra/Kdenlive/.venv/bin:/app/bin:/usr/bin org.kde.kdenlive
  • meld
  • nvtop
  • bat
  • Evolution
  • sqlitebrowser
    • SQLite viewer, DB Browser for SQLite
    • apt install sqlitebrowser
  • Gromit-MPX
  • podman
    • run containers (docker)
    • https://podman.io/
    • sudo apt install podman
    • We can change the location where the containers are installed, but we cannot share the same location between root user and myuser.
    • If you need a service to startup at boot, install with sudo podman as the service podman-restart runs as root.
    • Config files
    # /etc/containers/storage.conf
    [storage]
    driver = "overlay"
    graphroot = "/path/to/containers/storage"
    runroot = "/run/containers/storage"
    # $HOME/.config/containers/storage.conf
    [storage]
    driver = "overlay"
    graphroot = "/home/myuser/.local/share/containers/storage"
    runroot = "/run/user/1000/containers/storage"
  • systemdgenie
    sudo add-apt-repository ppa:kubuntu-ppa/ppa
    sudo add-apt-repository ppa:kubuntu-ppa/backports
    sudo apt-get install qtbase5-dev
    sudo apt-get install qtdeclarative5-dev
    sudo apt-get install extra-cmake-modules libkf5auth-dev libkf5coreaddons-dev libkf5crash-dev libkf5i18n-dev libkf5xmlgui-dev libsystemd-dev
    git clone https://github.com/KDE/systemdgenie.git
    cd systemdgenie
    mkdir build
    cd build
    cmake ..
    make
    sudo make install
  • chkservice
  • Hypnotix
  • KMyMoney
  • debtree
    • Show dpkg/apt dependencies in graphviz format.
    • apt install debtree
    • debtree <pakage-name> -max-depth=2 | dot -Tpng > <path/to/image>.png
  • Skrooge
  • lf
  • AppImageLauncher
  • lazygit
  • lazydocker
  • starship
    • it makes bash better looking
    • https://starship.rs/
    • install starship using provided script in website
    • add eval "$(starship init bash)" into ~/.bashrc
    • download file starship.toml below and put it into ~/.config
    • can be used in zsh, powershell and others
  • QDirStat
  • kitty
    • terminal emulator
    • https://github.com/kovidgoyal/kitty
    • download the binary bundle
    • extract the contents in a folder, $HOME/.local/bin/kitty.d
    • make a symlink from where you extracted it $HOME/.local/bin/kitty.d/bin/kitty to your $HOME/.local/bin (this has to be in your $PATH)
      • ln -s $HOME/.local/bin/kitty/bin/kitty $HOME/.local/bin/kitty
    • set kitty as x-terminal-emulator alternative
      • sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator $HOME/.local/bin/kitty 50
    • check if it is the default, or select it if not
      • sudo update-alternatives --config x-terminal-emulator
    • make sure ls has --hyperlink=auto option, use an alias for that. This will enable clicking in the file name to open it.
      • alias ls='ls --hyperlink=auto --color=tty' (or --color=auto)
      • useful with other commands like grep, dir
    • on Wayland, need to set a config in $HOME/.config/kitty/kitty.conf -> linux_display_server x11
    • ctrl+shift+enter to open new shells in same kitty window
    • ctrl+shift+l to change layout
  • tldr
  • Converter
  • heaptrack and Heaptrack GUI
    • Memory profiler
    • apt install heaptrack heaptrack-gui
    • Usage heaptrack /path/to/executable
    • When the executable finishes, if you have Heaptrack GUI installed, it will auto open the results.
  • Hotspot
    • GUI for perf (perf is a profiler)
    • https://github.com/KDAB/hotspot (AppImage)
    • This will run perf and save results to $HOME/output. Open $HOME/output in Hotspot.
    • perf record --freq=997 --call-graph dwarf -q -o $HOME/output /path/myProgram
    • If needed, change perf_event_paranoid to -1 and kptr_restrict to 0
    • sudo nano /proc/sys/kernel/perf_event_paranoid
    • sudo nano /proc/sys/kernel/kptr_restrict
  • KCacheGrind
    • code profile visualizer (python and c/c++ valgrind)
    • https://apps.kde.org/kcachegrind/
    • Install from flatpak (bauh)
    • Running valgrind will slow down a lot the execution of the program, try perf or gprof too.
    • valgrind --tool=callgrind /path/myProgram this will generate a file callgrind.out.<pid>. Open it in KCacheGrind
    • Python instructions https://gist.github.com/brccabral/7d6dc5cdd9ca49bb723e13d40c572f38
    • Compile the program with CALLGRIND_TOGGLE_COLLECT macro to filter the parts of your code that needs analysis.
    • Then, run valgrind with --collect-atstart=no. You may add more options like valgrind --tool=callgrind --collect-atstart=no --cache-sim=no --branch-sim=no
    #include <valgrind/callgrind.h>
    void foo() {
        // This is the function we want to profile
        CALLGRIND_TOGGLE_COLLECT; // Start profiling
            // Simulate some work
        CALLGRIND_TOGGLE_COLLECT; // Stop profiling
    }
  • KGraphViewer
  • gprof2dot
    • convert many profile formats to .dot files (perf, gprof, valgrind)
    • https://github.com/jrfonseca/gprof2dot
    • pip install gprof2dot
    • Prefer using perf!
    • using gprof
      • compile with -pg link flag g++ -g -pg main.cpp -o main
      • run once normally ./main, once it is finished a file gmon.out will be saved in current directory
      • convert with gprof main gmon.out | gprof2dot -s -w > gprof.dot. Open it in KGraphViewer
      g++ -g -pg main.cpp -o myProgram
      ./myProgram
      gprof myProgram gmon.out > gprof.out
      gprof2dot -s -w gprof.out > gprof.dot
    • using perf
      # perf record -F 99 -g -- ./main
      perf record --freq=997 --call-graph dwarf -q -- ./main # this generates large files
      perf script | c++filt > out.filt # c++filt requires use of pipes |
      gprof2dot -s -w -f perf out.filt > perf.dot
      • open perf.dot in KGraphViewer
    • using stackcollapse from FlameGraph
      perf record -F 99 -g -- ./main
      perf script > out.perf
      stackcollapse-perf.pl out.perf > out.collapse
      gprof2dot -s -w -f collapse out.collapse > collapse.dot
  • FlameGraph
    mkdir -p $HOME/.local/bin
    cd $HOME/.local/bin
    git clone --depth 1 https://github.com/brendangregg/FlameGraph FlameGraph.d
    
    ln -s $HOME/.local/bin/FlameGraph.d/flamegraph.pl $HOME/.local/bin/
    ln -s $HOME/.local/bin/FlameGraph.d/stackcollapse-perf.pl $HOME/.local/bin/
    
    chmod +x ./stackcollapse-perf.pl
    chmod +x ./flamegraph.pl
    • run perf and convert files
    perf record -F 99 -g -- /path/to/program/main
    perf script > out.perf
    stackcollapse-perf.pl out.perf > out.collapse
    flamegraph.pl out.collapse > flamegraph.svg
    • open flamegraph.svg in a Chromium browser for full functionality (Ctrl+F, Selection, etc). Firefox opens svg, but no iteraction
  • Inkscape
    • SVG editor (Vector Graphics Editor)
    • Install from snap (bauh) - flatpak doesn't seem official
    • https://inkscape.org/
  • jq
  • openssh-server
    • enable your system to be accessed via ssh
    • sudo apt install openssh-server
    • sudo ufw allow from 192.168.0.0/24 to any port 22
    • sudo systemctl status ssh
  • development tools
    • apt install gcc make ruby-dev
    • apt install cmake pkg-config
    • apt install mesa-utils libglu1-mesa-dev freeglut3-dev mesa-common-dev
    • apt install clang clang-tools clang-tidy clang-format clangd llvm llvm-dev lld lldb libc++-dev
    • apt install libomp-dev libstdc++-12-dev libc++abi-dev libclang-dev libclang-cpp-dev
    • apt install cppcheck cppcheck-gui
    • apt install libcurl4-openssl-dev libxtst-dev libgspell-1-dev libsecret-1-dev libnotify-dev
    • apt install ninja-build
      sudo ln -s /usr/bin/ninja /usr/local/bin/ninja
  • KDevelop
    • IDE for C++
    • Ubuntu 22.04 has a version that is incompatible with wxWidgets, install Ubuntu 23.04
    • apt install kdevelop cmake konsole git kde-cli-tools markdownpart breeze
    • breeze will install breeze theme
    • More themes at https://store.kde.org/browse?cat=112&ord=rating
      • put them at $HOME/.local/share/color-schemes
      • I like the "Optimal", but change the [Colors:Selection] BackgroundNormal=61,174,233
      • The "Materia Manjaro" is good too, but change [Colors:Window] BackgroundNormal=84,84,84
  • pipx
    python3 -m pip install --user pipx
    # python3 -m pipx ensurepath # check if your `$HOME/.local/bin` is in your `$PATH`
    • installing python programs from pip using pipx will add a symlink them on $HOME/.local/bin pointing to its own venv
  • gdbgui
    pipx install gdbgui
    • make sure your $HOME/.local/bin is in your $PATH
    • run as any command line
    gdbgui
    • it will open the GUI in your browser
  • ntfsfix
    • fix problems mounting NTFS partitions
    • sudo apt install ntfs-3g
    • sudo ntfsfix /dev/sda2
  • dupeGuru
    git clone [email protected]:arsenetar/dupeguru.git
    cd dupeguru
    sudo apt install pyqt5-dev-tools
    make -j10
    make run
  • Elisa
  • Kvantum
    sudo add-apt-repository ppa:papirus/papirus
    sudo apt update
    sudo apt install qt5-style-kvantum qt5-style-kvantum-themes
    • install Kvantum as flatpak
    • flatpak install org.kde.KStyle.Kvantum or use bauh
    • override flatpak environment
    • sudo flatpak override --env=QT_STYLE_OVERRIDE=kvantum --filesystem=xdg-config/Kvantum:ro

Docker

After installing, add your user to docker group.
https://docs.docker.com/engine/install/linux-postinstall/

sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker
docker run hello-world

These are some docker containers that I like having on my system.

Libraries

  1. SDL https://www.libsdl.org/ Cross-platform for audio, keyboard, mouse, joystick, and graphics hardware.
  • Download latest release source code
  • Extract
    cd sdl-x.y
    mkdir -p build
    cd build
    cmake -DCMAKE_INSTALL_PREFIX=/usr/local ..
    cmake --build .
    sudo cmake --install .
    
  • To compile check the result of new executable sdl2-config and set variables
    CFLAGS = `sdl2-config --cflags`
    CXXFLAGS = `sdl2-config --cflags`
    LINK_LIBRARIES = `sdl2-config --libs`
    
  1. OpenAL https://www.openal.org/ https://www.openal-soft.org/ OpenAL Soft is an LGPL-licensed, cross-platform, software implementation of the OpenAL 3D audio API.
  • Download latest release source code
  • Extract
    cd openal-soft-x.y
    mkdir -p build
    cd build
    cmake -DCMAKE_INSTALL_PREFIX=/usr/local ..
    cmake --build .
    sudo cmake --install .
    
  • Compile with -lopenal
  1. FluidSynth https://github.com/FluidSynth/fluidsynth FluidSynth is a cross-platform, real-time software synthesizer based on the Soundfont 2 specification.
    FluidSynth can also play MIDI files.
  • Download latest release source code
  • Extract
    cd fluidsynth-x.y
    mkdir -p build
    cd build
    cmake -DCMAKE_INSTALL_PREFIX=/usr/local ..
    cmake --build .
    sudo cmake --install .
    
  • Install vlc and vlc-plugin-fluidsynth. The vlc-plugin-fluidsynth downloads default SoundFonts at /usr/share/sounds/sf2 and enables vlc to play MIDI, as long as you configure VLC advanced preferences.
    sudo apt install vlc vlc-plugin-fluidsynth
    
  • Compile with -lfluidsynth
  1. ASIO https://think-async.com/Asio/ Asio is a cross-platform C++ library for network and low-level I/O programming that provides developers with a consistent asynchronous model using a modern C++ approach.
  • Download latest release source code
  • Extract
    cd asio-x.y
    ./configure
    make -j10
    sudo make install
    
  1. Lua https://www.lua.org/ Lua is a powerful, efficient, lightweight, embeddable scripting language.
  • Download latest release source code
  • Extract
    cd lua-x.y
    make -j10
    sudo make install
    
  • Compile with -llua

Prefer to use sudo gnome-disks. It is a GUI application to manage /etc/fstab.
For NTFS partitions, use as options defaults,uid=1000,gid=1000,x-gvfs-show. For EXT4, keep original nosuid,nodev,nofail,x-gvfs-show.

/dev/disk/by-uuid/XYZ123 /mount/point/path auto defaults,uid=1000,gid=1000,x-gvfs-show 0 0

Useful commands

List all services

systemctl list-units --type=service
systemctl list-units --type=service lib\*

Clang-Tidy

clang-tidy --extra-arg=-ferror-limit=0 --header-filter='.*' --fix --fix-notes --config-file=.clang-tidy path/to/files*.cpp -- -std=c++20 -x c++ -Ipath/to/include -Lpath/to/lib `pkg-config --libs --cflags sdl2` -lSDL2_image -DMYDEFINES
  • --extra-arg=-ferror-limit=0
    • show all errors, no limit
  • --header-filter='.*'
    • check errors in header files
  • --fix --fix-notes
    • auto fix problems, but does not if if encounter errors. --fix-errors does it, but it may break compilation as some errors causes clang-tidy to find problems that are misleading due to an actual error in the code
  • --config-file=path/to/.clang-tidy
    • use another .clang-tidy config
  • --
    • after -- we set compilation flags, like Include paths, Library paths, flags, Defines, link libraries
  • -x c++
    • treat c files as c++

Firewall UFW

Local network (192.168.0.0, 192.168.12.0)

sudo ufw allow from 192.168.12.0/24 to any port 22
sudo ufw allow from 192.168.12.0/24 to any port 443
sudo ufw allow from 192.168.12.0/24 to any port 53

Libvirt (Virt-Manager, 192.168.122.0 default virtual network)

sudo ufw allow from 192.168.122.0/24 to any port 22
sudo ufw allow from 192.168.122.0/24 to any port 443
sudo ufw allow from 192.168.122.0/24 to any port 53

Flatpak

flatpak info --show-permissions <app_id>
#!/bin/bash
cd $HOME/Downloads/yaru-master
mkdir xyz $HOME/YaruBuiltFromSource
meson setup --prefix=$HOME/YaruBuiltFromSource xyz
ninja -C xyz
ninja -C xyz install
# move the theme to /usr/share/themes (~./themes doesn't work for all apps)
QListView,
QPlainTextEdit,
QLineEdit,
QTextEdit,
QAbstractItemView,
QAbstractSpinBox {
border: 1px solid #6272A4;
background-color: #44475A;
}
QTreeView:focus,
QListView:focus,
QLineEdit:focus,
QTextEdit:focus,
QPlainTextEdit:focus {
border: 1px solid #BD93F9;
}
QMenu::item:selected {
background: #6272a4;
}
QMenu::item:disabled {
background-color: #FFB86C;
/* need border for background to work */
border: 1px solid #21222C;
padding-top: 2px;
padding-bottom: 2px;
}

apps that use Qt to create widgets need a qt plugin to style. On Ubuntu using Wayland

apt install qtwayland5
apt install qt5ct
QT_QPA_PLATFORMTHEME=qt5ct
QT_QPA_PLATFORM=wayland
format = """
$all$line_break\
$git_branch$git_commit$git_state$git_metrics$git_status$python$docker_context$nodejs$php$line_break
$character
"""
#format = """
#[╭─user───❯](bold blue) $username
#[┣─system─❯](bold yellow) $hostname
#[┣─project❯](bold red) $directory$rust$git_branch$git_status$package$golang$terraform$docker_context$python$docker_context$nodejs
#[╰─cmd────❯](bold green)
#"""
[username]
style_user = "green bold"
style_root = "red bold"
format = "[$user]($style) "
disabled = false
show_always = false
[hostname]
ssh_only = true
format = '[$hostname](bold purple) '
trim_at = "."
disabled = false
# Replace the "❯" symbol in the prompt with "➜"
[character] # The name of the module we are configuring is "character"
success_symbol = "[➜](bold green)" # The "success_symbol" segment is being set to "➜" with the color "bold green"
error_symbol = "[✗](bold red)"
#   
# configure directory
[directory]
read_only = " "
truncation_length = 10
truncate_to_repo = true # truncates directory to root folder if in github repo
style = "bold italic blue"
[cmd_duration]
min_time = 4
show_milliseconds = false
disabled = false
style = "bold italic red"
[aws]
symbol = " "
disabled = true
[conda]
symbol = " "
disabled = true
[dart]
symbol = " "
disabled = true
[docker_context]
symbol = " "
format = "[$symbol$context]($style) "
style = "blue bold"
only_with_files = true
detect_files = ["docker-compose.yml", "docker-compose.yaml", "Dockerfile"]
detect_folders = []
disabled = false
[elixir]
symbol = " "
disabled = true
[elm]
symbol = " "
disabled = true
[git_branch]
symbol = " "
format = "[$symbol$branch(:$remote_branch)]($style) "
[golang]
symbol = " "
disabled = true
[hg_branch]
symbol = " "
disabled = true
[java]
symbol = " "
[julia]
symbol = " "
disabled = true
[haskell]
symbol = "λ "
disabled = true
[memory_usage]
symbol = " "
disabled = true
[nim]
symbol = " "
disabled = true
[nix_shell]
symbol = " "
disabled = true
[package]
symbol = " "
disabled = true
[perl]
symbol = " "
disabled = true
[php]
symbol = " "
[python]
symbol = " "
#pyenv_version_name = true
format = '[${symbol}(${version} )(\($virtualenv\) )]($style)'
style = "bold yellow"
pyenv_prefix = "venv "
python_binary = ["./venv/bin/python", "./.venv/bin/python", "python", "python3", "python2"]
detect_extensions = ["py"]
detect_files = [] # [".python-version", "Pipfile", "__init__.py", "pyproject.toml", "requirements.txt", "setup.py", "tox.ini"]
version_format = "v${raw}"
[ruby]
symbol = " "
disabled = true
[rust]
symbol = " "
disabled = true
[scala]
symbol = " "
disabled = true
[shlvl]
symbol = " "
disabled = true
[swift]
symbol = "ﯣ "
disabled = true
[nodejs]
format = "[ Node.js $version](bold green) "
detect_files = ["package.json", ".node-version"]
detect_folders = ["node_modules"]
[time]
disabled = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment