Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SLiM - GDK_SCALE variable not set correctly
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
aw1cks
n00b
n00b


Joined: 07 Jun 2018
Posts: 9

PostPosted: Mon Jul 30, 2018 4:57 pm    Post subject: SLiM - GDK_SCALE variable not set correctly Reply with quote

So I was recently using i3 and startx from a TTY but it was getting quite tedious so I decided I wanted to use SLiM. For high dpi scaling to work correctly in i3 in my experience I have had to set the X server DPI and then set the GTK and Qt scaling variables. Before using SLiM adding "export GDK_SCALE=2" in my .zshrc was sufficient. However this no longer works - for GTK apps to scale I have to export the variable manually after login and then launch them from the VT in which I do so. I figured this might be a problem with SLiM using bash so I created a .bashrc with the variable which didn't help. I also tried changing SLiM config to use zsh which then didn't allow me to login at all! Any suggestions?
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Fri Aug 03, 2018 9:49 pm    Post subject: Reply with quote

You could define your environment variables in '~/.xinitrc' or '~/.xsession'.

See: https://wiki.gentoo.org/wiki/SLiM

BTW: Is the SLiM project still alive? Wikipedia says: 'As of March, 2016, SLiM seems to be abandoned.'
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum