maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Shortcut Maker (https://talk.maemo.org/showthread.php?t=69809)

Tiboric 2011-02-14 00:02

[Announce] Shortcut Maker
 
What is Shortcut Maker?

Shortcut Maker is an application for your N900 which creates shortcuts('.desktop' files) to sms, email, and instant calls for any body you want
(normally to use on your desktop to decrease key presses when contacting your most used contacts)

http://i52.tinypic.com/2956zjc.png

This is in devel and is a early release, as I learn more QT + Python it should get better with each release.

Features:

(1)make Sms shortcuts
(2)make Email shortcuts
(3)make Instant call shortcuts
(4)And delete them, lol
(to delete just input name as you entered it the first time and press the corresponding delete button, depending on which type of shortcut you want to delete)

Please let me know of any Bugs (it's know that some devices will ask for their root password, this is something I'm working on)

And of course any improvements you want made.
(I want GUI ideas as well as the current needs work)

Big Thanks to nicolai for his original scripts and remember to donate to him for all his hard work.

Edit: Added Command function, to create Cmd shortcuts for xterm just use 'name' input to name the shortcut and the 'Cmd' input for the command you want to execute, most commands should work. (just make sure your not beginning the command with a capital letter, but the name can be any thing really)

MohammadAG 2011-02-14 00:27

Re: [Announce] Shortcut Maker
 
Code:

self.setWindowTitle("TitleHere")
to set the window title, it has to be in QMainWindow's __init__ method.

Tiboric 2011-02-14 00:48

Re: [Announce] Shortcut Maker
 
Thanks MAG,
would you also know a better way of getting permisions to write the .desktop file to /usr/share/applications/hildon/ ?
at the moment I'm using
Code:

Exec=osso-xterm 'sudo run-standalone.sh python2.5 /opt/shortcutmkr/main.py'
in my own .desktop file to get around it.

neboja 2011-02-14 01:22

Re: [Announce] Shortcut Maker
 
this is cool! but, it would be awesome, to be able to make a .desktop file for some commands, scripts, etc...
and same an option to choose a icon for that same desktop shortcut ;)
great app, but much more it can offer ;)

Tiboric 2011-02-14 01:29

Re: [Announce] Shortcut Maker
 
Those are both planned features, I am working on the commands feature as we speak, but the icon will have to wait a day or two. I’m finding it hard to arrange the layout of the gui at the moment, I don't think its optimum as it is.

Thanks for the input, keep them coming....

Edit: I also want to include selecting contacts from built in Contacts list using pyside but at the moment that's a bit ahead of my skills.

MohammadAG 2011-02-14 01:47

Re: [Announce] Shortcut Maker
 
Quote:

Originally Posted by Tiboric (Post 945563)
Thanks MAG,
would you also know a better way of getting permisions to write the .desktop file to /usr/share/applications/hildon/ ?
at the moment I'm using
Code:

Exec=osso-xterm 'sudo run-standalone.sh python2.5 /opt/shortcutmkr/main.py'
in my own .desktop file to get around it.

You don't need osso-xterm, also, by adding #!/usr/bin/python2.5 to the top of the main.py file and doing a chmod +x /opt/shortcutmkr/main.py in postinst, you can reduce this to sudo run-standalone.sh /opt/shortcutmkr/main.py.

BTW, shouldn't you be using run-standalone.sh sudo /opt/shortcutmkr/main.py, so it'd only require a sudoers entry for that file and not the run-standalone.sh script? :)

Tiboric 2011-02-14 02:54

Re: [Announce] Shortcut Maker
 
Thanks MAG that helps alot I'll put this in next release.

@neboja: this is a test version for you to test(i've done some testing)
to create Cmd shortcuts for xterm(and later any other) most commands should work. (just make sure your not beginning the command with a capital letter, but the name can do)
like i say i've gota sort out the gui and put in some stuff MAG has given me to go on.

Cheers for now(gotta be up in 4 hours for work, lol)

Shortcut Maker 0.6b

rebelnoob 2011-02-14 08:53

Re: [Announce] Shortcut Maker
 
@Tiboric you've got an awesome theme whats the name of it and the icon pack?
P.S:sorry its out of topic..

cutehunk04 2011-02-14 09:00

Re: [Announce] Shortcut Maker
 
after clicking on the application X-terminal opens and ask for the password... what is the password.

neboja 2011-02-14 09:05

Re: [Announce] Shortcut Maker
 
COOOOOOOOOOOL!!!!!!!!!!! great stuff man! simple, but yet a very needed app!
no need to rush! but, i was waiting for that thing for a long time ;)
(i was once requested for someone to make a dialpad app http://talk.maemo.org/showthread.php?t=63013, but resolving that kind of "problem" in this way, is just fine!!!!!) ;)

kind regards ;)

