OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Automatic Load Mb-applet-powerctrl In Pdaxii13
climber
post Oct 23 2007, 03:03 AM
Post #1





Group: Members
Posts: 193
Joined: 21-November 05
Member No.: 8,574



Hi,

I want to add the mb-applet-powerctrl applet v1.0.2 under pdaXii13 v5.5 alpha4 permanent and prevent mb-applet-volume from loading. I use icewm as window maker.

How can I do this? huh.gif


Thanks
climber

SL-C3100 & pdaXii13 v5.5 alpha4
Go to the top of the page
 
+Quote Post
ecc_hy
post Oct 23 2007, 06:13 AM
Post #2





Group: Members
Posts: 127
Joined: 5-January 07
Member No.: 13,705



How to use mb-applet-powerctrl in icewm?
1. Autorun when icewm startup
check & add line to ~/.xinitrc:
CODE
icewm 2>deve/null >/dev/null & wmpid=$!
icewmtray & >/dev/null
mb-applet-powerctrl & >dev/null


2. Use Menu to load powerctrl:
run makeicemenu in terminal after mb-applet-powerctrl installed.
the new menu item called "Power control" should be added into program->panel.
If you do not have panel yet, check
QUOTE
~/.icewm/programs

and delete char "#" before the line contain "folder panel"
Go to the top of the page
 
+Quote Post
ecc_hy
post Oct 23 2007, 06:15 AM
Post #3





Group: Members
Posts: 127
Joined: 5-January 07
Member No.: 13,705



icewm reload every applet when screen rotate.
There is a another file working for icewm rotate, but I forgot the name.

That is important.
Go to the top of the page
 
+Quote Post
Meanie
post Oct 23 2007, 03:42 PM
Post #4





Group: Members
Posts: 2,808
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686



~/.icewm/icedock contains a list of applets (one on each line) that gets automatically loaded by icewm and reloaded on rotation
no hacking of .initrc is required.
Go to the top of the page
 
+Quote Post
climber
post Oct 24 2007, 12:06 AM
Post #5





Group: Members
Posts: 193
Joined: 21-November 05
Member No.: 8,574



Meanie,

yes that's correct but I only found icedock in "/etc/icewm/" folder. I replaced the volume applet with the powerctrl applet. This works fine for me.

Before I found this out I tried the steps from ecc_hy and typed run makeicemenu in terminal. Ather that I couldn't find a new menu item called "Power control" which should be added into program->panel. I thought it should be here ~root/.icewm/ but I have only the following files inside ~root/.icewm/:
- Games
- Games.bak
- Graphics
- Graphics.bak
- Network
- Network.bak
- Office
- Office.bak
- Utiltities
- Utilities.bak

That's all. Do you have more entries and if it's necessary how can I add the missing ones.

Thanks
climber
Go to the top of the page
 
+Quote Post
Meanie
post Nov 15 2007, 06:53 PM
Post #6





Group: Members
Posts: 2,808
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686



QUOTE(climber @ Oct 24 2007, 06:06 PM) *
Meanie,

yes that's correct but I only found icedock in "/etc/icewm/" folder. I replaced the volume applet with the powerctrl applet. This works fine for me.

Before I found this out I tried the steps from ecc_hy and typed run makeicemenu in terminal. Ather that I couldn't find a new menu item called "Power control" which should be added into program->panel. I thought it should be here ~root/.icewm/ but I have only the following files inside ~root/.icewm/:
- Games
- Games.bak
- Graphics
- Graphics.bak
- Network
- Network.bak
- Office
- Office.bak
- Utiltities
- Utilities.bak

That's all. Do you have more entries and if it's necessary how can I add the missing ones.

Thanks
climber


ok, let me try to summarise how the config works.
/etc/icewm is where the default config is stored.
~/.icewm is where your customised config is stored.
if you mess up your config, you can just remove everything from ~/.icewm and the default configs will be used
makeicemenu (re)generates the menu files under ~/.icewm
you can remove the .bak ones if you wish, they are just backups of existing menu files prior to regeneration in case you had customised them and the regeneration removed your customisations so you can find your customisations easily and add them back.
The Settings menu file is not regenerated and you can customise it by copying it from /etc/icewm and manually adding entries for PowerCtrl
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 30th October 2014 - 10:59 AM