{"id":20315733,"url":"https://github.com/kkoomen/dotfiles-i3","last_synced_at":"2026-06-11T14:31:18.315Z","repository":{"id":146977734,"uuid":"77445482","full_name":"kkoomen/dotfiles-i3","owner":"kkoomen","description":"These are my dotfiles for ubuntu using i3 on a macbook pro.","archived":false,"fork":false,"pushed_at":"2018-04-01T09:09:22.000Z","size":5497,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-04T08:47:08.970Z","etag":null,"topics":["dotfiles","i3","macbook","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"Vim script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kkoomen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-27T09:59:19.000Z","updated_at":"2021-04-06T01:35:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"a0f306ed-e5b2-497a-82ce-4aa0d379a268","html_url":"https://github.com/kkoomen/dotfiles-i3","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kkoomen/dotfiles-i3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkoomen%2Fdotfiles-i3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkoomen%2Fdotfiles-i3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkoomen%2Fdotfiles-i3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkoomen%2Fdotfiles-i3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kkoomen","download_url":"https://codeload.github.com/kkoomen/dotfiles-i3/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkoomen%2Fdotfiles-i3/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34204177,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dotfiles","i3","macbook","ubuntu"],"created_at":"2024-11-14T18:21:18.621Z","updated_at":"2026-06-11T14:31:18.299Z","avatar_url":"https://github.com/kkoomen.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dotfiles\n\nThese are my dotfiles for ubuntu using i3 on a macbook pro.\u003cbr/\u003e\nBelow are some bug fixes and an installation guide for setting everything up.\n\n# Installation\n\nStart off by cloning:\n\n```\n$ git clone --recursive git@github.com:kkoomen/dotfiles.git\n$ cd dotfiles/\n```\n\nRun the following scripts:\n\n- `sh ./scripts/install/install_1.sh` (setting up i3)\n  - Reboot and login using i3\n- `sh ./scripts/install/install_2.sh` (setting up env)\n- `sh ./scripts/install/install_3.sh` (apache2, docker etc)\n\nYou can update symbolic links with the `./update.sh` script.\n\n##### Disable lightdm\n\nThis is so that you get a tty login instead the default ubuntu login. You have to\ndo this to run ~/.xinitrc and other files on startup.\n\n1. `sudo vim /etc/default/grub`\n2. change `GRUB_CMDLINE_LINUX_DEFAULT=\"quiet splash\"` to `GRUB_CMDLINE_LINUX_DEFAULT=\"text intel_idle.max_cstate=1\"`.\n3. run `sudo update-grub`.\n4. `sudo systemctl enable multi-user.target --force`\n5. `sudo systemctl set-default multi-user.target`\n\n##### Set correct DPI\n\nAdd the following to `/etc/profile.d/qt-hidpi.sh` **ONLY** if you disabled lightdm\n\n```sh\nexport QT_AUTO_SCREEN_SCALE_FACTOR=0\nexport QT_SCALE_FACTOR=1.8\nexport GDK_SCALE=1.8\nexport GDK_DPI_SCALE=1.8\n```\n\nDon't forget to add `xrandr --dpi 180` to your `~/.xinitrc`.\n\nFirefox\n- Go to `about:config` in Firefox\n- Set `layout.css.devPixelsPerPx` to `1.5`\n\nThunderbird\n- Go to `Edit → Preferences → Advanced → Config editor`\n- Set `layout.css.devPixelsPerPx` to `1.5`\n\n##### QT style inherit from GTK\n\nThis should already be fixed in the `scripts/bug_fixes.sh`, but when you have a\nclean install you might want to add the following to `~/.config/Trolltech.conf`:\n\n```\n[Qt]\nstyle=GTK\n```\n\n##### Backlight\n\nIn the `bin/` folder there's a brightness script that adjusts your screen\nbrightness. We need the make it writable for all users.\n\n```\n$ sudo su -\n$ chmod 0666 /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight/brightness\n```\n\n##### Keyboard settings\n\nOn default, ubuntu uses `libinput` for touchpad, keyboard and touchscreen\nsettings. These are located in `/usr/share/X11/xorg.conf.d/90-libinput.conf`.\n\nTo disable horizontal scrolling (which I have on always), put the following\nunder the touchpad-section:\n\n```\nSection \"InputClass\"\n        Identifier \"libinput touchpad catchall\"\n        ...\n        Option \"HorizontalScrolling\" \"false\"\n        ...\nEndSection\n```\n\n# Troubleshooting\n\n##### GPG error: The following signatures couldn't be verified because the public key is not available\n\nReplace `\u003ckey\u003e` with the key you got in the error.\n\n```\n$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys \u003ckey\u003e\n$ sudo apt-get update\n```\n\n##### Thunderbird error: Missing passphrase\n\nOpen `~/.gnupg/gpg-agent.conf` and change `pinentry-program /usr/bin/pinentry`\nto `pinentry-program /usr/bin/pinentry-qt` (or anything else that might work for\nyou, but this one worked for me back then).\n\n##### Laptop automatically wakes up from suspend after 3~5 seconds\n\nPut this in `/etc/rc.local` before `exit 0`:\u003cbr/\u003e\n```\necho XHC1 \u003e /proc/acpi/wakeup # \u003c--- Add this line\nexit 0\n```\n\nNote that `XHC1` may vary for your system. It worked for me. If this ain't working\nthen try to disable USB types.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkoomen%2Fdotfiles-i3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkkoomen%2Fdotfiles-i3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkoomen%2Fdotfiles-i3/lists"}