Blog Forum Wiki Links Contact Us NetbookUser
RunCore Pro IV SSD Transforms your ASUS EEE PC by increasing 
performance 5-40X. Your satistfaction guaranteed RunCore Pro 70mm SATA Mini PCI-e SSD
RunCore Pro IV 70mm SATA II Mini PCI-e SSD
RunCore Pro IV 2.5 Inch SATA II SSD

You are not logged in.

#1 2007-12-27 4:29:02 pm

Coyotee
Senior Member
From: Europe, Romania
Registered: 2007-11-27
Posts: 106

[BETA] AsusLauncher Advanced Editor

** Version 0.5.6 Released **

Whats new:
  * CODE CHANGE: Changed override location to /var/lib/AsusLauncher/ to be compatible with latest 701 updates and 90x/100x series.


Download 0.5.6 here


** EDIT **
Ok ppl, I decided to release the source code for version 0.5.6 due to increasing delays with 0.6.

You can find it on the download page.
The source code (and now the editor) is released under GPLv3 or later license.

** Original post **

Program name: AsusLauncher Advanced Editor, a graphical interface program to edit the Easy Mode Icons.
http://download.projectsakura.com/eeepc/snapshot6.png

As you can see, it display's on the left side a list with the tabs (the categories), and the available subfolders as subcategories. In the main view you get a list of all Icons configured in the 'simpleui.rc' file for the selected category (or folder) showing the name, command it executes (or shortcut if it's with the shortcut attribute instead of the extraargs attribute), normal icon and selected icon filenames. When selecting an item, you will see the actual icon in lower right corner.

Seems that ASUS made some mistakes in the simpleui.rc file because the item for "Video Manager" entry has the icon option twice, causing a parser error.

By design, the program will only save in the /home/user/.AsusLauncher/simpleui.rc file (in case something goes wrong).

Download latest version here

Last edited by Coyotee (2008-08-22 4:29:41 pm)


AsusLauncher Advanced Editor v0.5.6 BETA - Advanced editor for the EEE PC Easy Mode interface. Last update: 2008-08-22, version 0.5.6 - updated for 90x series (new override location)!
*Workin on version 0.6 - release date unknown yet*

Offline

 

#2 2007-12-27 4:47:57 pm

StormB
Member
Registered: 2007-12-25
Posts: 17

Re: [BETA] AsusLauncher Advanced Editor

Excellent looking software!

