- LinuxCNC
- General LinuxCNC Questions
- Simple one.... how to eleminate "Do you really want to close LinuxCNC?"
Simple one.... how to eleminate "Do you really want to close LinuxCNC?"
- slowpoke
- Offline
- Elite Member
Less
More
- Posts: 184
- Thank you received: 25
28 Nov 2024 20:11 #315488
by slowpoke
Simple one.... how to eleminate "Do you really want to close LinuxCNC?" was created by slowpoke
Thanks , but nanny not required, how do I get axis to just close and not ask?
...and while I'm at it what about eliminating the 30 second delay for computer shut-down, can it just do it when I ask?
Thanks....
...and while I'm at it what about eliminating the 30 second delay for computer shut-down, can it just do it when I ask?
Thanks....
Please Log in or Create an account to join the conversation.
- cakeslob
- Offline
- Platinum Member
Less
More
- Posts: 814
- Thank you received: 234
29 Nov 2024 04:54 #315512
by cakeslob
Replied by cakeslob on topic Simple one.... how to eleminate "Do you really want to close LinuxCNC?"
The following user(s) said Thank You: Aciera, slowpoke
Please Log in or Create an account to join the conversation.
- slowpoke
- Offline
- Elite Member
Less
More
- Posts: 184
- Thank you received: 25
29 Nov 2024 14:38 #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 or Create an account to join the conversation.
- cakeslob
- Offline
- Platinum Member
Less
More
- Posts: 814
- Thank you received: 234
29 Nov 2024 14:47 #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
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- rodw
- Away
- Platinum Member
Less
More
- Posts: 10907
- Thank you received: 3615
29 Nov 2024 18:47 #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 or Create an account to join the conversation.
- slowpoke
- Offline
- Elite Member
Less
More
- Posts: 184
- Thank you received: 25
29 Nov 2024 22:29 #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
~/.axisrc ???
where is .axisrc? or do I need to create it? and does it need a file name before the extension?
What does "
~/"
I'm guessing here.... there might be a file ending with
".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 or Create an account to join the conversation.
- rodw
- Away
- Platinum Member
Less
More
- Posts: 10907
- Thank you received: 3615
29 Nov 2024 23:18 #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,
The following user(s) said Thank You: slowpoke
Please Log in or Create an account to join the conversation.
- slowpoke
- Offline
- Elite Member
Less
More
- Posts: 184
- Thank you received: 25
30 Nov 2024 08:33 #315619
by slowpoke
Replied by slowpoke on topic Simple one.... how to eleminate "Do you really want to close LinuxCNC?"
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- LinuxCNC
- General LinuxCNC Questions
- Simple one.... how to eleminate "Do you really want to close LinuxCNC?"
Time to create page: 0.091 seconds