- Posts: 224
- Thank you received: 0
Simple one.... how to eleminate "Do you really want to close LinuxCNC?"
1 year 11 months ago #315512
by cakeslob
Replied by cakeslob on topic Simple one.... how to eleminate "Do you really want to close LinuxCNC?"
Please Log in to join the conversation.
1 year 11 months ago #315550
by slowpoke
To use this, do I simply add the root_window..... to a particular file, or do I need to tweak the source code and then compile?
I'm up for the former, no clue if I need to re-compile.14.2. Disable the Close Dialog# disable the do you want to close dialog
root_window.tk.call("wm","protocol",".","WM_DELETE_WINDOW","destroy .")
Replied by slowpoke on topic Simple one.... how to eleminate "Do you really want to close LinuxCNC?"
I'm not a software guy....In axis?
linuxcnc.org/docs/stable/html/gui/axis.h...ble_the_close_dialog
To use this, do I simply add the root_window..... to a particular file, or do I need to tweak the source code and then compile?
I'm up for the former, no clue if I need to re-compile.14.2. Disable the Close Dialog# disable the do you want to close dialog
root_window.tk.call("wm","protocol",".","WM_DELETE_WINDOW","destroy .")
Please Log in to join the conversation.
1 year 11 months ago #315552
by cakeslob
Replied by cakeslob on topic Simple one.... how to eleminate "Do you really want to close LinuxCNC?"
put that stuff into a python file and add it to your ini, or in the axisrc file for it to work globally. no need to compile
linuxcnc.org/docs/stable/html/gui/axis.html#sub:axis-axisrc
linuxcnc.org/docs/stable/html/gui/axis.html#sub:axis-axisrc
Please Log in to join the conversation.
1 year 11 months ago #315569
by rodw
Replied by rodw on topic Simple one.... how to eleminate "Do you really want to close LinuxCNC?"
to save 30 seconds out of your life try
sudo shutdown now
You might need to give permissions to skip the sudo password
askubuntu.com/questions/147241/execute-sudo-without-password
sudo shutdown now
You might need to give permissions to skip the sudo password
askubuntu.com/questions/147241/execute-sudo-without-password
Please Log in to join the conversation.
1 year 11 months ago #315592
by slowpoke
where is .axisrc? or do I need to create it? and does it need a file name before the extension?
What does "
mean?
I'm guessing here.... there might be a file ending with
Replied by slowpoke on topic Simple one.... how to eleminate "Do you really want to close LinuxCNC?"
put that stuff into a python file and add it to your ini, or in the axisrc file for it to work globally. no need to compile
linuxcnc.org/docs/stable/html/gui/axis.html#sub:axis-axisrc
Code:
~/.axisrc ???
where is .axisrc? or do I need to create it? and does it need a file name before the extension?
What does "
Code:
~/"
I'm guessing here.... there might be a file ending with
Code:
".axisrc" possibly in the folder associated with the particular GUI I'm using, but I don't see one, so perhaps I need to create one?
I'm a little lost here guys?
Please Log in to join the conversation.
1 year 11 months ago #315594
by rodw
Replied by rodw on topic Simple one.... how to eleminate "Do you really want to close LinuxCNC?"
A file starting with a period denotes a hidden file.
You can tell thunar browser to show them.
The tilde ~ is shorthand for your home folder,
You can tell thunar browser to show them.
The tilde ~ is shorthand for your home folder,
Please Log in to join the conversation.
1 year 11 months ago #315619
by slowpoke
Replied by slowpoke on topic Simple one.... how to eleminate "Do you really want to close LinuxCNC?"
Please Log in to join the conversation.
Time to create page: 0.201 seconds
