You are not logged in.

#1 2018-01-29 20:00:49

haggamemnon
Member
Registered: 2018-01-29
Posts: 3

Force Scaling with dmenu

I'm running arch linux with i3 was recently able to get my VM to take advantage of my MBP retina display. However, the problem I am running into now is with the scale of graphical applications such as chromium and spotify being too small. I can open them from the command line using the force-device-scale option so that they fit the screen nicely, but I was wondering if there was a way to permanently set this so that I can just open my apps with dmenu like I am used to?

Offline

#2 2018-01-29 20:29:13

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Force Scaling with dmenu

Set the correct DPI for the screen in the X server itself rather than scaling individual applications.

I would use `startx -- -dpi xxx` but see https://wiki.archlinux.org/index.php/HiDPI#X_Server for alternatives.

EDIT: whitespace removed.

Last edited by Head_on_a_Stick (2018-01-29 20:29:38)


Jin, Jîyan, Azadî

Offline

#3 2018-01-29 20:41:09

haggamemnon
Member
Registered: 2018-01-29
Posts: 3

Re: Force Scaling with dmenu

I have "xrandr --dpi 100" in my xinitrc, but chromium does not seem to be rescaling accordingly.

Offline

#4 2018-01-29 20:46:31

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Force Scaling with dmenu

haggamemnon wrote:

I have "xrandr --dpi 100" in my xinitrc

Is that actually applied?

haggamemnon wrote:

chromium does not seem to be rescaling accordingly.

https://wiki.archlinux.org/index.php/Hi … gle_Chrome

Executable wrapper scripts placed earlier in PATH can be useful for custom launch options wink


Jin, Jîyan, Azadî

Offline

#5 2018-01-30 17:06:05

haggamemnon
Member
Registered: 2018-01-29
Posts: 3

Re: Force Scaling with dmenu

That worked. Thanks!

Offline

#6 2018-02-17 14:21:57

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Force Scaling with dmenu

Can we get a [SOLVED], please?

Use the "Edit" button on the first post in the thread to change the title wink


Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB