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 2008-09-15 8:05:43 am

albkwan
ExtrEmE User
From: Hong Kong
Registered: 2007-11-04
Posts: 1440
Website

Script for the lazy to enable icewm start menu

I have written a script for the lazy guys to enable icewm start menu as per all the steps in this wiki: Enable the Start Menu in Eee PC Easy Mode. Then you will have a nice start menu with a Programs menu and some common program shortcuts on top.

http://wiki.eeeuser.com/_media/howto:howto:debian_menu.png?w=&h=&cache=cache

To achieve this, download my script  icewmstart.tgz [EDIT 2009/8/16: Changed download link to www.mediafire.com.], unzip it to "My Home", give it exec permission if necessary (right click on it, select [Properties] > [Permissions], and check all the [Exec] boxes) and double-click on it to run.

The script will need to have Internet access to install 2 packages: menu and xexec. If your Eeepc don't have Internet access, then you can download the 2 packages menu_2.1.33_i386.deb  and xexec_0.0.3-24_i386.deb and install them manually (right click in File Manager and choose "Install DEB file").

Please note that this script assumes you have not enabled the icewm start menu before. You will meet with unpredictable result if you have previously enable start menu and edit things by yourself. So delete your old .icewm folder if you want to use this script.

=====================

What this script does:
- Enabe icewm start menu
- set up hotkey [Ctrl]-[Home] for start menu
- change time format from 24 hours to AM/PM
- set up logout command in start menu to run default shutdown dialog
- set up run command in start menu to run xexec
- setup hotkey [Ctrl]-[Alt]-[T] for konsole Terminal
- setup hotkey [Ctrl]-[Alt]-[E] for default text editor
- setup hotkey [Ctrl]-[Alt]-[x] for xexec to run command
- setup default icewm Icon search path
- add /opt/xandros/share/AsusLauncher/ to Icon search path
- backup existing menu file, if any
- prompt user to select and add some common program shortcuts (as per screenshot above)
- check if the program "menu" is installed, install it from Debian repos if not found
- check if the program "xexec" is installed, install it from Debian repos if not found
[NB. The script will temporarily replace your /etc/sources.list file to install from Debian repos. In the end, your repositories list will be left untouched.]

After operation completed, then you can press [Ctrl]-[Alt]-[BackSpace] to restart icewm. But if you are installing "Debian menu" for the first time, it will take long time before the system can generate the Programs menu (in the background). So,  just be patient.

===================

Additionally, if you would like to have start menu items like the Asus tabbed menu, you can try my Script for building icewm start menu from Asus tabbed menu. But be warned, it is still under beta testing.

Last edited by albkwan (2009-08-16 11:17:29 am)


EeePC 4G white,
Default Xandros (Easy Mode + icewm start menu) on 1st SSD/2nd 16GB SSD added/SD/USB/
http://eeepc.fire.prohosting.com/
http://eeepc-albkwan.blogspot.com/

Offline

 

#2 2008-09-15 8:55:20 am

brucine
ExtrEmE User
Registered: 2008-03-26
Posts: 2479

Re: Script for the lazy to enable icewm start menu

Good work, even if it is too late for me: i didn't have the time to be lazy, i did the job "manually".

What eeepc versions is your script adapted to? (as an example, 4G 701, french version, does not have by default Star Office but Ooo).

Offline

 

#3 2008-09-15 9:28:56 am

albkwan
ExtrEmE User
From: Hong Kong
Registered: 2007-11-04
Posts: 1440
Website

Re: Script for the lazy to enable icewm start menu

brucine wrote:

What eeepc versions is your script adapted to? (as an example, 4G 701, french version, does not have by default Star Office but Ooo).

I have tested it in my 4G with the default 701, and also 900 and 1000h build booted from USB. So I suppose it should work on all models.

The "Debian System menu" generates Program menu entries from a menu file in /usr/lib/menu/<package-name> which the package provides. These are called Debian menu aware programs. Basically all decent Debian packages should fall into this category.

As for language version, I think "Debian System menu" supports locale. But again, it will depend on the software developer to add the program information in the different locales into their program.

The only drawback is that the menu will appear in a different tree structure compared with the Asus tabbed menu we are used to. That is why I also work on the Script for building icewm start menu from Asus tabbed menu.


EeePC 4G white,
Default Xandros (Easy Mode + icewm start menu) on 1st SSD/2nd 16GB SSD added/SD/USB/
http://eeepc.fire.prohosting.com/
http://eeepc-albkwan.blogspot.com/

Offline

 

#4 2008-09-15 2:07:22 pm

brucine
ExtrEmE User
Registered: 2008-03-26
Posts: 2479

Re: Script for the lazy to enable icewm start menu

Thank you for your precisions, although they do not entirely answer not to my question (as i said, i did it the manual way), but to those of the future users:
you say that the script asks for the installation of the shortcuts of common programs.

But how should this user, you said he is lazy, adapt this script for some peculiar programs to be found in his particular hardware and/or local version?

Offline

 

#5 2008-09-15 5:45:29 pm

hotspot
Senior Member
Registered: 2008-07-18
Posts: 229

Re: Script for the lazy to enable icewm start menu

@albkwan, You're a star sir. smile
Works like a charm on my 901. At last I can access the full power of my Eee.


901 Linux. BIOS: 2001. Easy mode.

Offline

 

#6 2008-09-15 7:45:25 pm

lagagnon
ExtrEmE User
Registered: 2007-11-10
Posts: 2783

Re: Script for the lazy to enable icewm start menu

tarant8l: you are hijacking threads yet again. Please, if you have a question on a different topic, start a new post.


HowTo Ask Questions the Smart Way
You keep believing, I'll keep evolving. Anon

Offline

 

#7 2008-09-16 1:35:42 am

albkwan
ExtrEmE User
From: Hong Kong
Registered: 2007-11-04
Posts: 1440
Website

Re: Script for the lazy to enable icewm start menu

brucine wrote:

Thank you for your precisions, although they do not entirely answer not to my question (as i said, i did it the manual way), but to those of the future users:
you say that the script asks for the installation of the shortcuts of common programs.

These are just a few of those programs we commonly use. They are already shown on the screenshot above. I have not planned to add locale support for these few entries. But this is possible if there is the need.

brucine wrote:

But how should this user, you said he is lazy, adapt this script for some peculiar programs to be found in his particular hardware and/or local version?

I write this script because I am a big fan of the simple desktop + icewm start menu, and I see that many people tested the Advanced Desktop and turn back to the simple desktop. For me, I never try the Advanced Desktop. Because in my experience, I know KDE is slow. The reason I can understand so many people test on the Advanced Desktop is because there is a program that can easily change to the Advanced desktop, but we are lacking something like this for the icewm start menu.

The changes this script apply is actually very easy to DIY following wiki instruction, so this is just for the lazy. Anyone can easily adapt to his need once start menu is enabled. To modify the script however is complicated, you need good knowledge on writing shell script. This is not what I have intended for.


EeePC 4G white,
Default Xandros (Easy Mode + icewm start menu) on 1st SSD/2nd 16GB SSD added/SD/USB/
http://eeepc.fire.prohosting.com/
http://eeepc-albkwan.blogspot.com/

Offline

 

#8 2008-09-26 11:11:21 pm

winotree
ExtrEmE User
From: Texas
Registered: 2007-11-11
Posts: 2743

Re: Script for the lazy to enable icewm start menu

That looks like some more fine work on your part, albkwan.  Thank you for sharing it with everyone!  big_smile

Offline

 

#9 2008-09-27 11:18:39 am

albkwan
ExtrEmE User
From: Hong Kong
Registered: 2007-11-04
Posts: 1440
Website

Re: Script for the lazy to enable icewm start menu

winotree wrote:

That looks like some more fine work on your part, albkwan.  Thank you for sharing it with everyone!  big_smile

You see! I am working hard to promote the Simple Desktop + icewm start menu. smile


EeePC 4G white,
Default Xandros (Easy Mode + icewm start menu) on 1st SSD/2nd 16GB SSD added/SD/USB/
http://eeepc.fire.prohosting.com/
http://eeepc-albkwan.blogspot.com/

Offline

 

#10 2008-09-27 5:43:21 pm

mellz
Senior Member
Registered: 2007-12-01
Posts: 197

Re: Script for the lazy to enable icewm start menu

albkwan,

I have installed your icewm and it works very nicely but I have a couple of glitches:

(1)If I go start, programs nothing happens

(2) If I go apps/Xandros utilities longman Dictionary it show no icon and idicates "file size 0".
Yet the distionary nis present as it works fine from the Easy Mode menu icon.

