Start Axis as a maximized screen

  • Askjerry
  • Askjerry's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
10 Jun 2024 06:41 #302743 by Askjerry
Start Axis as a maximized screen was created by Askjerry
I did some searches but didn't see an answer... is it possible to have AXIS start maximized?
Thanks,
Jerry

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

  • Aciera
  • Aciera's Avatar
  • Away
  • Administrator
  • Administrator
More
10 Jun 2024 07:02 - 10 Jun 2024 07:04 #302744 by Aciera
Replied by Aciera on topic Start Axis as a maximized screen
Try this (works for me):
Create a file '.axisrc' and paste this into it:

# Find the largest size possible and set AXIS to it
maxgeo=root_window.tk.call("wm","maxsize",".")
try:
fullsize=maxgeo.split(' ')[0] + 'x' + maxgeo.split(' ')[1]
except:
fullsize=str(maxgeo[0]) + 'x' + str(maxgeo[1])
root_window.tk.call("wm","geometry",".",fullsize)
# Uncomment for fullscreen
#root_window.attributes('-fullscreen', True)

[edit]
The above is created if you check the 'Force Axis to Maximize' checkbox in Pncconf.
Last edit: 10 Jun 2024 07:04 by Aciera.
The following user(s) said Thank You: tommylight

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

  • Askjerry
  • Askjerry's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
29 Jun 2024 22:06 #304063 by Askjerry
Replied by Askjerry on topic Start Axis as a maximized screen
Let me check that... I could have missed it. I'll create a bogus 2-axis machine and check it to see what lines are changed/added.

Thanks,
Jerry

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

Time to create page: 0.055 seconds
Powered by Kunena Forum