Skip to content

iamjekyun/dots

 
 

Repository files navigation

TODO

Things to run (20.04)

  • ubuntu-drivers install
  • nimf

capslock

sudo add-apt-repository ppa:deafmute/interception
sudo apt install interception-caps2esc
sudo systemctl enable --now udevmon

/etc/interception/udevmon.d/XXX.yaml

- JOB: intercept -g $DEVNODE | caps2esc -m 1 | uinput -d $DEVNODE
  DEVICE:
    EVENTS:
      EV_KEY: [KEY_CAPSLOCK, KEY_ESC]

TODO

  • timeout like xcape
  • ctrl+mouse

font

./fonts
ln -s ~/dots/.config/fontconfig/fonts.conf ~/.config/fontconfig/fonts.conf
fc-cache -fv

gnome

  • make gnome terminal title bar small
    gsettings set org.gnome.Terminal.Legacy.Settings headerbar false
    
  • gnome terminal theme
    1. make a profile
    2. dump dconf dump /org/gnome/terminal/legacy/profiles:/ > gnome-terminal-profiles.dconf
    3. put this
      [:UUID-CREATED-IN-1]
      bold-color='#FFFFFFFFFFFF'
      bold-color-same-as-fg=true
      scrollbar-policy='never'
      use-transparent-background=false
      background-color='rgb(0,0,0)'
      cursor-colors-set=false
      visible-name='my theme'
      default-size-columns=100
      use-theme-colors=false
      font='Source Code Pro 13'
      default-size-rows=30
      use-system-font=false
      cell-width-scale=1.0
      palette=['rgb(31,31,31)', 'rgb(235,96,107)', 'rgb(195,232,141)', 'rgb(247,235,149)', 'rgb(128,203,195)', 'rgb(255,36,144)', 'rgb(174,221,255)', 'rgb(255,255,255)', 'rgb(65,65,65)', 'rgb(235,96,107)', 'rgb(195,232,141)', 'rgb(247,235,149)', 'rgb(125,198,191)', 'rgb(108,113,195)', 'rgb(86,214,255)', 'rgb(255,255,255)']
      background-transparency-percent=11
      foreground-color='rgb(255,255,255)'
      cell-height-scale=1.0
      highlight-colors-set=false
      audible-bell=false
      use-theme-transparency=false
    4. dconf load /org/gnome/terminal/legacy/profiles:/ < gnome-terminal-profiles.dconf
  • disable ctrl-alt-d https://askubuntu.com/a/177994 TODO dconf-editor

firefox: allow plugins to override reserved keymap

glacambre/firefox-patches#1 Run it after closing firefox. Rerun when firefox is updated.

sudo perl -i -pne 's/reserved="true"/               /g' /usr/lib/firefox/browser/omni.ja
find $HOME/.cache/mozilla/firefox -type d -name startupCache | xargs rm -rf

tex

  • texlive-fonts-extra contains wrong version of Source Serif, which messes up docs.rs fonts in Firefox
  • TODO use docker with latest texlive...

stuff

firefox

  • ctrl-f is broken
    • sometimes skips a match
    • sometimes doesn't match at all; refreshing doesn't work
  • can't decouple language from date format, spell check, ...
    • setting the lang to en-uk breaks english spell check
    • multi-lang spell check is completely broken
  • pdf.js
    • copy-pasting removes the spaces in the text
    • pdf print quality bad
    • j/k is not like arrow up/down mozilla/pdf.js#7019
  • firefox pdf dark mode darkreader/darkreader#374 (comment)

Tips

  • gnome shell alt-F2

Git

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 72.8%
  • Emacs Lisp 17.9%
  • Shell 9.0%
  • CSS 0.3%