Skip to content

Instantly share code, notes, and snippets.

@shrtkv
Forked from ghadj/manjaro.txt
Created June 2, 2023 16:02
Show Gist options
  • Select an option

  • Save shrtkv/9e08acab5d6d0e0c8ed956879d7bf6a4 to your computer and use it in GitHub Desktop.

Select an option

Save shrtkv/9e08acab5d6d0e0c8ed956879d7bf6a4 to your computer and use it in GitHub Desktop.
Manjaro i3 on a HiDPI Display
1. Increase DPI and terminal font size in /home/[user]/.Xresources
sudo nano ~/.Xresources
Change Xft.dpi:, the first item listed, to a higher value (than the default 90), perhaps 140 to start (to avoid overshooting). I like 150, but different setups will call for values that are lower or higher.
Change XTerm*faceSize: to a higher value, perhaps 14 (as I use).
Change URxvt.font: from 9x15,xft:TerminessTTFNerdFontMono to xft:TerminessTTFNerdFontMono:size=14, removing 9x15 (or whatever value is shown at the start) and adding :size=14 or some other specific value.
CTRL+o to write out (save) and CTRL+x to exit.
sudo xrdb merge .Xresources
Exit i3 and login again. mod+0 will raise the exit menu, from where you can tap e to exit.
2. Increase conky font sizes and border widths
Now that text in the terminal is legible, it should be easy to read what entries need to be changed in the default conky files.
I recommend starting by increasing all size= entries in both default files by 4, so size=8 would become size=12.
Further, minimum_width= should be increased at least in the conky_maia file; I find that minimum_width=400 works well for me. This prevents process names and usage percentages from being cutoff.
To access the 2 default files to make those changes, type:
sudo nano /usr/share/conky/conky_maia
sudo nano /usr/share/conky/conky1.10_shortcuts_maia
3. Increase morc_menu width
After making change #1 above, the morc_menu becomes cramped and not usable.
sudo nano ~/.config/morc_menu/morc_menu_v1.conf
Increase menu_width= and err_menu_width= by several hundred; doubling the value from 350 to 700 worked well for me.
I also increased line_height=, avg_char_width=, and avg_err_char_width=, although these values may or may not need to be changed.
After writing out (saving) and exiting the document, you might also need to exit and relaunch i3.
4. Change the wallpaper, dmenu settings, and more
source: https://archived.forum.manjaro.org/t/manjaro-i3wm-on-hidpi-display-starter-tips-how-to/128992
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment