You are not logged in.
Download Location
See this thread for discussions about earlier versions. [Edited by Niel1952]
The final version of Launcher Tools 0.4 has finally been released. The same 3 basic utilities are still included, but the Icon Adder has now grown into a fully object-oriented editor for the simpleui.rc file. SimpleUI Editor gives you a realistic model of the AsusLauncher that allows you to edit Tabs, Folders and Parcels (icons). The icon-set creator (previously called LaunchIcon) now known as Iconifier supports more image formats than before and now offers the ability to resize and reposition the icon within the templates.
Screenshot:
Last edited by SublimePorte (2008-05-27 11:50:45 pm)
Offline
you must first uninstall the version 0.32 or 0.4 beta?
Thank you
Offline
0.3.2 will automatically be uninstalled and replaced with 0.4
There is no beta 4. If you mean the SimpleUI Editor testing release, you can just delete it before you install 0.4 (if you put it in /usr/bin)
Offline
When I try to run suieditor, I get the the following errors:
QPainter::begin: Cannot paint null pixmap
QPainter::setPen: Will be reset by begin()
QPainter::begin: Cannot paint null pixmap
QPainter::setPen: Will be reset by begin()
Traceback (most recent call last):
File "/usr/bin/suieditor", line 700, in ?
main(sys.argv)
File "/usr/bin/suieditor", line 691, in main
win=MainWindow()
File "/usr/bin/suieditor", line 83, in __init__
self.PopTabs()
File "/usr/bin/suieditor", line 655, in PopTabs
self.myicon = SIMPLEDIR + parc.attributes['icon'].nodeValue
File "xml/dom/minidom.py", line 529, in __getitem__
KeyError: 'icon'
I am running this on a fresh F9ed setup of lazyfai's XEPC.org ISO
Offline
Niel,
I just realised I left 1 file out of the package, it has now been updated.
If you don't mind re download the deb file and reinstall, or if you like I can just send you the missing file.
That will fix the first problem, but you seem to also have a parcel that's missing its icon entry... Is that deliberate or ,maybe just something you've missed?
Last edited by SublimePorte (2008-05-03 7:52:10 am)
Offline
Hi SP
I have downloaded the .deb file again but it won't install. I tried then to uninstall the previous version. It ran through the various installation dialogs before telling me that it had unintalled it but on reloading the GUI the icons were still there and it still wouldn't reinstall.
I'm happy to try to work this through with you to resolve these issues rather than getting a quick fix by just installing a another file but I have to go out in a bit.
I suspect there are a number of defective parcels in my simpleui.rc and I need to prune it but if there is something you can direct me to fix, I'd happily look at that.
Niel
Offline
It ran through the various installation dialogs before telling me that it had unintalled it but on reloading the GUI the icons were still there and it still wouldn't reinstall.
All of the icons are still there? Did you try running the uninstall icon from Launcher Tools folder? Also did you have other icons already in your Launcher Tools folder?
I'm happy to try to work this through with you to resolve these issues rather than getting a quick fix by just installing a another file but I have to go out in a bit.
Shouldn't be too difficult to isolate.
Try this awk command to check the icon attributes of your parcels.
awk '$1 ~ "parcel" {print $3}' simpleui.rc
If $3 doesn't give you the icon attributes try $2 or $4
When you find most of the output is icons scroll up and see if you can find a few that aren't icon attributes, those ones might not have icon attributes.
Offline
I cleaned up my simpleui.rc and the SimpleUIEditor is now working. It is an awesome piece of work. Thanks.
Offline
Thank you, glad you liked it.
I should implement some routines to check for parcels that are missing vital attributes I guess, like emeditor's node check.
Offline
Is there a way to move an icon's position on a tab?
Offline
When i install it, it says that it cant be installed. Try reinstalling.
When i then open synaptic. While its downloading the packages, it the says the following:
E: The package altools needs to be reinstalled, but I can't find an archive for it.
E: Internal error opening cache(1). Please report
Any ideas? thanks
Offline
I just right-click on the downloaded .deb file in File Manager, select Install .DEB file, enter my password and (subject to the issues above) it just installs. How are you trying to install it?
Offline
SublimePorte wrote:
Thank you, glad you liked it.
I should implement some routines to check for parcels that are missing vital attributes I guess, like emeditor's node check.
You can get the source code to 0.5.5 and have a look at how I implemented the recovery functions.
I did it in the following way, if the simpleui.rc fails to load due to incorrect syntax, it starts the recovery option:
load the file in an internal memo
add a unique line of text after every node
split the text into an array using the unique line of text as delimiter
loop through each array item and parse them individually.
Offline
Niel,
Is there a way to move an icon's position on a tab?
Unfortunately the 3epc has an old version (like with everything) of Qt installed for Python that can't easily resort layouts like this. So I'll basically have to implement my own icon resorting routine from scratch, which will take some time. So expect it in a future release down the track somewhere. It is definitely on the todo list.
Alternatively I may end up implementing a combobox selector like you use for repositioning of the tabs. A graphical drag and drop of icons would be nicer though.
Offline
Niel1952 wrote:
I just right-click on the downloaded .deb file in File Manager, select Install .DEB file, enter my password and (subject to the issues above) it just installs. How are you trying to install it?
yup. thats what I did.
As a work-around, I installed the old version (0.3) which installed fine and then reinstalled version 4 and that made it work.
My new problem though is when i run it, i cannot delete certain icons. my problem is that i have two tweakeee icons and when i tried deleting one and then saving the changes, it both still appears. as if i didnt do anything
Offline
this looks awesome. I'll definitely be trying this out once I have some free time.
Offline
love the program much better.
1problem is that when i use the editor, it does not work. i click savechanges then i reloadalg but nothing happens...
know why this is happenng?
Offline
kieonsegg,
Does it reload? Or nothing at all happens?
Offline
SublimePorte wrote:
kieonsegg,
Does it reload? Or nothing at all happens?
i am able tochange like the name of the tab and add icons, and i see them within the program. i click save and then click reloadasuslauncher and i come back and nothing has changed. and when i open up the program again it shows that nothing has been changed
Offline
I tried to install but it failed with error messages... even worst, that trying to remove it also gives an error message:
/home/user> sudo dpkg -r altools
dpkg: error processing altools (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
altools
Offline
reinstalling (as suggested also gives error messages:
/home/user> sudo dpkg -i altools_0.4.1.deb
Selecting previously deselected package altools.
(Reading database ... 72856 files and directories currently installed.)
Preparing to replace altools 0.4.1 (using altools_0.4.1.deb) ...
Traceback (most recent call last):
File "/opt/altools/uninstaller.py", line 18, in ?
simple = xml.dom.minidom.parse(SIMPLEFILE)
File "xml/dom/minidom.py", line 1915, in parse
File "xml/dom/expatbuilder.py", line 924, in parse
File "xml/dom/expatbuilder.py", line 207, in parseFile
xml.parsers.expat.ExpatError: undefined entity: line 3566, column 115
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Traceback (most recent call last):
File "/opt/altools/uninstaller.py", line 18, in ?
simple = xml.dom.minidom.parse(SIMPLEFILE)
File "xml/dom/minidom.py", line 1915, in parse
File "xml/dom/expatbuilder.py", line 924, in parse
File "xml/dom/expatbuilder.py", line 207, in parseFile
xml.parsers.expat.ExpatError: undefined entity: line 3566, column 115
dpkg: error processing altools_0.4.1.deb (--install):
subprocess new pre-removal script returned error exit status 1
Traceback (most recent call last):
File "/opt/altools/installer.py", line 39, in ?
fixDuplicates()
File "/opt/altools/installer.py", line 30, in fixDuplicates
fhand2.write(simpledom.toString(4))
File "/usr/lib/python2.4/codecs.py", line 501, in write
return self.writer.write(data)
File "/usr/lib/python2.4/codecs.py", line 178, in write
data, consumed = self.encode(object, self.errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xf6 in position 2036: ordinal not in range(128)
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
altools_0.4.1.deb
Offline
kieonsegg,
I had this problem once before. It was because of some messed up permissions on the /tmp directory. To be sure run Launcher Tools from a terminal and see the output when you try to save, will most likely say it can't save to /tmp
either reboot, or type this command: sudo rm /tmp/*simple*
pistooli,
Your simpleui.rc has bad xml in it, that's why it's not working. You need to either try to fix the xml (if you know how it should be) or restore your simpleui.rc from an old copy.
If you just wanna remove Launcher Tools and leave your bad xml in there, just type sudo dpkg --purge altools
Offline
this may sound stupid but what do i type in to treminal because altools dosent work and neither does simpleuieditor
Offline
kieonsegg wrote:
this may sound stupid but what do i type in to treminal because altools dosent work and neither does simpleuieditor
No icon in your Settings tab??
Offline
SublimePorte:
thanks fr the info...
"Your simpleui.rc has bad xml in it, that's why it's not working. You need to either try to fix the xml (if you know how it should be) or restore your simpleui.rc from an old copy."
I got the error message on a freshly restored (F9) stock 701... ![]()
of course it still could have some bad xml... but still it is strange...
Offline