Offline

 

#11 2008-09-27 7:33:29 pm

thorngrove
New member
From: Slough, England
Registered: 2008-09-27
Posts: 1

Re: Script for the lazy to enable icewm start menu

Just wanted to say thank you very much! I'm a total beginner to Linux and am very slowly learning my way around the system, so this is a welcome shortcut.

Offline

 

#12 2008-09-27 7:47:21 pm

northvan10
New member
Registered: 2008-09-01
Posts: 1

Re: Script for the lazy to enable icewm start menu

albkwan:

Thanks from another lazy eee pc user :-) You're script worked perfectly!

Offline

 

#13 2008-09-27 9:15:25 pm

albkwan
ExtrEmE User
From: Hong Kong
Registered: 2007-11-04
Posts: 1440
Website

Re: Script for the lazy to enable icewm start menu

mellz wrote:

(1)If I go start, programs nothing happens

It will take some time before the system can construct the Program menu after 1st installation of the Debian Program Menu. This process runs background after you reboot. Just be patient. Or to verify if the installation is successful, you can check in synpatic or in a terminal type "dpkg -l menu". If it show ii, then it is installed.

mellz wrote:

If I go apps/Xandros utilities longman Dictionary it show no icon and idicates "file size 0".
Yet the distionary nis present as it works fine from the Easy Mode menu icon.

The application shortcut for konqueror "apps/Xandros" is probably not the same as the Easy Mode menu icon which is using kde application shortcut, if you can still run the dictionary, it means the dictionary is still working and the KDE desktop shortcut is working. But may be the application shortcut for konqueror  "apps/Xandros" to run the Longman Dictionary is damaged on yours. On my EeePC, this icon is working.


EeePC 4G white,
Default Xandros (Easy Mode + icewm start menu) on 1st SSD/2nd 16GB SSD added/SD/USB/
http://eeepc.fire.prohosting.com/
http://eeepc-albkwan.blogspot.com/

Offline

 

#14 2008-10-02 4:09:10 am

swannie
ExtrEmE User
From: Ioannina GREECE
Registered: 2008-05-18
Posts: 1019

Re: Script for the lazy to enable icewm start menu

@albkwan,

Thanks for a perfect combination - Easy Mode and icewm start menu. It installed very easily and very fast - no waiting around - I just rebooted and there it was, ready. As hotspot says ' you're a star!'


701 4G Surf  Easy Mode + Icewm
901 4G + 16G Ubuntu eee

Offline

 

#15 2008-10-03 3:57:01 pm

swannie
ExtrEmE User
From: Ioannina GREECE
Registered: 2008-05-18
Posts: 1019

Re: Script for the lazy to enable icewm start menu

Oh wait - just realised my menu goes only up to Programs and I don't have the 'Firefox down to apps:/Xandros' bit.

Can anyone tell me which step I missed out?


701 4G Surf  Easy Mode + Icewm
901 4G + 16G Ubuntu eee

Offline

 

#16 2008-10-03 8:47:45 pm

albkwan
ExtrEmE User
From: Hong Kong
Registered: 2007-11-04
Posts: 1440
Website

Re: Script for the lazy to enable icewm start menu

swannie wrote:

Oh wait - just realised my menu goes only up to Programs and I don't have the 'Firefox down to apps:/Xandros' bit.

Can anyone tell me which step I missed out?

This means there is syntax error in the /home/user/.icewm/menu file. Have you add something new yourself? It can be a mis-match in { and } or some words icewm think is a syntax error. You can edit the file yourself to check for the error or if you don't want to mess around with it, just delete it and run the script again. [NB. You have to select "View" > "Show Hidden Files" to be able to see this file.]


EeePC 4G white,
Default Xandros (Easy Mode + icewm start menu) on 1st SSD/2nd 16GB SSD added/SD/USB/
http://eeepc.fire.prohosting.com/
http://eeepc-albkwan.blogspot.com/

Offline

 

#17 2008-10-03 9:40:27 pm

robegusn
Member
Registered: 2008-09-23
Posts: 33

Re: Script for the lazy to enable icewm start menu

I used this and it is a great script.

Kudo's to the developer!

Robert

Offline

 

#18 2008-10-04 1:21:10 am

swannie
ExtrEmE User
From: Ioannina GREECE
Registered: 2008-05-18
Posts: 1019