Tiboric 2011-02-14 13:26

Re: [Announce] Shortcut Maker
 
Quote:

Originally Posted by rebelnoob (Post 945861)
@Tiboric you've got an awesome theme whats the name of it and the icon pack?
P.S:sorry its out of topic..

its the incredibly uninspired blocky and dull theme #154 and awoken icon theme pack.
both in the repos

nicholes 2011-02-14 13:36

Re: [Announce] Shortcut Maker
 
hey thanks for this nice app!!!!!!!

i think you can tell me (or you can add)how to make .desktop file for a game named "caph".it has no .desktop file at the moment(evey time i have to start it from xterminal)

opt/caph/bin/caph

any idea??

Tiboric 2011-02-14 16:31

Re: [Announce] Shortcut Maker
 
yeah. download version 0.6 and put in the second box the command you use to launch your app from xterm and in the first box put whatever you want to call the shortcut. then press command and a desktop file will be made that will launch it.(hopefully)

Tiboric 2011-02-14 19:47

Re: [Announce] Shortcut Maker
 
Quote:

Originally Posted by cutehunk04 (Post 945863)
after clicking on the application X-terminal opens and ask for the password... what is the password.

This version has fixed that problem(Thanks to MAG):
http://download390.mediafire.com/237....6.0-2_all.deb

Will upload to devel soon...

Edit: Uploaded

nicholes 2011-02-15 05:24

Re: [Announce] Shortcut Maker
 
Quote:

Originally Posted by Tiboric (Post 946392)
This version has fixed that problem(Thanks to MAG):
http://download390.mediafire.com/237....6.0-2_all.deb

Will upload to devel soon...

Edit: Uploaded

just downloaded it from the link.but it does not start! only load for a few sec. and window is closed nothing happed. what should i do now?

Tiboric 2011-02-15 17:04

Re: [Announce] Shortcut Maker
 
dam thought id fixed that, sorry
i'll fix that when i finish work, 6 hours to go. lol
to fix that just type
Code:

cd /opt/shortcutmkr
sudo chmod +x main.py


nicholes 2011-02-15 17:17

Re: [Announce] Shortcut Maker
 
1 Attachment(s)
Quote:

Originally Posted by Tiboric (Post 947180)
dam thought id fixed that, sorry
i'll fix that when i finish work, 6 hours to go. lol
to fix that just type
Code:

cd /opt/shortcut maker
sudo chmod +x main.py


i could not type anything in the password.(cursur did not go ahead after typing anything)however i typed
(typed words did not show nor cursur runs) root password but did not work device password also not worked.also tried virtual key board for typng.any help?

Tiboric 2011-02-15 19:46

Re: [Announce] Shortcut Maker
 
thats your own root password. have you got rootsh installed? you'll need it to bypass the password prompt

Edit All fixed... http://www.mediafire.com/?zlwu55nvd5pbfbp new version should work out of the box, lol
Uploaded to devel, let me know all goes well

nicholes 2011-02-16 02:47

Re: [Announce] Shortcut Maker
 
Quote:

Originally Posted by Tiboric (Post 947341)
thats your own root password. have you got rootsh installed? you'll need it to bypass the password prompt

Edit All fixed... http://www.mediafire.com/?zlwu55nvd5pbfbp new version should work out of the box, lol
Uploaded to devel, let me know all goes well

new version also does not work.it is same for me as previous one.

anything new for me to try?

cutehunk04 2011-02-16 08:50

Re: [Announce] Shortcut Maker
 
same happening with me ....just shows its opening but after few seconds nothing happens... tried with the command ... and even in my x-terminal shows the password,....?

Tiboric 2011-02-16 09:43

Re: [Announce] Shortcut Maker
 
Sorry Guys as I said I'm learning and work is getting really busy,
What I need is some testers as, it almost always works on my two devices,
I’ve sent a new version to you both can you test and let me know.
Thanks for your patience

cutehunk04 2011-02-16 10:05

Re: [Announce] Shortcut Maker
 
