automatic initialization of the axis interface in full screen

More
17 Mar 2024 12:27 #296125 by Thayloreing
Good morning, I am assembling an industrial machine. I made Linuxcnc start at system startup, but the axis interface only opens in a corner of the screen and I have to press it every time to occupy the entire screen, I was wondering if you could help me with this, I want Linuxcnc to open taking up the entire screen when I start the system

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
17 Mar 2024 13:21 #296135 by tommylight
When you made the config, wizards have a setting to choose from what size the screen should be or to fully maximize it.
Use the wizard to edit the config and select maximize, but only if you did not hand edit the configuration files.
For Axis GUI, the is a hidden file in the home folder named .axisrc or similar that you can edit to do that.
There are probably other ways, but i do not know them.
The following user(s) said Thank You: Thayloreing, NandRew01

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

More
18 Dec 2024 00:39 - 18 Dec 2024 00:56 #316895 by NandRew01
I just wanted to add to Tommylight's answer - and for my own reference.

Here is how to configure the Axis GUI to start in fullscreen:

Create a new configuration file in your home directory (or edit the existing one, mine was absent) called .axisrc, open a terminal and run:
nano ~/.axisrc

Add the following code to the .axisrc file:
root_window.attributes('-fullscreen', True)

Press 'ctl + x' then 'y' to save and exit nano in the terminal.

For these changes to take effect restart the Axis GUI (or restart the system).

The Axis GUI window will now occupy the entire screen, hiding the window borders and title bar. It will cover all OS navigation bars and menus.
___________________
More info:

Thread on .axisrc, including parameters you can configure:
forum.linuxcnc.org/forum/21-axis/29735-axis-modifications

Documentation on .axisrc can be found here:
linuxcnc.org/docs/2.7/html/gui/axis.html#_axisrc

If you want LinuxCNC to start the machine automatically in fullscreen upon starting the system you can: 

Enable automatic login:
linuxcnc.org/docs/stable/html/common/lin...tml#_automatic_login

Launch a LinuxCNC machine upon login:
linuxcnc.org/docs/stable/html/common/lin...l#_automatic_startup

NOTE: use alt + tab to navigate between programs in fullscreen mode

My system info Debian 10, Xcfe, LinuxCNC version 2.8.0
Last edit: 18 Dec 2024 00:56 by NandRew01. Reason: formatting
The following user(s) said Thank You: tommylight, Thayloreing

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

Time to create page: 0.077 seconds
Powered by Kunena Forum