Forum › Forums › New users › New Users and General Questions › How to set resolution for slim display Manager
Tagged: Display, resolution, Slim
- This topic has 6 replies, 3 voices, and was last updated Apr 29-12:59 am by Anonymous.
-
AuthorPosts
-
April 14, 2018 at 8:19 pm #9130Member
clemency
Hello forum,
Is there a way to set resolution for slim display in Antix? My laptop screen is broken, so i connected t an external monitor. However, the default resolution is that of the laptop screen which makes slim log in window hidden in the external screen. I use xrandr to disable laptop screen when i log in but that has no effect on slim login screen.
I have tried adding scrpt to /etc/init.d but that does nothing. I can login blindly by typing my username and password but sometimes other people will have to use my system. Is there any way to do these? Installing lightdm works fine but i like the minimal interface of slim.
Thanks in advance
April 14, 2018 at 8:26 pm #9131Member
clemency
April 14, 2018 at 9:41 pm #9133Memberrob
::Edit /usr/share/slim/themes/antiX
Where you see
input_panel_x 50% input_panel_y 75%Change input_panel_x and input_panel_y to numbers suiting your display.
You can specify a number of pixels, rather than a percentage.Extreme option to put the login in the top left corner to cover any screen size:
input_panel_x 1 input_panel_y 1April 25, 2018 at 2:53 pm #9694Member
clemency
::Thanks for your suggestion. It worked but when i change session using F1 button
, i dont see the messages. I tried it on live usb as i have already installed lightdm in my system. Attempt to reinstall slim was not successful.April 25, 2018 at 7:14 pm #9712Anonymous
::SLiM recognizes 80 or so configurable options; about 50 of these options are theme-related https://github.com/antix-skidoo/slim-antix/blob/master/doc/THEMES
SLiM doesn’t require theme authors to explicitly declare a value for each of these options. For unspecified options, it falls back to using a default value.
“options.insert(option(“option_name”,”implicit_default_value”))“The “message_x” and “message_y” options (probably unseen/unused in the antiX theme) govern the placement of session labelnames displayed in response to F1 keypress. Unfortunately, to the detriment of anyone using a 72dpi (75dpi?) display, SLiM’s implicit values for these are message_x::50% and message_y::90% _AND_ nowadays, the default (implicit, unless overridden) xserver dpi default is probably 96.
Adding the following lines into /usr/share/slim/themes/antiX/slim.theme should resolve the offscreen msg placement.
message_x 50%
message_y 30% (or choose another value, anything lower than (72/96=75) 75 percentAdditionally (or alternatively) for a machine which permanently uses a lower dpi display, can avoid the offscreen msg placement by editing /etc/slim.conf
and appending -dpi 75 to the “xserver_arguments” line.April 28, 2018 at 6:57 am #9752Member
clemency
April 29, 2018 at 12:59 am #9763Anonymous
::correction:
the option names are msg_x and msg_y
(not message_x and message_y as previously posted) -
AuthorPosts
- You must be logged in to reply to this topic.