Skip to content

Instantly share code, notes, and snippets.

@dimitrismistriotis
Last active June 20, 2023 08:56
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dimitrismistriotis/f7a84f724a173640b30a to your computer and use it in GitHub Desktop.
Save dimitrismistriotis/f7a84f724a173640b30a to your computer and use it in GitHub Desktop.
Migrating to new Linux checklist

fish

sudo apt-get install fish

then:

Oh-my-fish (https://github.com/oh-my-fish/oh-my-fish)

curl -L https://get.oh-my.fish | fish

then:

omf install foreign-env
omf install nvm
omf install pbcopy
omf install sublime
omf install virtualfish
omf install https://github.com/dimitrismistriotis/git-helpers
omf theme default

Multi monitor:

@dimitrismistriotis
Copy link
Author

dimitrismistriotis commented Nov 17, 2020

https://dimitar.me/how-to-export-import-gnome-terminal-profiles/

In case blog goes down

You only need dconf to export/import gnome-terminal profiles.

To export all gnome-terminal profiles run:

$ dconf dump /org/gnome/terminal/legacy/profiles:/ > gnome-terminal-profiles.dconf

To import the exported profiles above, run:

$ dconf load /org/gnome/terminal/legacy/profiles:/ < gnome-terminal-profiles.dconf

If you want to export and then import only a particular profile, you need to find out the profile’s id first. To list all profiles available:

$ dconf dump /org/gnome/terminal/legacy/profiles:/ | grep -e "\[\:\|visible-name"

You get an output like this one:

[:2afe8ac6-b873-4843-94e1-df6efbb8368d]
visible-name='Default'
[:c20ee9bb-547e-4e42-9865-ec27748eec5f]
visible-name='server1'
[:bd255b93-a970-45fe-aab6-4c3b969f3b9e]
visible-name='server2'

Let’s say I would like to export the server1 profile, the id for it is c20ee9bb-547e-4e42-9865-ec27748eec5f

To back it up:

$ dconf dump /org/gnome/terminal/legacy/profiles:/:c20ee9bb-547e-4e42-9865-ec27748eec5f/ > server1-gnome-terminal-profile.dconf

To load it:

$ dconf load /org/gnome/terminal/legacy/profiles:/:c20ee9bb-547e-4e42-9865-ec27748eec5f/ < server1-gnome-terminal-profile.dconf

@dimitrismistriotis
Copy link
Author

dimitrismistriotis commented Dec 9, 2021

@dimitrismistriotis
Copy link
Author

https://askubuntu.com/questions/9867/how-to-switch-window-controls-to-the-left-gnome-shell

gsettings set org.gnome.desktop.wm.preferences button-layout 'close,minimize,maximize:'

@dimitrismistriotis
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment