maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [ANNOUNCE] Catorise PLUS - create your menu like you want (https://talk.maemo.org/showthread.php?t=73443)

Vento 2011-07-27 14:50

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
My catorise plus don't refresh... I tap on save and finsh refresh after 1 millisecond -.-"... try to reboot and reinstall but nothing happen... My categories don't want to refresh.... Is there an x-terminal command or similar?

ZenFeedbacker 2011-07-28 07:36

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
Hi, love the premise and appreciate the work you've put in. Sadly (for reasons of which I'm happy to accept are probably my own - being an end-user for all my well meaning attempts to get to grips with the inner workings of this marvellous machine) it's not working for me.
I think it all went wonky when I deleted all the preset categories, wanting to intuitively work my way back up, as it were. Despite creating new categories, sub-categories, moving apps around, refreshing, rebooting I'm stuck with the original hildon menu, except now it's doubled up - I have twice as many apps, or rather, duplicates of each.
Furthermore, no categories I create are appearing, and in the GUI of CatorisePLUS the landscape value is about 5 times too wide for my screen resulting in me having to scroll for millenia to see which app I've selected to place in a category I can't make exist. I've had a little whisk through this thread, but i've not noticed anyone having this problem. Any ideas on what i've done to ruin your app? :P

noetus 2011-08-09 15:14

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
I had some trouble getting Catorise Plus to work but it is working well for me now. (Latest version.)

I am running CSSU and power kernel.

The first time I *changed* existing categories and after finishing all my customizations discovered that somehow Application Manager was trashed. The application menu had gone, replaced by a message "No applications installed", and no shortcuts on my desktop worked (existing ones or new ones). However the applications themselves seemed to be working as the desktop widgets were working normally and I could open some applications that way, I just couldn't open any application using shortcuts.

I used <shift><ctrl> <x> to bring up terminal (I had no other way of doing it) and uninstalled Catorise Plus. The application menu reappeared and all my shortcuts were functioning again.

I tried installing Catorise Plus again and this time left all existing categories alone. I simply added new ones for the ones I wanted, and didn't modify or delete any existing ones. It isn't necessary to delete any as if there is an unused category it simply doesn't appear on the application menu. Now I have just the application menu categories I want and all my applications launch from the categories I have designated. All is smooth and good.

The application is still rather buggy, then. I would recommend not touching existing categories when you install Catorise Plus. Just add the ones you need; the others will be ignored if you make sure they are empty.

noetus 2011-08-09 15:41

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
Finally figured it out - you can just put programs in the 'All' category if you don't want them appearing in other categories....

