Hi,
xrandr script is not exactly working for screen resolution and positions.
This script works but see yourself. There is a change in data necessay. don't know .
Here is the script :
#!/bin/bash
xrandr --newmode "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
xrandr --addmode DVI-I-1 "1280x1024_60.00"
xrandr --output DVI-I-1 --mode "1280x1024_60.00"
Sorry , upload of a screenshot is not possible. I have tried 5 times.
So you can SEE the error of this script when you start the bash script from sparky terminal with ./scriptname.
The screen resolution starts but the sparky bottom Task bar is in the middle of the screen.
It seems that the resolution is overrunning.
(https://sparkylinux.org/media/hans/HAMA/screenclip.jpg)
Hello , i have solved the problem and found a description for Sparky too.
Here is the complete script code :
#!/bin/bash
xrandr --newmode "1280x1024_60.00" 108.88 1280 1360 1496 1712 1024 1025 1028 1060 -HSync +Vsync
xrandr --addmode DVI-I-1 "1280x1024_60.00"
xrandr --output DVI-I-1 --mode "1280x1024_60.00"
Here is the LINK for complete description Mnitor Resolution Setting :
http://sparkylinux.org/how-to-set-monitor-resolution/My Monitor Name is DVI-I-1 . I use the "gtf" command from the description url. It works.