Skip to content

Instantly share code, notes, and snippets.

@nayaabkhan
Last active October 3, 2020 11:11
Show Gist options
  • Select an option

  • Save nayaabkhan/7a66a4924f82faaab975d3d679bc9abd to your computer and use it in GitHub Desktop.

Select an option

Save nayaabkhan/7a66a4924f82faaab975d3d679bc9abd to your computer and use it in GitHub Desktop.
A macOSer's journey into Linux

Warm color tone on Dell XPS 15

redshift -l0:0 -t 7800:7800 to Startup Application app

Resources

I am using Pop_OS! as it seems to be a stable distro.

  • Install Tweaks to change the system font to San Francisco Pro

Apple Emojis

Because other emojis just suck: https://github.com/samuelngs/apple-emoji-linux

Apple emojis on Slack

Keyboard shortcuts

Gnome Extensions

  • Clipboard Indicator
  • CPU Power Manager
  • Dash to Dock
  • Flipper move clock
  • Hide Activities Button
  • Panel OSD
  • Remove dropdown arrows
  • Steal my Focus

GitHub looks shit on Linux

Due to the font-stack they use in CSS. It usually defaults to Arial. This mapping fixes this globally.

Set this in your ~/.config/fontconfig/fonts.conf file:

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
  <match>
    <test name="family"><string>Arial</string></test>
    <edit name="family" mode="assign" binding="strong">
      <string>SF Pro Display</string>
    </edit>
  </match>
  <match>
    <test name="family"><string>Liberation Mono</string></test>
    <edit name="family" mode="assign" binding="strong">
      <string>SFMono</string>
    </edit>
  </match>
  
  <alias>
    <family>serif</family>
    <prefer><family>Tinos</family></prefer>
  </alias>
  <alias>
    <family>sans-serif</family>
    <prefer><family>SF Pro Display</family></prefer>
  </alias>
  <alias>
    <family>sans</family>
    <prefer><family>SF Pro Display</family></prefer>
  </alias>
  <alias>
    <family>monospace</family>
    <prefer><family>SFMono</family></prefer>
  </alias>
</fontconfig>

Credits to https://jichu4n.com/posts/how-to-set-default-fonts-and-font-aliases-on-linux/

Also change the font settings in your browser.

  1. Go to chrome://settings/fonts
  2. Set Font Size to 18
  3. Set Minimum Font Size to 18
  4. You can also set Standard font, Serif font, Sans-serif font, and Fixed-width font here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment