User talk:Hopspitfire

From WebOS Internals
Jump to navigation Jump to search

Porting pages

Hey, welcome to the wiki. One thing: don't add your signature to pages you transfer over from the old wiki. This is a community effort, those pages will be edited by other people, and we want to try to keep a consistent look across pages. Thanks. —X1011 17:18, 20 July 2009 (UTC)

All instances of signature have been removed -hopspitfire

/ in page titles

If you can please do not use "/" in page titles. --Templarian 23:27, 20 July 2009 (UTC)

THANK YOU for your hard work on the wiki!

Please accept this "nobody knows the trouble I've seen" award as a token of our appreciation.

Drudgery.jpg

rboatright 02:11, 24 July 2009 (UTC)

Congrats on becoming an Editor --Templarian 13:16, 28 July 2009 (UTC)

Deletions

I just had a horrible thought.

All those deletions you're doing that are pages that only had you as an editor...

if you delete the redireccts, aren't you deleting the thing that the old-page on the old-wiki links to? so you have broken the redirect FROM the old-wiki?

and that means that if anyone had blog-pages or precentral posts that linked to those, THOSE are broken.

I've never understood what's wrong with lots of redirects. One of my patrol pages on wikipedia has 27 redirects that end up there. And that's a GOOD thing. :-)

rboatright 05:16, 31 July 2009 (UTC)


agreed; see WebOS Internals talk:Policies and guidelines#Proposed: RedirectsX1011 05:59, 31 July 2009 (UTC)

Sit tight guys, I'm fixing all the links from predev. hopspitfire 06:01, 31 July 2009 (UTC)

  • edit All broken links have been fixed on predev. Rick, thanks for bringing this up. hopspitfire 06:16, 31 July 2009 (UTC)

Support Section

Patch webOS Show Actual Battery Percentage

I am having difficulty importing and pushing this particular app. I was curious if you would assist me. I have the webos 1.1 update. I get to the place (look below) and then im stuck.

dlbpre@castle:~$ sudo su -
root@castle:/var/home/root# cd /
root@castle:/# mount -o remount,rw /
root@castle:/# quilt import Index: /usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js

of course I checked the quilt series to make sure i imported it correctly and then I pushed it and rebooted the device. When it powers back on..no change...apparently i am missing something.

Sorry to ask you to "dumb it down" but i am a tyro (novice) to linux... :(

thanks for your help if you do decide to assist!!!!! :-D -Dlbpre


No problem at all. The first thing I'm noticing is that you're importing the wrong file, you'll want to import the '.patch' file. To accomplish this, you'll need to get the webos-internals modifications repo. Here:
sudo -s
mount -o remount,rw /
cd /opt/src
git clone git://gitorious.org/webos-internals/modifications.git

You'll need to make sure that quilt is configured correctly, type:

mkdir -p /opt/src/patches
sed -ire 's|^[\s#]*QUILT_PATCHES=.*|QUILT_PATCHES=/opt/src/patches|' /opt/etc/quilt.quiltrc

Make sure to remove the old series file before importing

rm /opt/src/patches/series
rm /opt/src/patches/bar-assistant.js

Then run:

quilt import /opt/src/modifications/luna/show-actual-battery-percent.patch
cd /
quilt push -a

Then reboot:

reboot

Let me know if it works. -hopspitfire 00:27, 16 August 2009 (UTC)



I get to here

root@castle:/# quilt import /opt/src/modifications/luna/show-actual
-battery-percent.patch
Patch quilt does not exist
root@castle:/#

I followed every direction to the "T". Copy and paste precisely what was listed.

Thanks for your assistance man (maybe lady). I really do appreciate the quick response.-Dlbpre


Hrmm, can you run this command and post the output:
find /opt/src

-hopspitfire 01:15, 16 August 2009 (UTC)


Here are the steps you applied to my previous question.


dlbpre@castle:~$ sudo -s
root@castle:/var/home/dlbpre# mount -o remount,rw /
root@castle:/var/home/dlbpre# cd /opt/src
root@castle:/opt/src# git clone git://gitorious.org/webos-internals/modification s.git
fatal: destination path 'modifications' already exists and is not an empty directory.
root@castle:/opt/src#
root@castle:/opt/src# mkdir -p /opt/src/patches
root@castle:/opt/src#
root@castle:/opt/src# sed -ire 's|^[\s#]*QUILT_PATCHES=.*|QUILT_PATCHES=/opt/src
/patches|' /opt/etc/quilt.quiltrc
root@castle:/opt/src# rm /opt/src/patches/series
rm: cannot remove '/opt/src/patches/series': No such file or directory
root@castle:/opt/src# rm /opt/src/patches/bar-assistant.js
rm: cannot remove '/opt/src/patches/bar-assistant.js': No such file or directory
root@castle:/opt/src# quilt import /opt/src/modifications/luna/show-actual-batte
ry-percent.patch
Importing patch /opt/src/patches/show-actual-battery-percent.patch
root@castle:/opt/src# cd /
root@castle:/# quilt push -a
File series fully applied, ends at patch /opt/src/patches/bar-assistant.js
root@castle:/# mount -o remount,ro /
root@castle:/# reboot
/bin/sh: reboot: not found




As requested.

root@castle:/# find /opt/src
/opt/src
/opt/src/patches
/opt/src/patches/show-actual-battery-percent.patch
/opt/src/patches/series
/opt/src/patches/default-to-month-view.patch
/opt/src/patches/capture_with_volume_keys.patch
/opt/src/modifications
/opt/src/modifications/amazonstore
/opt/src/modifications/amazonstore/amazon_evdo.patch
/opt/src/modifications/applauncher
/opt/src/modifications/applauncher/add-delete-pages-in-the-launcher.patch
/opt/src/modifications/camera
/opt/src/modifications/camera/capture_with_volume_keys.patch
/opt/src/modifications/install
/opt/src/modifications/clock
/opt/src/modifications/clock/hidden-clock.patch
/opt/src/modifications/messaging
/opt/src/modifications/messaging/messaging-sounds.patch
/opt/src/modifications/messaging/message-forwarding.patch
/opt/src/modifications/.git
/opt/src/modifications/.git/logs
/opt/src/modifications/.git/logs/HEAD
/opt/src/modifications/.git/logs/refs
/opt/src/modifications/.git/logs/refs/heads
/opt/src/modifications/.git/logs/refs/heads/master
/opt/src/modifications/.git/logs/refs/remotes
/opt/src/modifications/.git/logs/refs/remotes/origin
/opt/src/modifications/.git/logs/refs/remotes/origin/HEAD
/opt/src/modifications/.git/config
/opt/src/modifications/.git/hooks
/opt/src/modifications/.git/hooks/pre-rebase.sample
/opt/src/modifications/.git/hooks/prepare-commit-msg.sample
/opt/src/modifications/.git/hooks/pre-commit.sample
/opt/src/modifications/.git/hooks/post-receive.sample
/opt/src/modifications/.git/hooks/commit-msg.sample
/opt/src/modifications/.git/hooks/post-commit.sample
/opt/src/modifications/.git/hooks/pre-applypatch.sample
/opt/src/modifications/.git/hooks/applypatch-msg.sample
/opt/src/modifications/.git/hooks/update.sample
/opt/src/modifications/.git/hooks/post-update.sample
/opt/src/modifications/.git/objects
/opt/src/modifications/.git/objects/pack
/opt/src/modifications/.git/objects/pack/pack-d852f8e9c46d1d6fe4abb0714a5d469011a6db08.idx
/opt/src/modifications/.git/objects/pack/pack-d852f8e9c46d1d6fe4abb0714a5d469011a6db08.pack
/opt/src/modifications/.git/objects/info
/opt/src/modifications/.git/description
/opt/src/modifications/.git/packed-refs
/opt/src/modifications/.git/FETCH_HEAD
/opt/src/modifications/.git/branches
/opt/src/modifications/.git/ORIG_HEAD
/opt/src/modifications/.git/index
/opt/src/modifications/.git/info
/opt/src/modifications/.git/info/exclude
/opt/src/modifications/.git/HEAD
/opt/src/modifications/.git/refs
/opt/src/modifications/.git/refs/heads
/opt/src/modifications/.git/refs/heads/master
/opt/src/modifications/.git/refs/remotes
/opt/src/modifications/.git/refs/remotes/origin
/opt/src/modifications/.git/refs/remotes/origin/HEAD
/opt/src/modifications/.git/refs/tags
/opt/src/modifications/tasks
/opt/src/modifications/tasks/new-task-details.patch
/opt/src/modifications/email
/opt/src/modifications/email/enable-landscape-email.patch
/opt/src/modifications/email/prompt-for-ipk-installation.patch
/opt/src/modifications/phoneprefs
/opt/src/modifications/phoneprefs/roam-control.patch
/opt/src/modifications/phone
/opt/src/modifications/phone/phone-show-call-duration.sh
/opt/src/modifications/phone/phone-enable-roam-only.patch
/opt/src/modifications/soundsandalerts
/opt/src/modifications/soundsandalerts/message-tone-sounds-and-alerts.patch
/opt/src/modifications/musicplayer
/opt/src/modifications/musicplayer/bookmark.patch
/opt/src/modifications/calendar
/opt/src/modifications/calendar/default-to-month-view.patch
/opt/src/modifications/calendar/default-to-week-view.patch
/opt/src/modifications/screenlock
/opt/src/modifications/screenlock/longer_standby_times.patch
/opt/src/modifications/frameworks
/opt/src/modifications/frameworks/add-onscreen-keyboard.patch
/opt/src/modifications/luna
/opt/src/modifications/luna/disable-charging-alert-sound.patch
/opt/src/modifications/luna/quiet-powerd-messages.patch
/opt/src/modifications/luna/show-actual-battery-percent.patch
/opt/src/modifications/luna/powersave-cpu-scaling
/opt/src/modifications/luna/enable-dev-mode-icon.patch
/opt/src/modifications/luna/more_icons_per_row.patch
/opt/src/modifications/luna/powersave-smartreflex
/opt/src/modifications/README
/opt/src/modifications/browser
/opt/src/modifications/browser/enable-browser-downloads.patch

-Dlbpre


Ah ok, so it looks like you've successfully imported the patch. The problem is that it is still trying to run your previous file (bar-assistant.js, which is not a patch file):
root@castle:/# quilt push -a
File series fully applied, ends at patch /opt/src/patches/bar-assistant.js

Try this (be sure to copy and paste these, you don't want to accidently delete the wrong files):

mount -o remount,rw /
cd /
quilt pop -a
rm /opt/src/patches/*
quilt import /opt/src/modifications/luna/show-actual-battery-percent.patch
quilt push -a

To reboot the Pre, you can just press and hold <Orange-Button><Sym><R>. Let me know what happens.

Also, when you're done typing your comments, please type ~~~~ as that will insert your name and the time, like so -> hopspitfire 01:29, 16 August 2009 (UTC)


Here are the results:

root@castle:/var/home/dlbpre# mount -o remount,rw /
root@castle:/var/home/dlbpre# cd /
root@castle:/# quilt pop -a
Patch /opt/src/patches/bar-assistant.js needs to be refreshed first.
root@castle:/# rm /opt/src/patches/*
root@castle:/# quilt import /opt/src/modifications/luna/show-actual-battery-perc
ent.patch
Patch /opt/src/patches/show-actual-battery-percent.patch is applied
root@castle:/# quilt push -a
File series fully applied, ends at patch /opt/src/patches/bar-assistant.js
root@castle:/# mount -o remount,ro /

And the battery percentage has not decided to show yet. Dlbpre 02:01, 16 August 2009 (UTC)


Ok, somehow the series isn't being overwritten, which leads me to believe that it's using the wrong patches directory. Can you run this command and give me the output?
cat /opt/etc/quilt.quiltrc | grep PATCHES=

-hopspitfire 02:44, 16 August 2009 (UTC)

Nothing happens when I input that code. I did notice that you directed me to use "sudo -s"...instead of what i normally use "sudo su -". (forgive me if im an idiot and those two quotes are the same thing).

Dlbpre


OK, I figured out the problem. First, there are no dumb questions: 'sudo -s' makes you the root user while still keeping the shell and environment variables of your regular user, while 'sudo su -' makes you the root user and uses the root shell and environment variables.

The easiest way is reinstalling quilt and then redoing quiltrc. Run these commands:

mount -o remount,rw /
rm /opt/src/patches/*
ipkg-opt update
ipkg-opt remove quilt perl libdb gdbm util-linux-ng e2fslibs ncursesw ncurses
ipkg-opt install quilt-lite

The next one is REALLY important, and sets the patches directory. Make sure to copy the whole command and paste it.

sed -ire 's|^[\s#]*QUILT_PATCHES=.*|QUILT_PATCHES=/opt/src/patches|' /opt/etc/quilt.quiltrc

Run this command to make sure it worked:

cat /opt/etc/quilt.quiltrc | grep PATCHES=

Your output should be: QUILT_PATCHES=/opt/src/patches

If it isn't, then something went wrong.

If everything went well, import and try pushing the patch again

quilt import /opt/src/modifications/luna/show-actual-battery-percent.patch
quilt push -a

Let me know what happens. -hopspitfire 03:16, 16 August 2009 (UTC)

dlbpre@castle:~$ sudo -s 
root@castle:/var/home/dlbpre# mount -o remount,rw / 
root@castle:/var/home/dlbpre# rm /opt/src/patches/*
root@castle:/var/home/dlbpre# ipkg-opt update 
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/Packages.gz 
Inflating http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/Packages.gz 
Updated list of available packages in /opt/lib/ipkg/lists/cross
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/native/unstable/Packages.gz
Inflating http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/native/unstable/Packages.gz
Updated list of available packages in /opt/lib/ipkg/lists/native
Downloading http://ipkg.nslu2-linux.org/feeds/optware/pre/cross/unstable/Packages.gz
Inflating http://ipkg.nslu2-linux.org/feeds/optware/pre/cross/unstable/Packages.gz
Updated list of available packages in /opt/lib/ipkg/lists/kernel
Successfully terminated. 
root@castle:/var/home/dlbpre# ipkg-opt remove quilt perl libdb gdbm util-linux-ng e2fslibs ncursesw ncurses 
Nothing to be done 
Successfully terminated. 
Collected errors: 
Package ncurses is depended upon by packages:
 psmisc 
These might cease to work if package ncurses is removed. 

You can force removal of this package with -force-depends. 
You can force removal of this package and its dependents 
with -force-removal-of-dependent-packages or -recursive 
or by setting option force_removal_of_dependent_packages in ipkg.conf.
root@castle:/var/home/dlbpre# ipkg-opt install quilt-lite 
Package quilt-lite (0.48-5) installed in root is up to date.
Nothing to be done
Successfully terminated.
root@castle:/var/home/dlbpre# sed -ire 's|^[\s#]*QUILT_PATCHES=.*|QUILT_PATCHES=
/opt/src/patches|' /opt/etc/quilt.quiltrc
root@castle:/var/home/dlbpre# cat /opt/etc/quilt.quiltrc | grep PATCHES=
QUILT_PATCHES=/opt/src/patches
root@castle:/var/home/dlbpre# quilt import /opt/src/modifications/luna/show-actual-battery-percent.patch
Importing patch /opt/src/modifications/luna/show-actual-battery-percent.patch (stored as /opt/src/patches/show-actual-battery-percent.patch) 
root@castle:/var/home/dlbpre# quilt push -a
Applying patch /opt/src/patches/show-actual-battery-percent.patch 
can't find file to patch at input line 11 
Perhaps you used the wrong -p or --strip option? 
The text leading up to this was:
--------------------------
|show-actual-battery-percent
|
|Tested-On: 1.1
|
|//show actual battery percent in the system user interface.
|//note: battery @ 100% will only charge on a new charge event or if power is <94%
|Index: /usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js
|===================================================================
|--- .orig/usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js
|+++ /usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js
-------------------------- 
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
Patch /opt/src/patches/show-actual-battery-percent.patch does not apply (with -f)

there we go. Dlbpre


Everything looks good, I forgot to add a command to the list ('quilt push' needs to be run in '/'). Run this and it should work:
mount -o remount,rw /
cd /
quilt push -a

Let me know what happens.-hopspitfire 03:42, 16 August 2009 (UTC)


dlbpre@castle:~$ sudo -s
root@castle:/var/home/dlbpre# cd / 
root@castle:/# mount -o remount,rw / 
root@castle:/# quilt push -a 
File series fully applied, ends at patch /opt/src/patches/bar-assistant.js 
root@castle:/# 

ran it and rebooted. Still no appearance. BTW is there a way I can donate money to you? You have nearly worked with me all night...for no reason but to just assist. God Bless and thank you. Let me know what to do next! :) Dlbpre


Haha, we can't accept donations :) but I'm glad you're not giving up, and you're definitely welcome!
For some reason it keeps trying to use 'bar-assistant.js' as a patch, when it isn't. Can you run these commands and paste the output, the 1st command does a whole file and directory listing of /opt/src, and the second commands tells us what files that quilt will try and use as a patch:
find /opt/src/
cat /opt/src/patches/series

-hopspitfire 04:03, 16 August 2009 (UTC)



Here we are.

dlbpre@castle:~$ find /opt/src/
/opt/src/
/opt/src/patches
/opt/src/patches/show-actual-battery-percent.patch
/opt/src/patches/series
/opt/src/modifications
/opt/src/modifications/amazonstore
/opt/src/modifications/amazonstore/amazon_evdo.patch
/opt/src/modifications/applauncher
/opt/src/modifications/applauncher/add-delete-pages-in-the-launcher.patch
/opt/src/modifications/camera
/opt/src/modifications/camera/capture_with_volume_keys.patch
/opt/src/modifications/install
/opt/src/modifications/clock
/opt/src/modifications/clock/hidden-clock.patch
/opt/src/modifications/messaging
/opt/src/modifications/messaging/messaging-sounds.patch
/opt/src/modifications/messaging/message-forwarding.patch
/opt/src/modifications/.git
/opt/src/modifications/.git/logs
/opt/src/modifications/.git/logs/HEAD
/opt/src/modifications/.git/logs/refs
/opt/src/modifications/.git/logs/refs/heads
/opt/src/modifications/.git/logs/refs/heads/master
/opt/src/modifications/.git/logs/refs/remotes
/opt/src/modifications/.git/logs/refs/remotes/origin
/opt/src/modifications/.git/logs/refs/remotes/origin/HEAD
/opt/src/modifications/.git/config
/opt/src/modifications/.git/hooks
/opt/src/modifications/.git/hooks/pre-rebase.sample
/opt/src/modifications/.git/hooks/prepare-commit-msg.sample
/opt/src/modifications/.git/hooks/pre-commit.sample
/opt/src/modifications/.git/hooks/post-receive.sample
/opt/src/modifications/.git/hooks/commit-msg.sample
/opt/src/modifications/.git/hooks/post-commit.sample
/opt/src/modifications/.git/hooks/pre-applypatch.sample
/opt/src/modifications/.git/hooks/applypatch-msg.sample
/opt/src/modifications/.git/hooks/update.sample
/opt/src/modifications/.git/hooks/post-update.sample
/opt/src/modifications/.git/objects
/opt/src/modifications/.git/objects/pack
/opt/src/modifications/.git/objects/pack/pack-d852f8e9c46d1d6fe4abb0714a5d469011a6db08.idx
/opt/src/modifications/.git/objects/pack/pack-d852f8e9c46d1d6fe4abb0714a5d469011a6db08.pack
/opt/src/modifications/.git/objects/info
/opt/src/modifications/.git/description
/opt/src/modifications/.git/packed-refs
/opt/src/modifications/.git/FETCH_HEAD
/opt/src/modifications/.git/branches
/opt/src/modifications/.git/ORIG_HEAD
/opt/src/modifications/.git/index
/opt/src/modifications/.git/info
/opt/src/modifications/.git/info/exclude
/opt/src/modifications/.git/HEAD
/opt/src/modifications/.git/refs
/opt/src/modifications/.git/refs/heads
/opt/src/modifications/.git/refs/heads/master
/opt/src/modifications/.git/refs/remotes
/opt/src/modifications/.git/refs/remotes/origin
/opt/src/modifications/.git/refs/remotes/origin/HEAD
/opt/src/modifications/.git/refs/tags
/opt/src/modifications/tasks
/opt/src/modifications/tasks/new-task-details.patch
/opt/src/modifications/email
/opt/src/modifications/email/enable-landscape-email.patch
/opt/src/modifications/email/prompt-for-ipk-installation.patch
/opt/src/modifications/phoneprefs
/opt/src/modifications/phoneprefs/roam-control.patch
/opt/src/modifications/phone
/opt/src/modifications/phone/phone-show-call-duration.sh
/opt/src/modifications/phone/phone-enable-roam-only.patch
/opt/src/modifications/soundsandalerts
/opt/src/modifications/soundsandalerts/message-tone-sounds-and-alerts.patch
/opt/src/modifications/musicplayer
/opt/src/modifications/musicplayer/bookmark.patch
/opt/src/modifications/calendar
/opt/src/modifications/calendar/default-to-month-view.patch
/opt/src/modifications/calendar/default-to-week-view.patch
/opt/src/modifications/screenlock
/opt/src/modifications/screenlock/longer_standby_times.patch
/opt/src/modifications/frameworks
/opt/src/modifications/frameworks/add-onscreen-keyboard.patch
/opt/src/modifications/luna
/opt/src/modifications/luna/disable-charging-alert-sound.patch
/opt/src/modifications/luna/quiet-powerd-messages.patch
/opt/src/modifications/luna/show-actual-battery-percent.patch
/opt/src/modifications/luna/powersave-cpu-scaling
/opt/src/modifications/luna/enable-dev-mode-icon.patch
/opt/src/modifications/luna/more_icons_per_row.patch
/opt/src/modifications/luna/powersave-smartreflex
/opt/src/modifications/README
/opt/src/modifications/browser
/opt/src/modifications/browser/enable-browser-downloads.patch
dlbpre@castle:~$ cat /opt/src/patches/series
show-actual-battery-percent.patch

as directed. I didnt realize you worked with the site. Must be nice being a linux genious! :-D
Dlbpre

I'm not a linux genius by any means, but helping people makes me learn much more, and I really appreciate how patient you've been :)
It seems like the patch is loaded in the folder and ready. Try to reboot then do these commands:
sudo -i
mount -o remount,rw / 
cd /
quilt pop -af
quilt push -a

Let me know how that works. -hopspitfire 05:21, 16 August 2009 (UTC)


dlbpre@castle:~$ sudo -i Password: root@castle:/var/home/root# mount -o remount,rw / mount -o remount,rw / root@castle:/var/home/root# mount -o remount,rw / root@castle:/var/home/root# cd / root@castle:/# quilt pop -af Patch /opt/src/patches/bar-assistant.js appears to be empty, removing

Removing patch /opt/src/patches/default-to-month-view.patch Restoring usr/palm/applications/com.palm.app.calendar/app/controllers/app-assistant.js

Removing patch /opt/src/patches/capture_with_volume_keys.patch Restoring usr/palm/applications/com.palm.app.camera/app/controllers/capture-assistant.js

Removing patch /opt/src/patches/show-actual-battery-percent.patch Restoring usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js

No patches applied root@castle:/# quilt pop -af No patch removed root@castle:/# quilt push -a Applying patch /opt/src/patches/show-actual-battery-percent.patch patching file usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js

Now at patch /opt/src/patches/show-actual-battery-percent.patch root@castle:/#

thanks for the patience compliment. Thank you for being patient with my beginning skill level as well. :)

dlbpre@castle:~$ sudo -i
root@castle:/var/home/root# mount -o remount,rw /
mount -o remount,rw /
root@castle:/var/home/root# mount -o remount,rw /
root@castle:/var/home/root# cd /
root@castle:/# quilt pop -af
Patch /opt/src/patches/bar-assistant.js appears to be empty, removing

Removing patch /opt/src/patches/default-to-month-view.patch
Restoring usr/palm/applications/com.palm.app.calendar/app/controllers/app-assistant.js

Removing patch /opt/src/patches/capture_with_volume_keys.patch
Restoring usr/palm/applications/com.palm.app.camera/app/controllers/capture-assistant.js

Removing patch /opt/src/patches/show-actual-battery-percent.patch
Restoring usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js

No patches applied
root@castle:/# quilt pop -af
No patch removed
root@castle:/# quilt push -a
Applying patch /opt/src/patches/show-actual-battery-percent.patch
patching file usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js

Now at patch /opt/src/patches/show-actual-battery-percent.patch
root@castle:/#

Perhaps I should have explained prior to contacting you, I had attempted to install the battery percent viewer from the quilt series (it was listed with the rest of the patches available to me). I copied and pasted it, then I pushed it. After I couldnt get that working, I followed the explanation on this website which lead me to your assistance. Would that happen to be relevant information?

Dlbpre





My desire to resolve my programming issue as been resolved!! Thank you for all your help though. I was fishing around precentral.net (sry if that is ya'lls competitor) I found someone who was having trouble and saw a post that someone made regarding the coding. I tried there post and it looks like this:

dlbpre@castle:~$ sudo su -
root@castle:/var/home/root# cd /
root@castle:/# mount -o remount,rw /
root@castle:/# wget http://filebin.ca/prhvwq/pre_battery_percentage.diff
Connecting to filebin.ca (208.68.18.109:80)
pre_battery_percenta 100% |*******************************| 3754 --:--:-- ETA
root@castle:/# patch -pO -i pre_battery_percentage.diff
patch: **** strip count O is not a number
root@castle:/# patch -p0 -i pre_battery_percentage.diff
patching file /usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js
Hunk #1 succeeded at 1381 with fuzz 2 (offset 214 lines).
Hunk #2 succeeded at 1405 with fuzz 1 (offset 214 lines).
Hunk #3 FAILED at 1437.
Hunk #4 succeeded at 1484 (offset 214 lines).
Hunk #5 succeeded at 1516 (offset 215 lines).
1 out of 5 hunks FAILED -- saving rejects to file /usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js.rej
patching file /usr/lib/luna/system/luna-systemui/stylesheets/systemui.css
root@castle:/#

You can find the source at the link provided below (it is the 4th post on the page):
http://forums.precentral.net/web-os-development/194029-battery-place-icon-working-1-1-0-color-3.html#1778094

The reason I posted this information is because I yearn for you to understand what I did wrong. I am hoping you put it in terms I can understand but also your knowledge with linux will grow as well. Win-win situation!! :-D Dlbpre

I'm glad you figured it out! -hopspitfire 04:11, 17 August 2009 (UTC)


Disable missed call sound not working. Do you know a workaround?

Messaging Sound

Are you still doing any work on the messaging sound patch or did you turn it over to JackieRipper?