- 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)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Forum for users of antiX Linux. Mean and Lean and Proudly anti-fascist.
Forum › Forums › New users › New Users and General Questions › What file to run an extra command at ICEWM startup?
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
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.
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.
| Cookie | Duration | Description |
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |