maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [ANNOUNCE] WebOS Games Manager (https://talk.maemo.org/showthread.php?t=70795)

phap 2011-06-14 10:25

Re: [ANNOUNCE] WebOS Games Manager
 
Quote:

Originally Posted by ivyking (Post 1028709)
for a program to copy files to /usr/share/applications/hildon/ it has to be launched as root, also I think that path is hard coded.

so using mv is the easiest way to fix this for now, but fear not, this is to be only done once..

disable/remove catorise before proceeding else the following will take a really long time as catorise will keep reloading the menu for every file copied/moved (there is a 5 second period where catorise will not reload the menu if it had been reloaded already, but don't count on that).

root
Code:

sudo gainroot
move all files in ~/.local/share/applications/hildon/ to /usr/share/applications/hildon/
Code:

mv /home/user/.local/share/applications/hildon/* /usr/share/applications/hildon/
remove the ~/.local/share/applications/hildon directory
Code:

rm -r /home/user/.local/share/applications/hildon
create a symlink in the ~/.local/share/applications/hildon to point to /usr/share/applications/hildon
any file copied to /home/user/.local/share/applications/hildon/ will automatically go to /usr/share/applications/hildon
Code:

ln -s /usr/share/applications/hildon /home/user/.local/share/applications/hildon
change ownership of /usr/share/applications/hildon so user applications can copy files there without root privileges
Code:

chown user /home/user/.local/share/applications/hildon
the last line command will follow the symlink, so effectively it is doing :
chown user /usr/share/applications/hildon

change the ownership of existing desktop files so user applications can edit/remove them without root privileges.
helps when uninstalling games.
Code:

chown user /usr/share/applications/hildon/*
reinstall/enable catorise

Thanks you, this method works perfectly, though I didn't uninstall catorize and only wait one minute or something

phap 2011-06-14 10:54

Re: [ANNOUNCE] WebOS Games Manager
 
But now when I install new applications they show in catorize but not in the application menu

ivyking 2011-06-14 11:36

Re: [ANNOUNCE] WebOS Games Manager
 
Quote:

Originally Posted by phap (Post 1028806)
But now when I install new applications they show in catorize but not in the application menu

what do you mean not in the application menu ?
please clarify .

installed games will normally show under "others" category in the menu, and will show up under "all" category also (at the very bottom of the list) then when menu gets rebuilt, they will be sorted correctly.

if you want to modify the category, install catorisegui from the repository or install the updated catorise and catorise gui from here :
http://talk.maemo.org/showthread.php?t=73443

I really think there is no need but incase you want to undo the instructions :

as user (NOT root)
Code:

rm /home/user/.local/share/applications/hildon
mkdir /home/user/.local/share/applications/hildon

this returns that folder to it's previous state.
if you want, go ahead and move your games' .desktop files back into that folder.

again you don't have to be root since user now owns .desktop files
Code:

mv /usr/share/applications/hildon/<your game name>.desktop /home/user/.local/share/applications/hildon/
when done moving .desktop files back, return ownership of /usr/share/applications/hildon to root.
Code:

sudo gainroot
chown root /usr/share/applications/hildon
chown root /usr/share/applications/hildon/*
reboot

now your menu should return to it's original state.

price 2011-06-14 11:40

Re: [ANNOUNCE] WebOS Games Manager
 
Quote:

Originally Posted by couldvbb (Post 1027385)

hi, thank you for the files but i'cant get Basketmania working. it say error in postinstall at step 7. how can i solve?

ivyking 2011-06-14 12:00

Re: [ANNOUNCE] WebOS Games Manager
 
Quote:

Originally Posted by price (Post 1028844)
hi, thank you for the files but i'cant get Basketmania working. it say error in postinstall at step 7. how can i solve?

I don't know what's the cause, I have not tried installing, but try running

chmod +x /usr/share/wgames/gamesinfo/hacks/*

hope it helps.

phap 2011-06-14 12:07

Re: [ANNOUNCE] WebOS Games Manager
 
forget it I've rebooted and it's fine again

moradeeb 2011-06-14 13:30

Re: [ANNOUNCE] WebOS Games Manager
 
Quote:

Originally Posted by droll (Post 1028757)
ok, i'm answering the question myself (for the benefit of those who are searching) - http://talk.maemo.org/showpost.php?p...&postcount=103

thanks but looks way complicated any chance the developer for the webOS app might update it ? for us NOOBS

brunops1 2011-06-14 17:16

Re: [ANNOUNCE] WebOS Games Manager
 
Quote:

Originally Posted by augustthe (Post 1009486)
i get stuck in the beginning "ask me if i want to enable the sound"

Same here with Family Guy after an apparently successful installation. Any news on it?

price 2011-06-14 17:57

Re: [ANNOUNCE] WebOS Games Manager
 
2 Attachment(s)
Quote:

Originally Posted by ivyking (Post 1028857)
I don't know what's the cause, I have not tried installing, but try running

chmod +x /usr/share/wgames/gamesinfo/hacks/*

hope it helps.

i've tried but nothing happens. i've attached 2 screenshot. can they help?

phap 2011-06-15 07:06

Re: [ANNOUNCE] WebOS Games Manager
 
Try this:
root
apt-get install libsdl-ttf2.0

But anyway I can assure you you won't play this game long


All times are GMT. The time now is 12:24.

vBulletin® Version 3.8.8