Custombtn
Pronterface will not start when custombtn.txt is present. Debian 10
Hi @bsjoelund I'm unable to reproduce this. I assume you are running from source. What version of Printrun are you using? Or do you use de Debian package? Could you please share the error you get when you launch Pronterface from a terminal?
Hi,
Debian package
1.6:0
Cheers Bengt
Den 2022-01-18 kl. 07:38, skrev Rock Storm:
Hi @bsjoelund https://github.com/bsjoelund I'm unable to reproduce this. I assume you are running from source. What version of Printrun are you using? Or do you use de Debian package? Could you please share the error you get when you launch Pronterface from a terminal?
— Reply to this email directly, view it on GitHub https://github.com/kliment/Printrun/issues/1236#issuecomment-1015113544, or unsubscribe https://github.com/notifications/unsubscribe-auth/APWHUFPH2HENBUONVPNZG4LUWUDHPANCNFSM5ME7ODHA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>
@.***:~$ pronterface
WARNING:root:Could not setup DBus for sleep inhibition: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ScreenSaver was not provided by any .service files
Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
Traceback (most recent call last):
File "/usr/bin/pronterface", line 66, in
btns=[ ###Defining custom buttons for pronterface is easy. Here's how. ###Below these instructions, add a line with the following format for each button
["button name","command",color(RGB)], <--That comma is important, do not forget it
###As an example: (Remove the # to try it out):
###You can use gcodes or any pronsole/pronterface commands ###The first four buttons will end up at the top of the window, visible in mini mode ###The rest of the buttons will be at the bottom under the gcode preview ###ADD BUTTON DEFINITIONS BELOW THIS LINE ["Read temp","M105",(200,100,100)], ["Disable Axes","M84",(400,100,100)],
###ADD BUTTON DEFINITIONS ABOVE THIS LINE ]
Could it be that you messed up the configuration file? If you try to generate a new configuration file, does that make it work? For instance saving a copy of the config file like:
mv ~/.pronsolerc ~/.bak_pronsolerc
Hi @bsjoelund, any luck with the suggested solution?