hav tried all the version but the result is same.... its not working on my device....:(

hathoda 2011-02-16 15:21

Re: [Announce] Shortcut Maker
 
Quote:

Originally Posted by cutehunk04 (Post 947845)
hav tried all the version but the result is same.... its not working on my device....:(

same here!!!!

nicholes 2011-02-16 15:28

Re: [Announce] Shortcut Maker
 
Quote:

Originally Posted by cutehunk04 (Post 947845)
hav tried all the version but the result is same.... its not working on my device....:(

same here too

Tiboric 2011-02-16 16:56

Re: [Announce] Shortcut Maker
 
i've asked MAG for help on this one so hopefully I'll have an answer by the time it finnish work tonight (4 hours to go)
Im soory to dissapoint but it works perfect here lol so I cant tell if it's gona have problems till you guys let me know. so thanks for all the info's. it all does help.

cutehunk04 2011-02-16 19:45

Re: [Announce] Shortcut Maker
 
hey guys !! mine worked... after installing the version i hav restart my device and it starts to work... great work thanks a lot..

only one question..if i could place a name on the shortcut below that would b helpful..coz there are few shortcut i hav placed but somtimes get confused which one is who...may be a name below would be helpful..

thanks !!!

Tiboric 2011-02-16 20:11

Re: [Announce] Shortcut Maker
 
yay finally. was pulling my hair out lol.
can anyone else confirm its working after a restart?
does it not have a name input at the top and and a command input at the bottom?
Edit: which version worked?

cutehunk04 2011-02-16 20:18

Re: [Announce] Shortcut Maker
 
cant say which version worked but guess the last version you gave, that worked...no name in top just a messaging box..nothin there...a name would be awsome...

Tiboric 2011-02-16 20:28

Re: [Announce] Shortcut Maker
 
can i have a screenshot please?

cutehunk04 2011-02-16 20:40

Re: [Announce] Shortcut Maker
 
using m n900 cant post screenshot :( .... connection is slow, so cant upload...(

gorgezilla 2011-02-16 20:43

Re: [Announce] Shortcut Maker
 
aint working here

Tiboric 2011-02-16 20:47

Re: [Announce] Shortcut Maker
 
O.K no worries but it should look like this
http://i56.tinypic.com/2w6gr4h.png
top dialogue for name, bottom dialogue for commands / phone nummber or email.

cutehunk04 2011-02-16 20:53

Re: [Announce] Shortcut Maker
 
yes i get it, but what i was saying...

after having clicking the name as XYZ, and click the sms button, a shortcut is created in homescreen but only the icon no name of XYZ below, so after creating 2,3 shortcut for sms, i gets confused wich was which...so a name below the icon would be easy to know which shortcut is whom's

cutehunk04 2011-02-16 21:03

Re: [Announce] Shortcut Maker
 
yes i get it, but what i was saying...

after having clicking the name as XYZ, and click the sms button, a shortcut is created in homescreen but only the icon no name of XYZ below, so after creating 2,3 shortcut for sms, i gets confused wich was which...so a name below the icon would be easy to know which shortcut is whom's

Tiboric 2011-02-16 21:13

Re: [Announce] Shortcut Maker
 
oh i see what you mean lol
That a problem with hildon desktop not showing names of .desktop files. I'd have to create each icon separately with the name placed in the icon's picture file.
once i get a dialogue to choose your own icons it will be easier to know which icon is which shortcut.
I’m using it slightly different to you
http://i51.tinypic.com/11icspg.png
when I have more people confirm that this version I gave you is working I’ll carry on increasing features like changing icons.
Thanks again for keeping me informed. wonder why a restart fixed it, did you uninstalled last version before installing this version?

cutehunk04 2011-02-16 21:25

Re: [Announce] Shortcut Maker
 
nope i overwrite it...didnt uninstall ...how did you manage to bring the message and call icon of the particular shortcut contact on your homescreen

Tiboric 2011-02-16 21:28

Re: [Announce] Shortcut Maker
 
Maybe that’s why, as the fix is just chmod fix in the postinstall script and maybe it took a restart to take affect. I’m not to hot on linux file permissions.

+

They are just the standard contact shortcuts, and i just placed my phone and sms shortcuts on top.

cutehunk04 2011-02-16 21:34

Re: [Announce] Shortcut Maker
 
aha i see, can you create a sccript where we gets a new sms and that particular contact is in homescreen we can read the sms from the scrren itself below that of shortcut,

eg.
XYZ contact in homescreen, a new sms from a friend is recd.and XYZ below shows the new sms.

Tiboric 2011-02-16 21:40

Re: [Announce] Shortcut Maker
 
It's is definably possible but beyond my current skills,
as I only started to learn python and programming just over a week ago, lol

Edit: I’m sure there already a app that does a similar thing though
http://maemo.org/downloads/product/M...-inbox-widget/

cutehunk04 2011-02-16 22:21

Re: [Announce] Shortcut Maker
 
inbox conversation widget is not what i want...suppose i hav a frend named XYZ is added as shortcut contact to homescreen, now when send me a sms, that sms should be shown below or left side of the shortcut contact...


All times are GMT. The time now is 09:07.

vBulletin® Version 3.8.8