TiagoTiago 2011-10-11 21:35

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
After doing just a few operations it starts to get horribly slow, just about unusable :(

(i got a shitload of stuff installed, that's probably a factor)

edit:seems mostly the issue happens when creating subfolders (sorry it took so long to post this edit)

TiagoTiago 2011-11-10 19:46

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
Btw, anyone else getting
Code:

Processing triggers for catoriseplus ...
Use of uninitialized value in list assignment at /opt/catorise/catorise line 25.

when installing and uninstalling things?

unexpected 2012-07-15 20:16

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
hi everyone,
sorry 4 posting in dead thread but i need help.
i waz using catorise & it waz working perfectly.But after flashing my n900,when ever i tried to catorise,it says unable to install.
i also tried catorise & catorise GUI but doesnt worked.
Please help.Thanx in advance...
Regardz

kinggo 2012-07-15 20:33

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
first remove completely catorise and catorise gui. Then rebbot and install catorise plus. It should work.

unexpected 2012-07-15 21:39

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
Quote:

Originally Posted by kinggo (Post 1237916)
first remove completely catorise and catorise gui. Then rebbot and install catorise plus. It should work.

thanx for the repl.i tried this many times but doesnt worked :(
any other solution?

Jaffa 2012-07-16 14:53

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
Apparently some firmwares don't have perl-modules installed by default. Since I thought they did, Catorise doesn't depend on it.

So, if you install it manually you should be good to go.

Alternatively, apt-get install catorise in X Terminal should give you more info.

unexpected 2012-07-16 17:45

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
Quote:

Originally Posted by Jaffa (Post 1238247)
Apparently some firmwares don't have perl-modules installed by default. Since I thought they did, Catorise doesn't depend on it.

So, if you install it manually you should be good to go.

Alternatively, apt-get install catorise in X Terminal should give you more info.

thanx man for the reply.i tried to install it manually but it gives:

Nokia-N900:~# apt-get install catorise
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
catorise
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 10.4kB of archives.
After this operation, 156kB of additional disk space will be used.
Get:1 http://repository.maemo.org fremantle-1.3/free catorise 0.8.2 [10.4kB]
Fetched 10.4kB in 0s (20.2kB/s)
Selecting previously deselected package catorise.
(Reading database ... 31444 files and directories currently installed.)
Unpacking catorise (from .../catorise_0.8.2_all.deb) ...
Setting up catorise (0.8.2) ...
Can't locate Locale/gettext.pm in @INC (@INC contains: /opt/catorise/lib /etc/perl /usr/local/lib/perl/5.8.3 /usr/local/share/perl/5.8.3 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /opt/catorise/catorise line 12.
BEGIN failed--compilation aborted at /opt/catorise/catorise line 12.
dpkg: error processing catorise (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
catorise
E: Sub-process /usr/bin/dpkg returned an error code (1)
Nokia-N900:~#

Jaffa 2012-07-16 17:46

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
apt-get install perl-modules will fix that.

unexpected 2012-07-16 19:06

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
Quote:

Originally Posted by Jaffa (Post 1238323)
apt-get install perl-modules will fix that.

tried

Nokia-N900:~# apt-get install perl-modules
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
perl
Suggested packages:
perl-doc libterm-readline-perl-perl
The following NEW packages will be installed:
perl perl-modules
0 upgraded, 2 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
Need to get 5294kB of archives.
After this operation, 21.7MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 https://downloads.maemo.nokia.com ./ perl-modules 5.8.3-3osso13+0m5 [2184kB]
Get:2 https://downloads.maemo.nokia.com ./ perl 5.8.3-3osso13+0m5 [3109kB]
Fetched 5294kB in 20s (259kB/s)
Selecting previously deselected package perl-modules.
(Reading database ... 31481 files and directories currently installed.)
Unpacking perl-modules (from .../perl-modules_5.8.3-3osso13+0m5_all.deb) ...
Selecting previously deselected package perl.
Unpacking perl (from .../perl_5.8.3-3osso13+0m5_armel.deb) ...
Setting up catorise (0.8.2) ...
Can't locate Locale/gettext.pm in @INC (@INC contains: /opt/catorise/lib /etc/perl /usr/local/lib/perl/5.8.3 /usr/local/share/perl/5.8.3 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /opt/catorise/catorise line 12.
BEGIN failed--compilation aborted at /opt/catorise/catorise line 12.
dpkg: error processing catorise (--configure):
subprocess post-installation script returned error exit status 2
Setting up perl-modules (5.8.3-3osso13+0m5) ...
Setting up perl (5.8.3-3osso13+0m5) ...
Errors were encountered while processing:
catorise
E: Sub-process /usr/bin/dpkg returned an error code (1)
Nokia-N900:~#


is it ok?

sifo 2012-07-19 19:19

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
try installing catoriseplus it might be different after enabling extras-devel repo ( at your own risk !!! )
Code:

sudo gainroot
apt-get install catoriseplus

Good luck

unexpected 2012-07-19 22:15

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
Nothing worked :(
still giving the same error :(
any thing else that may work?

woody14619 2012-07-19 22:41

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
Quote:

Originally Posted by unexpected (Post 1238388)
Unpacking perl (from .../perl_5.8.3-3osso13+0m5_armel.deb) ...
Setting up catorise (0.8.2) ...
Can't locate Locale/gettext.pm in @INC (@INC contains: /opt/catorise/lib /etc/perl /usr/local/lib/perl/5.8.3 /usr/local/share/perl/5.8.3 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /opt/catorise/catorise line 12.
BEGIN failed--compilation aborted at /opt/catorise/catorise line 12.
dpkg: error processing catorise (--configure):
subprocess post-installation script returned error exit status 2
Setting up perl-modules (5.8.3-3osso13+0m5) ...
Setting up perl (5.8.3-3osso13+0m5) ...
Errors were encountered while processing:
catorise

Try doing the install for catorise again now. The issue is that the modules needed were not installed. Since it tired to do the setup for catorise before the setup for the modules, it was still absent. One more run with the command like should fix it.

Edit: My bad.

dpkg -S gettext.pm reports the file you seek comes from the package liblocale-gettext-perl. Try installing that...

To be clear:
Code:

apt-get install liblocale-gettext-perl catorise

unexpected 2012-07-19 22:47

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
Quote:

Originally Posted by woody14619 (Post 1240019)
Try doing the install for catorise again now. The issue is that the modules needed were not installed. Since it tired to do the setup for catorise before the setup for the modules, it was still absent. One more run with the command like should fix it.

thanx for the reply.
Which command are talking about :confused:

unexpected 2012-07-19 23:09

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
Quote:

Originally Posted by woody14619 (Post 1240019)
Try doing the install for catorise again now. The issue is that the modules needed were not installed. Since it tired to do the setup for catorise before the setup for the modules, it was still absent. One more run with the command like should fix it.

Edit: My bad.

dpkg -S gettext.pm reports the file you seek comes from the package liblocale-gettext-perl. Try installing that...

To be clear:
Code:

apt-get install liblocale-gettext-perl catorise

What have you done man???
my N900 is totally erased...:confused:

Just joking ;) (dont mind)
Amazing man that worked.Thank you very much for the help:)
You are a legend :)

dy1ng 2012-07-27 23:59

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
1 Attachment(s)
guys, need some help here

i'm using a bnw wallpaper on my n900
i'm not using blur if the menu appears, so the carorise's white icons/text labels in some places on the picture, not visible

i want to add some black shadow to the menu icons and labels

is this possible?
and how?

romanianusa 2012-10-27 21:53

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
How do you arrange or sort categories? For example, sort category by alphabetical order or just customize yourself.

regulus 2012-12-30 12:04

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
I have the same question, i.e. how to sort/rearrange the categories in the main menu. Namely, I added one category and renamed another one, and now they're positioned at the end of the main "menu".

Also, how can app icons be refreshed? Sometimes the icon of a newly installed app is just some default rectangular icon (also, the same now applies to the two categories mentioned above). Is there some icon-cache reset or something like that? (This is probably not Catorise Plus related, as I've encountered it before.)

pichlo 2012-12-30 21:31

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
Quote:

Originally Posted by dy1ng (Post 1243970)
i want to add some black shadow to the menu icons and labels

is this possible?
and how?

Locate and edit the icons?

Quote:

Originally Posted by regulus (Post 1309056)
Also, how can app icons be refreshed?

I've always done that by restarting the device. Crude but works.

kevin00 2013-01-04 09:43

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
Hi,
I installed the latest version Catorise. There was no division of icons in the menu, but they are still unsorted. I tried to uninstall and reinstall, but still behaves the same. Is there any possibility to sort the icons in the menu?

Thank you

regulus 2013-01-04 21:40

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
Restarting did indeed solve the category icons. However, some of the app icons (an issue from before) remained unchanged.

One more thing... do categories need to be named in "ai_category_SomeName" format? I see the default names are in this format, but when I added another one in this format, it would be literally called that way in the main menu. So I only entered the proper name later on.

Also, two categories (one that was created by me, and another one that I renamed) are at the end of the main menu. How can I fix this? Is it related to "ai_category_SomeName" format?

sowwhatyoureap 2013-03-30 15:45

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
I've added an icon for Octave but the item doesn't seem to want to appear in Catorise Plus. it does shows up properly in the "All" category (outside of Catorise) when browsing the applications though. My .desktop file (in /usr/share/applications/hildon/) is as follows:
Code:

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Octave
Exec=osso-xterm octave
Icon=octave
Type=Application
Categories=Science

Have anyone had this kind of issue and how do you remedy it? From where does Catorise Plus generate its list and is there a way to manually refresh it? Tried rebooting a few times but no luck.

Also, as far as I've understood Catorise is supposed to read the "Categories" key (if available) and categorise it accordingly, is that correct?

phap 2013-04-01 12:13

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
I had the same problem, and tried to solved it without desinstalling, but no chance. But with desinstall, it worked for me.

sudo apt-get remove catoriseplus
sudo rm -R /opt/catorise
sudo apt-get install catoriseplus

Maybe you might want to copy your /opt/catorise in /opt/catoriseback

Breeze5 2014-09-17 19:33

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
Hi
I got this message =(

/home/user # apt-get install liblocale-gettext-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
liblocale-gettext-perl
0 upgraded, 1 newly installed, 0 to remove and 15 not upgraded.
1 not fully installed or removed.
Need to get 16,3kB of archives.
After this operation, 106kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
liblocale-gettext-perl
Install these packages without verification [y/N]? y
E: Some packages could not be authenticated
/home/user #


Any ideas? =(

Breeze5 2014-09-23 09:01

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
bump .

Malakai 2016-11-14 21:20

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
Sorry to bring back to life this very old thread, but does someone know what is the command executed when hitting the save button on the Catorise Plus GUI?
It doesn't work for me, I mean the changes made aren't taken into account, and I blame the sudoers file, as I've made some changes to always ask for a password (except a few cases).
I created a catorise rule which says to not ask a password for /opt/catorise/catorise and if I execute that command with sudo, the changes made in Catorise Plus GUI are taken into account. So I presume that the save button from the GUI is executing another command to refresh the menu.

So what is that command so I can add it to the sudoers file.

Thanks.

Halftux 2016-11-15 08:29

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
Quote:

Originally Posted by Malakai (Post 1518735)
... does someone know what is the command executed when hitting the save button on the Catorise Plus GUI?

It will get saved in:

Code:

/opt/catorise/menu
and will get refreshed with this command:
Code:

/bin/busybox sh -c \"echo /opt/catorise/catorise|root\"

Malakai 2016-11-15 18:17

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
Thanks for the info.
So I suppose that I can't add that command into a sudoers file so that a password won't be asked (meaning the command will be executed properly) when Catorise Plus tries to refresh the menu.
Now a password is asked when executing the root command, and I prefer it that way.
If there is no easy way to achieve what I want I will just have to manually execute "sudo /opt/catorise/catorise" after making the changes in Catorise Plus GUI (not that often) and saving them (it seems to work this way, but it is not "ideal").

Halftux 2016-11-15 20:43

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
Quote:

Originally Posted by Malakai (Post 1518787)
Thanks for the info.

No problem.

Quote:

Originally Posted by Malakai (Post 1518787)
So I suppose that I can't add that command into a sudoers file so that a password won't be asked (meaning the command will be executed properly) when Catorise Plus tries to refresh the menu.

As far as I know this is not possible.

Quote:

Originally Posted by Malakai (Post 1518787)
Now a password is asked when executing the root command, and I prefer it that way.

I am with you.

Quote:

Originally Posted by Malakai (Post 1518787)
If there is no easy way to achieve what I want I will just have to manually execute "sudo /opt/catorise/catorise" after making the changes in Catorise Plus GUI (not that often) and saving them (it seems to work this way, but it is not "ideal").

You need to change the source code. There you have several options. But which one is secure?

If you would like to use the sudoers file you could point in the source to a script which you put in the sudoers file or start catorise as root.

Btw there is another root command when you make a new category.
Some picture will be copied.

peterleinchen 2016-11-15 22:15

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
So simplest solution would be to create a (sh) script to call catorise gui and on finishing call your sudo command.
And put this script into the desktop file to start from menu.
?

Malakai 2016-11-16 18:34

Re: [ANNOUNCE] Catorise PLUS - create your menu like you want
 
Quote:

Originally Posted by Halftux (Post 1518791)
You need to change the source code.

Sadly the only code I kind of understand and can try to "play" with is shell scripting (and my knowledge remains basic).

Quote:

Originally Posted by peterleinchen (Post 1518798)
So simplest solution would be to create a (sh) script to call catorise gui and on finishing call your sudo command.
And put this script into the desktop file to start from menu.
?

Could be a solution... but as I don't often change the category of the apps I have, nor install too many apps, I think that I would simply execute the command to refresh the menu after saving the changes in Catorise Plus GUI (when the need to change the category of an app really exists). It's ok this way for now.


All times are GMT. The time now is 11:15.

vBulletin® Version 3.8.8