Active Topics

 


Reply
Thread Tools
Posts: 1,417 | Thanked: 2,619 times | Joined on Jan 2011 @ Touring
#1
I am trying to write a quick script to launch a selected PDF with a bus schedule for my wife's N900.
I want this to be dead simple and I have a .desktop file trying to use osso_pdfviewer or osso_pdfviewer.launch to load a selected PDF which I drop in MyDocs.

Code:
Exec=Exec=/usr/bin/osso_pdfviewer /home/user/MyDocs/bus_sked.pdf
 
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#2
I have no idea how to open a pdf with osso_pdfviewer directly, maybe via dbus call?

Else I would just install evince (good for opening almost everything text/picture/document file) and do
evince my.pdf
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following 2 Users Say Thank You to peterleinchen For This Useful Post:
Posts: 1,417 | Thanked: 2,619 times | Joined on Jan 2011 @ Touring
#3
Worked perfectly, thanks!
 
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#4
Originally Posted by biketool View Post
Code:
Exec=Exec=/usr/bin/osso_pdfviewer /home/user/MyDocs/bus_sked.pdf
Exec=Exec? Really?

Sadly, osso_pdfviewer path/file.pdf from XTerm did not do the trick. I suspect dbus might be your only option.

EDIT: too late
__________________
Русский военный корабль, иди нахуй!
 
Reply


 
Forum Jump


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