Re: Script for the lazy to enable icewm start menu

albkwan wrote:

swannie wrote:

Oh wait - just realised my menu goes only up to Programs and I don't have the 'Firefox down to apps:/Xandros' bit.

Can anyone tell me which step I missed out?

This means there is syntax error in the /home/user/.icewm/menu file. Have you add something new yourself? It can be a mis-match in { and } or some words icewm think is a syntax error. You can edit the file yourself to check for the error or if you don't want to mess around with it, just delete it and run the script again. [NB. You have to select "View" > "Show Hidden Files" to be able to see this file.]

Thanks for your quick reply. The only things I have added myself are FF3 using yurenju's download and the Greek language. Would one of those affect it? I can delete it and run it again later but do you think the same thing will happen? I don't think I can edit the file myself - don't know enough.


701 4G Surf  Easy Mode + Icewm
901 4G + 16G Ubuntu eee

Offline

 

#19 2008-10-04 3:34:55 pm

swannie
ExtrEmE User
From: Ioannina GREECE
Registered: 2008-05-18
Posts: 1019

Re: Script for the lazy to enable icewm start menu

Update - Success big_smile

I have enabled the start menu exactly as shown on your screenshot, albakwan, by opening icewmstart.sh, choosing items 1-9 and rebooting.

It took a while to figure this out and a bit of playing around but I did it and I am beginning to really love this system thanks to the great help on this forum.


701 4G Surf  Easy Mode + Icewm
901 4G + 16G Ubuntu eee

Offline

 

#20 2008-10-04 5:36:41 pm

demill
Senior Member
Registered: 2008-03-23
Posts: 844

Re: Script for the lazy to enable icewm start menu

Good job swannie, I am impressed. smile I'm beginning to really love this system too!


701 Easy Mode, icewm, pcman File Manager. Firefox 3.5.4 and Adobe Flash Player 10. Registered Linux User # 497450

Offline

 

#21 2008-10-07 7:32:18 pm

robegusn
Member
Registered: 2008-09-23
Posts: 33

Re: Script for the lazy to enable icewm start menu

I have the menu installed and it works great.

Asus pushed out an update (today - October 7, 2008) to the Eee 1000 (linux) that trashed any mods to the Easy Interface, so the  start menu has been a life saver.

After I installed the menu, I used some GUI tool to edit it, but for the life of me I can't remember the command.  Does anyone know the name of the GUI tool to edit the IceWM menu?

Thanks

Robert

Offline

 

#22 2008-10-07 7:53:14 pm

robegusn
Member
Registered: 2008-09-23
Posts: 33

Re: Script for the lazy to enable icewm start menu

Offline

 

#23 2009-07-17 5:41:43 pm

mellz
Senior Member
Registered: 2007-12-01
Posts: 197

Re: Script for the lazy to enable icewm start menu

Albkwan.

Re http://forum.eeeuser.com/viewtopic.php?id=44277

and

http://kaiyin1.sinababy.com/eeepc/icewmstart.tgz

The link just gives me a blank page and there is no file download.

Offline

 

#24 2009-07-17 9:35:32 pm

DaVince
Senior Member
From: Amsterdam, Netherlands
Registered: 2008-09-17
Posts: 313
Website

Re: Script for the lazy to enable icewm start menu

Very nice! But could you make the script ask if you want AM/PM or 24 hour mode? I'm used to only 24 hour mode.


Don't see me as an ordinary man.
Though I am an ordinary man.

Eee PC 4G 701 using XUbuntu 9.04 with latest generic kernel.

Offline

 

#25 2009-07-19 1:16:48 am

plodr
Moderator
From: PA
Registered: 2007-12-30
Posts: 4558

Re: Script for the lazy to enable icewm start menu

DaVince are you running Xandros Easy Mode or Xubuntu?

In Xandros, open the File manager and /.icewm preferences. Right click and open with a text editor. Scroll down to #Clock Time Format
change TimeFormat="%I:%M %p"
to TimeFormat="%R"

ctrl+alt+backspace will restart X so you can see the change.


4G Pearl White, 1 GB RAM, Xandros Easy Mode
HP5550 networked printer
Registered Linux User # 401459

Offline

 

Board footer

Powered by PunBB 1.2.15
© Copyright 2002–2005 Rickard Andersson