{"action":"created","issue":{"url":"https://api.github.com/repos/qtile/qtile/issues/1089","repository_url":"https://api.github.com/repos/qtile/qtile","labels_url":"https://api.github.com/repos/qtile/qtile/issues/1089/labels{/name}","comments_url":"https://api.github.com/repos/qtile/qtile/issues/1089/comments","events_url":"https://api.github.com/repos/qtile/qtile/issues/1089/events","html_url":"https://github.com/qtile/qtile/issues/1089","id":267486857,"number":1089,"title":"HDPI issues only with Qtile","user":{"login":"mr337","id":413937,"avatar_url":"https://avatars0.githubusercontent.com/u/413937?v=4","gravatar_id":"","url":"https://api.github.com/users/mr337","html_url":"https://github.com/mr337","followers_url":"https://api.github.com/users/mr337/followers","following_url":"https://api.github.com/users/mr337/following{/other_user}","gists_url":"https://api.github.com/users/mr337/gists{/gist_id}","starred_url":"https://api.github.com/users/mr337/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mr337/subscriptions","organizations_url":"https://api.github.com/users/mr337/orgs","repos_url":"https://api.github.com/users/mr337/repos","events_url":"https://api.github.com/users/mr337/events{/privacy}","received_events_url":"https://api.github.com/users/mr337/received_events","type":"User","site_admin":false},"labels":[{"id":313084659,"url":"https://api.github.com/repos/qtile/qtile/labels/X11","name":"X11","color":"207de5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-22T18:22:29Z","updated_at":"2018-02-28T06:10:17Z","closed_at":null,"author_association":"NONE","body":"I am having issues using qtile on a HDPI laptop via ubuntu.\r\n\r\nOn unity everything looks great. On qtile the qtile bar looks perfect but everything else is gigantic, fonts, screen, menu bars, cursor in FF, VirtualBox, emacs, etc. Oddly enough the webpages in FF looks correct while the menu bars are gigantic, and the only app that seems to be rendering properly is Spotify. Go figure :D\r\n\r\nFirst time running qtile on a HDPI laptop and banging my head on what else to tweak. To me it feels like qtile understands the resolution and dpi, but something isn't getting set and everything else is defaulting to a weird dpi. I am starting qtile via qtile.sessions file in /usr/share/xsessions.\r\n\r\nA related issue https://github.com/qtile/qtile/issues/670 except restarting qtile after login doesn't seem to help. I have also tried tweaking the DPI via Xresources file with no luck.\r\n\r\nScreenshots:\r\n![unity](https://user-images.githubusercontent.com/413937/31864877-e5a7e8f0-b72a-11e7-876e-4fbb1abfe384.png)\r\n![qtile](https://user-images.githubusercontent.com/413937/31864876-e598742e-b72a-11e7-8df7-bc1ca2f2c612.png)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/qtile/qtile/issues/comments/369132932","html_url":"https://github.com/qtile/qtile/issues/1089#issuecomment-369132932","issue_url":"https://api.github.com/repos/qtile/qtile/issues/1089","id":369132932,"user":{"login":"nazar-pc","id":928965,"avatar_url":"https://avatars0.githubusercontent.com/u/928965?v=4","gravatar_id":"","url":"https://api.github.com/users/nazar-pc","html_url":"https://github.com/nazar-pc","followers_url":"https://api.github.com/users/nazar-pc/followers","following_url":"https://api.github.com/users/nazar-pc/following{/other_user}","gists_url":"https://api.github.com/users/nazar-pc/gists{/gist_id}","starred_url":"https://api.github.com/users/nazar-pc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nazar-pc/subscriptions","organizations_url":"https://api.github.com/users/nazar-pc/orgs","repos_url":"https://api.github.com/users/nazar-pc/repos","events_url":"https://api.github.com/users/nazar-pc/events{/privacy}","received_events_url":"https://api.github.com/users/nazar-pc/received_events","type":"User","site_admin":false},"created_at":"2018-02-28T06:10:17Z","updated_at":"2018-02-28T06:10:17Z","author_association":"NONE","body":"This is because you need to configure X11, which on 4k and similar displays makes everything gigantic, you'll see the same behavior in LightDM.\r\n\r\nHere is my LightDM config (`/etc/lightdm/lightdm-gtk-greeter.conf`) in case you use the same greeter:\r\n```\r\n[greeter]\r\nbackground=#000000\r\ntheme-name=Numix Git\r\nicon-theme-name=Numix-Circle\r\ncursor-theme-name=DMZ-White\r\ncursor-theme-size=24\r\nfont-name=Ubuntu Regular 10\r\nxft-antialias=true\r\nxft-dpi=96\r\nxft-hintstyle=hintfull\r\nxft-rgba=rgb\r\nindicators=~session;~language;~clock;~power\r\nclock-format=%H:%M:%S %a %d\r\nhide-user-image=true\r\n```\r\n\r\nAnd to fix it in regular X11 sessions you may create 2 files in `/etc/X11/Xresources`.\r\n`fixed-cursor-size`:\r\n```\r\nXcursor.size: 24\r\n```\r\n`fixed-dpi`:\r\n```\r\nXft.dpi: 96\r\n```\r\n\r\nYou can, of course, put everything into single file if you want.\r\n\r\nAlso you might want to install `xsettingsd` that will provide some information to GTK apps and session in general, here is my `~/.config/xsettingsd/xsettingsd.conf`:\r\n```\r\nNet/IconThemeName\t\t\t\t\"Custom\"\r\nNet/ThemeName\t\t\t\t\t\"Numix Git\"\r\nGtk/CursorThemeName\t\t\t\t\"DMZ-White\"\r\nGtk/CursorThemeSize\t\t\t\t24\r\nXft/Antialias\t\t\t\t\t1\r\nXft/Hinting\t\t\t\t\t\t1\r\nXft/HintStyle\t\t\t\t\t\"hintfull\"\r\nXft/RGBA\t\t\t\t\t\t\"rgb\"\r\nGtk/FontName\t\t\t\t\t\"Ubuntu Regular 10\"\r\nGtkDecorationLayout\t\t\t\t\"close:\"\r\n```\r\n\r\nThis is X11-related question and there is nothing in Qtile to be fixed here. I had the same issues with custom session using Compiz (which Unity uses under the hood)."}}
{"actor":{"display_login":"nazar-pc"}}