Linux Lite Forums
[SOLVED] Dell Optilex SX280 Graphics - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: Hardware - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=6)
+--- Forum: Video Cards (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=22)
+--- Thread: [SOLVED] Dell Optilex SX280 Graphics (/showthread.php?tid=1280)

Pages: 1 2


Re: Dell Optilex SX280 Graphics - sysdrum - 12-16-2014

(12-16-2014, 01:53 PM)Jerry link Wrote: xrandr -q should give you a list of capable resolutions. Start with that.

His system is not detecting his display correctly so xrandr -q may still fail to list 1280x1024.


Re: Dell Optilex SX280 Graphics - gold_finger - 12-16-2014

Is monitor directly connected to the computer?  Or are you using a KVM switch or adaptor of some sort?


Re: Dell Optilex SX280 Graphics - bobw - 12-16-2014

Thanks for the suggestions Jerry and gold_finger.

Quote:xrandr -q should give you a list of capable resolutions. Start with that.
does not show 1280x1024

Quote:Is monitor directly connected to the computer?  Or are you using a KVM switch or adaptor of some sort?
It is directly connected.

I still haven't been able to test the possible solutions in the ubuntu wiki page that sysdrum referred me to, but I will do tomorrow.


Re: Dell Optilex SX280 Graphics - bobw - 12-17-2014

I have now sorted out this problem, apart from one small issue.

Thanks again to sysdrum,for pointing me to the info I needed at:  [color=rgb(51, 68, 102)]https://wiki.ubuntu.com/X/Config/Resolution[/color] .  The commands that succeeded in giving me a 1280*1024 display are:
Code:
xrandr --newmode "1280x1024_60.00"  109.00  1280 1368 1496 1712  1024 1027 1034 1063 -hsync +vsync
xrandr --addmode VGA1 1280x1024_60.00
xrandr --output VGA1 --mode 1280x1024_60.00

This solution sets the display for the current session.  What I have not managed to do is set it automatically when the system boots.  However, I have the three commands in a shell script which is run from a launcher on the desktop, so it only requires one click after booting.  Infinitely better than what I had before.

I've tried various ways of automating it as suggested in the page at the above link.  I've also tried running the script and the individual commands from the root and user crontabs at reboot, and running the script from the Application Autostart tab in the Session and Startup menu window, but I haven't got it to work.
I know that it must be possible to do it - the problem is my lack of knowledge.  It's not important now, because I have a solution that works, but if anyone wants to tell me how to automate it I would certainly be interested.


Re: Dell Optilex SX280 Graphics - sysdrum - 12-18-2014

Settings manager>Session and Startup> Select the tab Application Autostart
From there select Add
In the command field select the script you wish to run.
Name it and then reboot and see if it works.




Re: Dell Optilex SX280 Graphics - Valtam - 12-18-2014

Following on from what sysdrum has said, make sure your script is enclosed in quotes, example:

Code:
bash -c "sleep 2; /path/to/script/myscript"



Re: Dell Optilex SX280 Graphics - bobw - 12-18-2014

Thanks a lot sysdrum & Jerry - it works!


I'd tried using Application Autostart, but I got the command wrong.