automatic initialization of the axis interface in full screen

More
2 years 7 months ago #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 to join the conversation.

More
2 years 7 months ago #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.

Please Log in to join the conversation.

More
1 year 10 months ago #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:
Code:
nano ~/.axisrc

Add the following code to the .axisrc file:
Code:
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

Please Log in to join the conversation.

More
1 year 6 months ago #326332 by Soccer Kid
that's a very good idea!Cheers!

Please Log in to join the conversation.

More
1 year 1 month ago #335157 by andronick83
In the latest linuxcnc also works:

root_window.attributes('-zoomed', True)
 

Please Log in to join the conversation.

Time to create page: 0.276 seconds
Powered by Kunena Forum