Would it be possible to implement a simple visual 'browser' for png files? Obviously if the goal of this is to making editing easy, then finding a relevant icon should be part of that process smile (Sorry if this is already part of the program; I haven't tested it yet)..

Will

Offline

 

#3 2007-12-27 4:48:28 pm

freee
Member
Registered: 2007-12-21
Posts: 12

Re: [BETA] AsusLauncher Advanced Editor

Looks very promising. Are you also planning to let the user edit the categories and subcategories?

Coyotee wrote:

When complete, I will release the entire source code under a GPL license. Until then, you can check your files for validation with the alpha pre-compiled binary.

It sound as if you are new to open source programming. The first laws for a successful project is "release early, release often". You should not wait to release the source code only when the project is complete. You should release now, so that there will be a chance for people to contribute patches.

Offline

 

#4 2007-12-27 5:00:50 pm

Coyotee
Senior Member
From: Europe, Romania
Registered: 2007-11-27
Posts: 106

Re: [BETA] AsusLauncher Advanced Editor

StormB wrote:

Would it be possible to implement a simple visual 'browser' for png files? Obviously if the goal of this is to making editing easy, then finding a relevant icon should be part of that process :) (Sorry if this is already part of the program; I haven't tested it yet)..

There will be the option to browse for the PNG icons that will be used. It will also check to the if the relevant selected icons are available and warn the user in case they aren't.

freee wrote:

Looks very promising. Are you also planning to let the user edit the categories and subcategories?

Not sure about the categories, but the subcategories will be editable (the categories can be easily edited as well, since they are stored in the same array as the subcategories, just some info different, however i won't include that in the default builds).

freee wrote:

It sound as if you are new to open source programming. The first laws for a successful project is "release early, release often". You should not wait to release the source code only when the project is complete. You should release now, so that there will be a chance for people to contribute patches.

I'm not new to open source programming. However, when I said about releasing the source code, I meant I will be releasing the source code when the initial version is ready (the first version that will actually be usable).


AsusLauncher Advanced Editor v0.5.6 BETA - Advanced editor for the EEE PC Easy Mode interface. Last update: 2008-08-22, version 0.5.6 - updated for 90x series (new override location)!
*Workin on version 0.6 - release date unknown yet*

Offline

 

#5 2007-12-27 5:31:59 pm

freee
Member
Registered: 2007-12-21
Posts: 12

Re: [BETA] AsusLauncher Advanced Editor

I'm not new to open source programming.

The use of the rar format fooled me smile

In the file menu I think that you should have "Import system settings" and "Import user settings" in addition to the "Import" option. Meanwhile if someone wants to try out the program he can find these settings here:

Code:

/opt/xandros/share/AsusLauncher/simpleui.rc
/home/user/.AsusLauncher/simpleui.rc

Also, you should ignore the double icon error you mentioned in the "Video Manager".

Offline

 

#6 2007-12-27 5:59:02 pm

Coyotee
Senior Member
From: Europe, Romania
Registered: 2007-11-27
Posts: 106

Re: [BETA] AsusLauncher Advanced Editor

freee wrote:

The use of the rar format fooled me smile

Yeah, my desktop is currently in Windows 'cause I need to reinstall Ubuntu and because I didn't have anything handy to make a tar.gz archive.

freee wrote:

In the file menu I think that you should have "Import system settings" and "Import user settings" in addition to the "Import" option.

The "import" option is going to be optional, because the editor will automatically load the user settings on launch (just that I didn't add the code yet).

freee wrote:

Also, you should ignore the double icon error you mentioned in the "Video Manager".

Don't know if I can since the XML parser is not written by me (comes with the compiler).


AsusLauncher Advanced Editor v0.5.6 BETA - Advanced editor for the EEE PC Easy Mode interface. Last update: 2008-08-22, version 0.5.6 - updated for 90x series (new override location)!
*Workin on version 0.6 - release date unknown yet*

Offline

 

#7 2007-12-27 6:40:37 pm

SublimePorte
Senior Member
Registered: 2007-10-01
Posts: 829

Re: [BETA] AsusLauncher Advanced Editor

Coyotee,

Looks like an excellent piece of software. I have released something similar, though not quite as advanced. My tool only has the ability to add icons at the moment, no editing or deleting.

Seems that ASUS made some mistakes in the simpleui.rc file because the item for "Video Manager" entry has the icon option twice, causing a parser error.

This messup by Asus cost me hours of pulling my hair out. In Python, the xml routines fail when they see this mistake in the simpleui.rc file.

Yeah, my desktop is currently in Windows 'cause I need to reinstall Ubuntu and because I didn't have anything handy to make a tar.gz archive.

Actually the ideal way would be to release it as a .deb file. You just need to write a small install script and removal script, then run a simple command to package it all together as an installable .deb package. It makes it much easier for users to install/remove your software, and it's the standard the 3epc uses.


Launcher Tools - Utilities to make the AsusLauncher interface customisable.
"If programmers deserve to be rewarded for creating innovative programs, by the same token they deserve to be punished if they restrict the use of these programs." (RMS)

Offline

 

#8 2007-12-27 6:41:56 pm

SublimePorte
Senior Member
Registered: 2007-10-01
Posts: 829

Re: [BETA] AsusLauncher Advanced Editor

freee,

Also, you should ignore the double icon error you mentioned in the "Video Manager".

Any decent xml parser would not let you just ignore such an obvious error. Python's xml parser certainly didn't. And since it was my first time using it, I had no idea why it was getting upset.


Launcher Tools - Utilities to make the AsusLauncher interface customisable.
"If programmers deserve to be rewarded for creating innovative programs, by the same token they deserve to be punished if they restrict the use of these programs." (RMS)

Offline

 

#9 2007-12-27 11:50:08 pm

marf
Senior Member
From: Canada
Registered: 2007-11-01
Posts: 282
Website

Re: [BETA] AsusLauncher Advanced Editor

first off, I must say excellent work. This is one of a few things I was waiting for. I'm just wondering, how long did it take you to get this far in your project? Couple weeks? What environment are you coding it in?

Offline

 

#10 2007-12-28 7:16:05 am

freee
Member
Registered: 2007-12-21
Posts: 12

Re: [BETA] AsusLauncher Advanced Editor

SublimePorte wrote:

Any decent xml parser would not let you just ignore such an obvious error. Python's xml parser certainly didn't. And since it was my first time using it, I had no idea why it was getting upset.

Clearly Asus are using an xml parser that ignores this error.

Offline

 

#11 2007-12-28 7:20:42 am

Neil
Moderator
From: Berkshire, England
Registered: 2007-11-25
Posts: 6543
Website

Re: [BETA] AsusLauncher Advanced Editor

Or are ignoring the error...

Offline

 

#12 2007-12-28 7:22:19 am

Niel1952
Moderator
From: Cambridge, UK
Registered: 2007-11-02
Posts: 4802

Re: [BETA] AsusLauncher Advanced Editor

Ok, so who is going to run a comparison between this and this?


[Tweaking for] Absolute Beginners - A Guide to tweaking the Eee PC with wizards.
eeeuser Google Custom Search - THE eeeuser.com Search Tool

Offline

 

#13 2007-12-28 4:37:47 pm

Bazza
Senior Member
From: Toronto, Canada
Registered: 2007-11-11
Posts: 968

Re: [BETA] AsusLauncher Advanced Editor

Niel1952 wrote:

Ok, so who is going to run a comparison between this and this?

Oooh! I will.

This one, while appearing more fully featured (add, edit, delete of icons within tabs) - it appears, by reading Coyotee's intro, that these features aren't finished, which rather defeats the usefulness of the program.

The other program by SublimePorte only adds shortcuts (no deletion) - and neither seem capable of adding/moving/ removing tabs.


Graphically, both look just fine and are clear as to what they are meant to do.

Finally, Coyotee's program is downloaded as a .rar file (which adds another level of pain-in-the-butt, especially to newbies) while SublimePorte's program is a straightforward .deb file, simply requiring a right-click > Install DEB file to get into your eee.


Pearl 701 4G Linux (11.11.07 to 07.07.09)
Crystal Black 1005HA w/matte screen, Atom 270, 2 GB RAM (from 07.07.09)

Offline

 

#14 2007-12-29 6:22:11 pm

Coyotee
Senior Member
From: Europe, Romania
Registered: 2007-11-27
Posts: 106

Re: [BETA] AsusLauncher Advanced Editor

Niel1952 wrote:

Ok, so who is going to run a comparison between this and this?

There is no reason to compare the 2 at the moment since my program isn't ready to work and the LauncherTools are operational.

Bazza wrote:

Oooh! I will.
This one, while appearing more fully featured (add, edit, delete of icons within tabs) - it appears, by reading Coyotee's intro, that these features aren't finished, which rather defeats the usefulness of the program.

As the topic title says, the program is a WORK IN PROGRESS, meaning it's NOT ready yet.
It will have the possibility to add new folders (still thinking about categories) as well as a built-in icon creator (just give it the normal icon and it will do the rest).

Bazza wrote:

Finally, Coyotee's program is downloaded as a .rar file (which adds another level of pain-in-the-butt, especially to newbies) while SublimePorte's program is a straightforward .deb file, simply requiring a right-click > Install DEB file to get into your eee.

When my program will be ready, it will come as a .deb file as well. Right now, I just added it for who ever wanted it to look at the way it works.

-----

ASUS really needs to correct their way of writing XML files. The Date & Time entry contains a double <name lang="en"> entry. The XML file gave me a lot of headache's but I finally managed to make the save function to produce an almost identical copy of the simpleui.rc file when reading to internal format and resaving (almost identical because it doesn't save the duplicate language entries and it might have a few more line breaks than the original).
I should have a semi-functional version for testing in about 20 hours (with add/edit/delete capabilities) but won't promise anything.


AsusLauncher Advanced Editor v0.5.6 BETA - Advanced editor for the EEE PC Easy Mode interface. Last update: 2008-08-22, version 0.5.6 - updated for 90x series (new override location)!
*Workin on version 0.6 - release date unknown yet*

Offline

 

#15 2007-12-29 7:42:55 pm

Bazza
Senior Member
From: Toronto, Canada
Registered: 2007-11-11
Posts: 968

Re: [BETA] AsusLauncher Advanced Editor

Coyotee wrote:

When my program will be ready, it will come as a .deb file as well. Right now, I just added it for who ever wanted it to look at the way it works.

-----

I should have a semi-functional version for testing in about 20 hours (with add/edit/delete capabilities) but won't promise anything.

Excellent. I look forward to the 'Gold' edition - as does, I suspect, a lot of the community.

Its hard to imagine why something like this (or the other program) wasn't created and installed by default in the eeePC to begin with. Programmers napping, one feels.

While I can appreciate that ASUS isn't really promoting this device to the hardcore computing crowd, equally, even the first time user may have issues with the tabs (wishing to remove, move or create new ones) and wish to delete some 3rd Party icons (as found in Internet) and place shortcuts to the included software in tabs different from where they are placed (if at all) by ASUS as default. Similarly, the ability to, say, add shortcuts to often used documents in the Work tab would not go amiss either - either for newbies or those a little more experienced.

All in all, making the device work for users, rather than the other way around.

Had I not been able to access the Advanced Mode and been left with only the ASUS Easy Mode (and nothing like this software available at the time) I would likely have not bought the device.

This (or other similar programs) might even convince me to return to Easy Mode - if for nothing else, the shorter boot!

smile


Pearl 701 4G Linux (11.11.07 to 07.07.09)
Crystal Black 1005HA w/matte screen, Atom 270, 2 GB RAM (from 07.07.09)

Offline

 

#16 2007-12-30 3:38:06 am

SublimePorte
Senior Member
Registered: 2007-10-01
Posts: 829

Re: [BETA] AsusLauncher Advanced Editor

Bazza,

Its hard to imagine why something like this (or the other program) wasn't created and installed by default in the eeePC to begin with. Programmers napping, one feels.

A seperate tool shouldn't even have been necessary, it should've been a part of the AsusLauncher program itself. Right-clicking on an icon should've brought up menus to do half of these functions. I think it's more about protecting basic users from themselves.


Launcher Tools - Utilities to make the AsusLauncher interface customisable.
"If programmers deserve to be rewarded for creating innovative programs, by the same token they deserve to be punished if they restrict the use of these programs." (RMS)

Offline

 

#17 2007-12-30 8:43:26 am

Bazza
Senior Member
From: Toronto, Canada
Registered: 2007-11-11
Posts: 968

Re: [BETA] AsusLauncher Advanced Editor

SublimePorte wrote:

Bazza,

Its hard to imagine why something like this (or the other program) wasn't created and installed by default in the eeePC to begin with. Programmers napping, one feels.

A seperate tool shouldn't even have been necessary, it should've been a part of the AsusLauncher program itself. Right-clicking on an icon should've brought up menus to do half of these functions. I think it's more about protecting basic users from themselves.

Well perhaps - and that's why a separate program that one had to actually open - rather than stumbling upon this capability with an errant right-click - would be better.

Still, if new (completely inexperienced) users can't be trusted not to bugger up their eee (there's plenty of us experienced users doing that already), then perhaps the program ASUS should have provided would not allow the Settings tab (and the stuff in it) to be deleted?

Besides, there's always F9 if one really balls up the device.

I look forward to you and/or Coyotee creating The Software That ASUS Thought We Were Too Stupid To Use...

wink


Pearl 701 4G Linux (11.11.07 to 07.07.09)
Crystal Black 1005HA w/matte screen, Atom 270, 2 GB RAM (from 07.07.09)

Offline

 

#18 2008-01-05 8:31:23 am

Coyotee
Senior Member
From: Europe, Romania
Registered: 2007-11-27
Posts: 106

Re: [BETA] AsusLauncher Advanced Editor

Finally, I managed to do some more work on the editor, so, the Folder adding/editing is available now.

After importing the simpleui.rc file, just right-click on any category or subcategory (folder) for the context menu that will allow you to add a new folder (if a main category is selected) or to edit/delete (if a folder is selected. Note that deleting a folder doesn't work).

Here's some screenshots:
http://download.projectsakura.com/eeepc/cat1.png
As you can see in the picture, the add/edit window has 2 tabs:
First tab: Location & Name
It will allow you to chose it's parent category and English name. If you check the "Show more languages" option on the bottom, the window will resize and will show more Language name options as you can see in the next image:
http://download.projectsakura.com/eeepc/cat2.png
This means that you can add localized names for your language (i based the available languages from the existing entries in the simpleui.rc file)

Second tab: Icon
This will allow you to set the folder's icon.
http://download.projectsakura.com/eeepc/cat3.png
A neat little feature I included in it is the dropdown list with all the icons available in the /opt/xandros/share/AsusLauncher/ directory. The program will read that dir and list all *_norm.png files (I still need to modify it to check for the _hi.png icon before adding it to the dropdown list to be sure you won't have blank icons when highlighting). The moment you select an icon, it's preview will be shown (unfortunately I still need to fix the alpha transparency as you can see in the screenshot).


Please note that changing the parent category for an existing folder will change it's internal id (used by the icons) so I don't recommend doing it at the moment (I haven't written the code to update the icons to the new category id).

I have also activated the Save option from the menu so now you can save the new simpleui.rc file (it will ask you where and with what name to save). So now you can test the output.

*link removed* (zip file, make sure you give the extracted binary exec permissions).

Unfortunately I don't have enough time to work on it so the release date is still far :(

Last edited by Coyotee (2008-01-12 1:20:53 pm)


AsusLauncher Advanced Editor v0.5.6 BETA - Advanced editor for the EEE PC Easy Mode interface. Last update: 2008-08-22, version 0.5.6 - updated for 90x series (new override location)!
*Workin on version 0.6 - release date unknown yet*

Offline

 

#19 2008-01-05 9:25:02 am

Grogs
Member
Registered: 2007-11-16
Posts: 25

Re: [BETA] AsusLauncher Advanced Editor

Thanks for the time you've put in. This is shaping up to be something very useful. I hope you get time eventually to work a little more on it. smile

Offline

 

#20 2008-01-12 7:17:01 am

Graves
Senior Member
From: Oldenburg, Germany
Registered: 2007-12-17
Posts: 386

Re: [BETA] AsusLauncher Advanced Editor

thank you for the nice tool... a feature that would vastely improve iit and should not be that hard to implement would be to make items from one catecory or subcategory draggable to another, or if not draggable at least moveable in a copy&paste manner. that way you could move items instead of having to rewrite the entries if you want them in another category.


Get the brand new Version 2.1 of my eeeXubuntu-OSD Scriptpack.
----
Black EEE 8G imported from Taiwan, running eeeXubuntu r3

Offline

 

#21 2008-01-12 7:33:31 am

Coyotee
Senior Member
From: Europe, Romania
Registered: 2007-11-27
Posts: 106

Re: [BETA] AsusLauncher Advanced Editor

Well.. you will be able to see what it can do in about 6 or 7 hours when I'm releasing the BETA version.

I still need to add the subcategory delete action, a few bug fixes, and a neat little feature. After I finish with those, I will put the beta version for download in a zip file, and after some public testing will make the .deb package.


AsusLauncher Advanced Editor v0.5.6 BETA - Advanced editor for the EEE PC Easy Mode interface. Last update: 2008-08-22, version 0.5.6 - updated for 90x series (new override location)!
*Workin on version 0.6 - release date unknown yet*

Offline

 

#22 2008-01-12 7:51:51 am

Graves
Senior Member
From: Oldenburg, Germany
Registered: 2007-12-17
Posts: 386

Re: [BETA] AsusLauncher Advanced Editor

just leave me a pm when its out, i am going to test it smile


Get the brand new Version 2.1 of my eeeXubuntu-OSD Scriptpack.
----
Black EEE 8G imported from Taiwan, running eeeXubuntu r3

Offline

 

#23 2008-01-12 1:48:28 pm

Coyotee
Senior Member
From: Europe, Romania
Registered: 2007-11-27
Posts: 106

Re: [BETA] AsusLauncher Advanced Editor

Finally, I managed to finish the beta version that's ready for public testing.

Instructions:
See this message for download link: http://forum.eeeuser.com/viewtopic.php? … 68#p117968

If you don't have a local simpleui.rc file (/home/user/.AsusLauncher/simpleui.rc) then program will show 2 messages about it and what it is going to do (create a copy of the global simpleui.rc file to the local config directory). Otherwise, it will simply start, automatically loading all categories and icons located in the local config file. Note: If you already have a local copy of the configuration file but didn't fix it's XML syntax errors, the program will give an error (the simplest way to fix is to remove the local copy of the simpleui.rc file so it will be generated again from the global one).

"Play" as you wish with the icons and tabs (to add/edit/modify a category, right click on a category/subcategory for popup menu). The icons can be edited either with the button located bellow the list, or with double-clicking.

The icon selection is different from the one in Launcher Tools. The program will automatically create a dropdown list with the present icons (it will only show 1 icon per 5 icons detected (so you won't have for example 3g_norm.png / 3g_hi.png / home_3g_hi.png / etc) ).

If you have Launcher Tools installed, you will have an entry to restart the Asus Launcher from the Advanced Menu. If the reloadalg script from Launcher Tools is not found, the entry won't appear.

And now, the thing you might be wondering. What's with the /opt/ProjectSakura/eme/icons/*.xml files. Well, those XML files are practically a copy of the simpleui.rc file containing one or more <folder> or <parcel> entries, and instead of the root element <simpleui> is <eme_import>. These XML files are detected on startup and added to the main menu, allowing you to quickly import in the main configuration file one or more icons with only a few mouse clicks (I included only 3 xml files. One for the editor, one for the ebook icon and another for the wikipedia icon).

Note, if the editor won't start, and in the terminal window will appear a "segmentation fault" error, make a copy of the executable and try running that.

I expect some feedback so I will know what to improve / change so the final version will be released asap.

Last edited by Coyotee (2008-01-29 2:45:29 pm)


AsusLauncher Advanced Editor v0.5.6 BETA - Advanced editor for the EEE PC Easy Mode interface. Last update: 2008-08-22, version 0.5.6 - updated for 90x series (new override location)!
*Workin on version 0.6 - release date unknown yet*

Offline

 

#24 2008-01-12 1:59:19 pm

Niel1952
Moderator
From: Cambridge, UK
Registered: 2007-11-02
Posts: 4802

Re: [BETA] AsusLauncher Advanced Editor

I will be trying this out shortly but am a bit concerened about

Note: If you already have a local copy of the configuration file but didn't fix it's XML syntax errors, the program will give an error (the simplest way to fix is to remove the local copy of the simpleui.rc file so it will be generated again from the global one).

Would it not be possible to back up the global simpleui.rc and then to copy the local one back to the global one before deleting the local one?


[Tweaking for] Absolute Beginners - A Guide to tweaking the Eee PC with wizards.
eeeuser Google Custom Search - THE eeeuser.com Search Tool

Offline

 

#25 2008-01-13 6:25:29 am

Coyotee
Senior Member
From: Europe, Romania
Registered: 2007-11-27
Posts: 106

Re: [BETA] AsusLauncher Advanced Editor

You don't have to delete the local copy as long as the XML file is valid. If it's not valid, the program will complain about an invalid line (should tell the line no. and problem). If you fix the local copy by hand, u don't have to remove the local one. Or, you could overwrite the global one with the local if you have it customized but don't know how to fix it.

Come on ppl, need some feedback here.


AsusLauncher Advanced Editor v0.5.6 BETA - Advanced editor for the EEE PC Easy Mode interface. Last update: 2008-08-22, version 0.5.6 - updated for 90x series (new override location)!
*Workin on version 0.6 - release date unknown yet*

Offline

 

Board footer

Powered by PunBB 1.2.15
© Copyright 2002–2005 Rickard Andersson