How to set resolution for slim display Manager

Forum Forums New users New Users and General Questions How to set resolution for slim display Manager

  • This topic has 6 replies, 3 voices, and was last updated Apr 29-12:59 am by Anonymous.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #9130
    Member
    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

      #9131
      Member
      clemency
        Helpful
        Up
        0
        ::

        #External monitor VGA1 is connected via VGA port.

        #9133
        Member
        rob
          Helpful
          Up
          0
          ::

          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 1
          #9694
          Member
          clemency
            Helpful
            Up
            0
            ::

            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.

            #9712
            Anonymous
              Helpful
              Up
              0
              ::

              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 percent

              Additionally (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.

              #9752
              Member
              clemency
                Helpful
                Up
                0
                ::

                Thanks. I will try that as soon as I resume work

                #9763
                Anonymous
                  Helpful
                  Up
                  0
                  ::

                  correction:
                  the option names are msg_x and msg_y
                  (not message_x and message_y as previously posted)

                Viewing 7 posts - 1 through 7 (of 7 total)
                • You must be logged in to reply to this topic.