Reply
Thread Tools
zwiik's Avatar
Posts: 41 | Thanked: 14 times | Joined on Jul 2010
#11
Originally Posted by liedekef View Post
Try changing "Terminal=true" to "Terminal=false" if no terminal is needed, also change the name to something else besides topx (that's just in the example) in the file as well as for the filename itself.
Also it should work if you just put "/home/user/tabcgpa" in the Exec command, if the run-standalone.sh is not needed (I don't know what that does though).
hey thanks for the reply..but i did change that detail..but i dunt think that wud matter as (in my knowledge,i may be not completely right) the name (Name=tabcgpa) is just the name in the title window

can i have gone wrong on any other parameter
i trued wud terminal false and true,.. both din work
 
Posts: 24 | Thanked: 0 times | Joined on Jun 2010
#12
Thanks for the info...I'll give it a go
 
zwiik's Avatar
Posts: 41 | Thanked: 14 times | Joined on Jul 2010
#13
It worked finally
i moved my executable to /usr/bin/
then gave permissions as
Code:
chmod u+x
then changed my .desktop file in /usr/share/applications/hildon/
to this basic .desktop file i found in an helloworld example
so now the .desktop file is as
Code:
[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Name=tabcgpa
Exec=/usr/bin/tabcgpa
Icon=tabcgpa
 
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#14
so how would i run this ?

anyone?? please


cd /home/user/N900-BluetoothMouseSupport
./xsetroot -cursor_name arrow
 
Posts: 42 | Thanked: 16 times | Joined on Jan 2010
#15
Originally Posted by zwiik View Post
the .desktop file is as
Code:
[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Name=tabcgpa
Exec=/usr/bin/tabcgpa
Icon=tabcgpa
Hi,

I can see here that you removed the following line:
X-Osso-Type=application/x-executable

According to this http://wiki.maemo.org/Desktop_file_format : "if specified hildon desktop will try to call the top_application method on this service rather than execute what is listed in the Exec field"
So my guess is that it would still work if the exec is in your home dir (I don't like copying things to /usr/bin).
So probably this should work:

Code:
[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Name=tabcgpa
Exec=/home/user/tabcgpa
Icon=
Btw: I don't think you should specify anything for the icon, I don't believe you have an icon present called 'tabcgpa", so this can be left empty (then the default icon is chosen for sure). Would be nice if you could try this out :-)
But still thanks for the info.

Last edited by liedekef; 2010-07-07 at 13:51.
 
Posts: 353 | Thanked: 263 times | Joined on Dec 2009 @ Finland
#16
Originally Posted by f2thak View Post
so how would i run this ?

anyone?? please
Why don't you just run it in one command without changing directory first? Like this "/home/user/N900-BluetoothMouseSupport/xsetroot -cursor_name arrow".
__________________
My Maemo5 projects:
mSpede - Speed testing game | Them Bloody Ducks - 2D duck hunting game | Maetronome - A simple metronome app | CuteMPC - MPD client
 
zwiik's Avatar
Posts: 41 | Thanked: 14 times | Joined on Jul 2010
#17
Originally Posted by liedekef View Post
Hi,

I can see here that you removed the following line:
X-Osso-Type=application/x-executable

According to this http://wiki.maemo.org/Desktop_file_format : "if specified hildon desktop will try to call the top_application method on this service rather than execute what is listed in the Exec field"
So my guess is that it would still work if the exec is in your home dir (I don't like copying things to /usr/bin).
So probably this should work:

Code:
[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Name=tabcgpa
Exec=/home/user/tabcgpa
Icon=
Btw: I don't think you should specify anything for the icon, I don't believe you have an icon present called 'tabcgpa", so this can be left empty (then the default icon is chosen for sure). Would be nice if you could try this out :-)
But still thanks for the info.
hey i did copy a 64x64 png also to usr/share/
yea u are right it shud work from /home/user/
will try that out
btw succeeded in packaging the app as .deb(sigh!)
and with your help the .desktop file for it was ready

no success in uploadin to the extras-devel yet

would you like to join the project,its a simple cgpa calculator.right now no one in it.i sure cud use ur skills
thanks
 
zwiik's Avatar
Posts: 41 | Thanked: 14 times | Joined on Jul 2010
#18
oh ya this the deb tabcgpa
and the garage page is cgpa cal
 
Posts: 42 | Thanked: 16 times | Joined on Jan 2010
#19
Originally Posted by zwiik View Post
would you like to join the project,its a simple cgpa calculator.right now no one in it.i sure cud use ur skills
thanks
Sorry, for now I can't commit to any project for real, but you can always mail for help. I'll assist wherever I can.

Franky
 
zwiik's Avatar
Posts: 41 | Thanked: 14 times | Joined on Jul 2010
#20
Originally Posted by liedekef View Post
Sorry, for now I can't commit to any project for real, but you can always mail for help. I'll assist wherever I can.

Franky
ok,no promblemo.thanks man.
 
Reply


 
Forum Jump


All times are GMT. The time now is 08:22.