-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom scripts don't appear to work #49
Comments
Another way is the following:
Also JFYI I plan to change naming and include tag name to the desktop files |
Thanks for the response. I tried both methods by manually editing the desktop file at |
Also, as stated, I can't even get the bundled |
ok could you please run widget as
and post output here? BTW original scripts works fine for me. |
jfyi I plan to tag a new release on this weekend (or maybe on Monday). So it would be great if you may provide me debug information to I may fix it (if there is a bug) before the release. |
Sorry, I've been a bit busy. I did try and debug, but I couldn't get it working. For a start, the terminal was spammed by this repeating output, once per second, which made it quite hard to read anything. Secondly, I could right-click on the plasmoid, and get a context menu, but when I clicked "Awesome Window Settings…", nothing happened. I gave it a few minutes to respond. Finally, I previously tested with Awesome Widget in a panel. I thought that perhaps I should try testing it as a stand-alone widget. However, after adding it like this, it crashed Plasma for me. FWIW, previous versions have made KDE 4 unstable for me. |
yeah, it creates a lot of information which will/may help me to understand if there is any error and where it is. But your case, seems that data start is missed, so could you please rerun it again, but post all data to the file and post it:
About context menu - if it may be reproduced, so could you please reproduce it and attach log from this case (or part of logs)? =) Usually it shouldn't be because configuration interface painting does not depend on core part and should just give you an exception in the configuration window with the error information (since all ui was written in QML). About plasma crash - it looks interesting. There is a known issue with crash on exit caused by running child processes, which I plan to fix in the next release, but it should not affect start up. I'll try to reproduce the case. Also what is your operation system please? |
I'm trying to run the command, but for some bizarre reason, when I redirect stderr to I'm using Arch Linux. |
Interesting. So could you please try the following:
It should produce less messages and should contain all what I want to see. |
This also asks for |
I've also noticed that there are two entries for Awesome Widget when I try and add a new plasmoid. They are titled |
oh, understood. Probably it asks
And yes, widget package provides three components:
|
Oh interesting! I followed the second suggestion, and it launches fine without Ah, I just read your links in the readme regarding "Desktop Panel". Apologies for not reading them earlier! However, I wonder if you might consider renaming it to something else? "Desktop Panel" sounds very generic, and not descriptive. Since you are branding as "Awesome Widget", maybe you could integrate that name into it. Anyway, just a minor suggestion! |
Ok, I've found a part in which there is an error. It should be already fixed in fd8f212. As a temporary fix try to avoid use BTW as I noted above, there was an error in configuration saving with which dataengine params Also thanks you for the suggestion, I'll look on second widget renaming. |
Ah excellent! Yes, changing interval to 2 works perfectly. Thanks for the fix. Also, could I please ask when you were thinking of tagging a new release, mainly for the Thanks again for all your help, troubleshooting and quick fix! |
Unfortunately I've faced with some problems so seems the new release will not be tagged before the new weekend (again :/). Well, I've created a git PKGBUID (it builds a regular package, but from git with version fetched from git). |
Okay no worries. I can wait a few days. Do you mean the |
I meant this pkgbuild =) to provide a smooth update to the new release it is named the same as the main package ( |
Oh great! Thanks for that. There's just one small error in line 42, which should be I can confirm that custom commands work perfectly in this, as does the fix for issue #47. Thanks so much for these fixes! IMO awesome widgets is now officially awesome! :D |
I'm attempting to use custom scripts, but I can't get them to work. Even the included scripts appear to be broken.
I've created a custom script (DataEngine > Custom scripts > Edit scripts) with command
echo foo
. I selected prefix = empty, active, has output, redirect = nothing and interval = 1. (I'm not entirely sure what all these options mean.) I then made the widget show$custom0
. It's not clear which number matches with which script, so I also tried$custom1
and$custom2
. I get no output in all cases.Also, I tried deleting my script with DataEngine > Custom scripts > Edit scripts > Select my script > Remove, but this did nothing. The script did not disappear.
The text was updated successfully, but these errors were encountered: