Xrandr --newmode

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Xrandr --newmode

J.T.
Hi all,
I would like to add a new resolution for VGA port. I have put this line to thinstation.conf-PCMACADDRESS
XRANDR_OPTIONS="--newmode '1920x1080_60.00' 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync && xrandr --addmode VGA-0 1920x1080 && xrandr --output DVI-1 --off && xrandr --output VGA-0 --mode 1920x1080 --output DVI-0 --mode 1680x1050 --right-of VGA-0"
When i run this xrandr command on thinstation it does the job, but with the line in config it doesn't nothing.
Is it too long? Or is needed more quote marks? Is there some log file for debuging on thinstation?
Thanks for advice.
Jan

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Thinstation-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/thinstation-general
Reply | Threaded
Open this post in threaded view
|

Re: Xrandr --newmode

J.T.
So, I suppose it is not possible to do it through conf file (because ...?). What about to hardcode that piece of code somewhere?
Jan

2015-04-27 10:06 GMT+02:00 J.T. <[hidden email]>:
Hi all,
I would like to add a new resolution for VGA port. I have put this line to thinstation.conf-PCMACADDRESS
XRANDR_OPTIONS="--newmode '1920x1080_60.00' 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync && xrandr --addmode VGA-0 1920x1080 && xrandr --output DVI-1 --off && xrandr --output VGA-0 --mode 1920x1080 --output DVI-0 --mode 1680x1050 --right-of VGA-0"
When i run this xrandr command on thinstation it does the job, but with the line in config it doesn't nothing.
Is it too long? Or is needed more quote marks? Is there some log file for debuging on thinstation?
Thanks for advice.
Jan


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Thinstation-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/thinstation-general
Reply | Threaded
Open this post in threaded view
|

Re: Xrandr --newmode

Don Cupp
You can hardcode your lines into the use_xrandr function, which is located in packages/base/etc/thinstation.functions lines 510-533. I'm not opposed to extending this function to include the creation of new X-modes, but we need to define what that would look like.



On Saturday, May 2, 2015 7:25 AM, J.T. <[hidden email]> wrote:


So, I suppose it is not possible to do it through conf file (because ...?). What about to hardcode that piece of code somewhere?
Jan

2015-04-27 10:06 GMT+02:00 J.T. <[hidden email]>:
Hi all,
I would like to add a new resolution for VGA port. I have put this line to thinstation.conf-PCMACADDRESS
XRANDR_OPTIONS="--newmode '1920x1080_60.00' 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync && xrandr --addmode VGA-0 1920x1080 && xrandr --output DVI-1 --off && xrandr --output VGA-0 --mode 1920x1080 --output DVI-0 --mode 1680x1050 --right-of VGA-0"
When i run this xrandr command on thinstation it does the job, but with the line in config it doesn't nothing.
Is it too long? Or is needed more quote marks? Is there some log file for debuging on thinstation?
Thanks for advice.
Jan


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y

_______________________________________________
Thinstation-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/thinstation-general



------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Thinstation-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/thinstation-general
Reply | Threaded
Open this post in threaded view
|

Re: Xrandr --newmode

J.T.
Hi Don,
i added this three new lines to the thinstation.functions file
xrandr $XRANDR_NEWMODE
xrandr $XRANDR_ADDMODE
xrandr $XRANDR_OUTPUT_OFF
and the same variables to the thinstation.conf and it works!

Thanks for an advice.
Jan

2015-05-05 21:41 GMT+02:00 Don Cupp <[hidden email]>:
You can hardcode your lines into the use_xrandr function, which is located in packages/base/etc/thinstation.functions lines 510-533. I'm not opposed to extending this function to include the creation of new X-modes, but we need to define what that would look like.



On Saturday, May 2, 2015 7:25 AM, J.T. <[hidden email]> wrote:


So, I suppose it is not possible to do it through conf file (because ...?). What about to hardcode that piece of code somewhere?
Jan

2015-04-27 10:06 GMT+02:00 J.T. <[hidden email]>:
Hi all,
I would like to add a new resolution for VGA port. I have put this line to thinstation.conf-PCMACADDRESS
XRANDR_OPTIONS="--newmode '1920x1080_60.00' 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync && xrandr --addmode VGA-0 1920x1080 && xrandr --output DVI-1 --off && xrandr --output VGA-0 --mode 1920x1080 --output DVI-0 --mode 1680x1050 --right-of VGA-0"
When i run this xrandr command on thinstation it does the job, but with the line in config it doesn't nothing.
Is it too long? Or is needed more quote marks? Is there some log file for debuging on thinstation?
Thanks for advice.
Jan


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y

_______________________________________________
Thinstation-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/thinstation-general



------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Thinstation-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/thinstation-general



------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Thinstation-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/thinstation-general
Reply | Threaded
Open this post in threaded view
|

Re: Xrandr --newmode

NoreiT
Hi there,
I need to do same thing, I have a problem with monitor native resolution (2560x1440x60Hz). xrandr shows this resolution in list, but monitor shows nothing with it. I did created new resolution from command line (2560x1440x50Hz) and it works fine. I would need to add and activate this resolution from thinstation.conf.

Could you, please, guide me which lines (idealy whole use_xrandr function from thinstation.functions) you added?

Thanks in advance

NoreiT
Reply | Threaded
Open this post in threaded view
|

Re: Xrandr --newmode

J.T.
In your thinstation.functions file find xrandr $XRANDR_OPTIONS and add three other lines (see 1.jpg). Then set up your thinstation.conf (see 2.jpg). Output_off is optional.

2017-05-26 9:34 GMT+02:00 NoreiT <[hidden email]>:
Hi there,
I need to do same thing, I have a problem with monitor native resolution
(2560x1440x60Hz). xrandr shows this resolution in list, but monitor shows
nothing with it. I did created new resolution from command line
(2560x1440x50Hz) and it works fine. I would need to add and activate this
resolution from thinstation.conf.

Could you, please, guide me which lines (idealy whole use_xrandr function
from thinstation.functions) you added?

Thanks in advance

NoreiT



--
View this message in context: http://thinstation.4464.n7.nabble.com/Xrandr-newmode-tp25439p26783.html
Sent from the thinstation-general mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Thinstation-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/thinstation-general


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Thinstation-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/thinstation-general

1.JPG (37K) Download Attachment
2.JPG (109K) Download Attachment