2.9 axis with 1366x768

More
04 Aug 2023 06:22 #276857 by daiman444
2.9 axis with 1366x768 was created by daiman444
Hi all. I decided to switch to 2.9 and after installing it I ran into a problem that the axis does not fit into the 1366x768 resolution in height. Are there any solutions for this or will it be necessary to edit the axis source?
Attachments:

Please Log in or Create an account to join the conversation.

More
04 Aug 2023 06:32 #276858 by besriworld

Please Log in or Create an account to join the conversation.

More
04 Aug 2023 08:10 #276867 by daiman444
Replied by daiman444 on topic 2.9 axis with 1366x768
to fix this, you need to replace the divisor for "dpi_value" in the /usr/bin/axis file on line 125. the default was 72. replaced by 75 now the axis of norms expands to full screen:
root_window.tk.call('tk', 'scaling', '-displayof', '.', dpi_value / 75)
The following user(s) said Thank You: besriworld

Please Log in or Create an account to join the conversation.

More
04 Aug 2023 10:06 #276875 by besriworld
Replied by besriworld on topic 2.9 axis with 1366x768
Do you only have a problem with axis? Gmoccapy is displayed correctly?

Please Log in or Create an account to join the conversation.

More
04 Aug 2023 10:54 #276879 by daiman444
Replied by daiman444 on topic 2.9 axis with 1366x768

Do you only have a problem with axis? Gmoccapy is displayed correctly?

yes gmoccapi has the same problem but i don't use it

Please Log in or Create an account to join the conversation.

More
04 Aug 2023 16:07 #276902 by cakeslob
Replied by cakeslob on topic 2.9 axis with 1366x768
no screen (currently supported) will fit that height resolution if you have the windows bar thing.

I have 2 solutions for right now, and I will toss up another simple one later

This is my current WIP one, with many customize options. it will fit. I use it with 800x480 and 1024x768. Im sorry if some stuff doesnt translate, I dont know how it will act with translations
www.forum.linuxcnc.org/21-axis/49372-reg...od-based-on-plasmac2

This is the first one I made, it fits 800x480. It might make the text a bit small for you
www.forum.linuxcnc.org/21-axis/38188-sol...screen-w-usercommand

I think if you remove the max velocity slider and the active gcode label, it will fit. I can try to whip that up after work. I suggest trying out the first one though.
The following user(s) said Thank You: daiman444

Please Log in or Create an account to join the conversation.

More
04 Aug 2023 16:24 #276904 by daiman444
Replied by daiman444 on topic 2.9 axis with 1366x768

to fix this, you need to replace the divisor for "dpi_value" in the /usr/bin/axis file on line 125. the default was 72. replaced by 75 now the axis of norms expands to full screen:
root_window.tk.call('tk', 'scaling', '-displayof', '.', dpi_value / 75)

this decision and for today during testing there were no side effects.

for gmoccapi, everything turned out to be much simpler. you need to save a copy of the file "/usr/share/gmoccapy/gmoccapy.glade" and edit it in a text editor as follows:
<object class="GtkWindow" id="window1"> needs to decrease requested height
<property name="height_request">735</property>
do editing the file "gmoccapy.glade" only in a text editor!!!

Please Log in or Create an account to join the conversation.

More
04 Aug 2023 16:25 #276906 by Aciera
Replied by Aciera on topic 2.9 axis with 1366x768
Is this the same problem as has been described in this thread?:
www.forum.linuxcnc.org/gmoccapy/49591-di...tly-too-big?start=10

If so then it seems to be an issue with the X11 window manager.

Please Log in or Create an account to join the conversation.

More
04 Aug 2023 19:02 #276928 by daiman444
Replied by daiman444 on topic 2.9 axis with 1366x768
Yes, in that topic the same problem with a window height of 768 pixels. i suggested there solution for gmoccapy

Please Log in or Create an account to join the conversation.

More
04 Aug 2023 22:39 #276941 by cakeslob
Replied by cakeslob on topic 2.9 axis with 1366x768
the reason axis is bigger in 2.9 is not a bug. There was an update, which moved the active gcode list to be always shown. gcodes and gcodel were moved from MDI tab to pane.top . It is a good update, but this made the window bigger by 3 text heights.

github.com/LinuxCNC/linuxcnc/commit/74d4...946bb56465a141b1ff99

Please Log in or Create an account to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum