What file to run an extra command at ICEWM startup?

Forum Forums New users New Users and General Questions What file to run an extra command at ICEWM startup?

  • This topic has 2 replies, 2 voices, and was last updated Mar 27-3:52 pm by Walter Dnes.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #103218
    Member
    Walter Dnes

      A laptop that I’ve switched from Gentoo linux to Antix. Screen resolution is 1200×800 (correct). I’ve got Netflix Basic without commercials, which runs at 1280×720. Netflix is letterboxed with a thin black band at the top and one at the bottom. In Gentoo I inserted “xterm -e xrandr –output LVDS1 –scale 1×0.9” in .xinitrc to scale the 800 vertical to 720, and get rid of the letterboxing. In Antix I can manually do this with roxterm and the vertical zooms in as requested. There doesn’t seem to be a .xinitrc file on my system to autoexecute. Into what file would I insert the command…

      roxterm -e xrandr --output LVDS1 --scale 1x0.9

      #103221
      Member
      Robin
        Helpful
        Up
        0
        ::

        Hello and welcome,

        The file
        ~/.desktop-session/startup
        is the place you are looking for. You’ll have to append an ampersand & at the end of the line to make it a coproc, just as all the other startup options already present in this file. The command will get executed in all available WMs after login, not only in IceWM.

        Windows is like a submarine. Open a window and serious problems will start.

        #103344
        Member
        Walter Dnes
          Helpful
          Up
          0
          ::

          Thank you very much. It works, The only problem is that some Netflix documentaries seem to have a super-wide aspect ratio. After some experimenting. I added only…

          roxterm –geometry=80×24+90+30 &

          …to the startup which gives me a terminal onscreen at startup. From there I can invoke an xrandr script that accepts a parameter for the vertical stretch. I can play around with the vertical.

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