|
|
2010-12-31
, 12:55
|
|
|
Posts: 1,034 |
Thanked: 784 times |
Joined on Dec 2007
@ Annapolis, MD
|
#2
|
|
|
2010-12-31
, 13:12
|
|
Posts: 5 |
Thanked: 0 times |
Joined on Dec 2010
|
#3
|
|
|
2010-12-31
, 14:56
|
|
|
Posts: 1,034 |
Thanked: 784 times |
Joined on Dec 2007
@ Annapolis, MD
|
#4
|
|
|
2010-12-31
, 15:39
|
|
|
Posts: 355 |
Thanked: 395 times |
Joined on Dec 2009
@ USA
|
#5
|
|
|
2011-01-03
, 12:09
|
|
|
Posts: 355 |
Thanked: 395 times |
Joined on Dec 2009
@ USA
|
#7
|
# That "*" does not work for me.
file = open(/opt/DSC/*.desktop) # By default it should read without 'r'
|
|
2011-01-03
, 12:15
|
|
|
Posts: 820 |
Thanked: 436 times |
Joined on May 2010
@ Portsmouth, UK.
|
#8
|
|
|
2011-01-03
, 12:21
|
|
|
Posts: 355 |
Thanked: 395 times |
Joined on Dec 2009
@ USA
|
#9
|
|
|
2011-01-03
, 13:13
|
|
Posts: 992 |
Thanked: 738 times |
Joined on Jun 2010
@ Low Earth Orbit
|
#10
|
i need help thou. i want to tell python to open and read any ".desktop" file in the working DIR how to?
# That "*" does not work for me.
file = open(/opt/DSC/*.desktop) # By default it should read without 'r'
file = open('/opt/DSC/*.desktop')
import glob
files = glob.glob("/tmp/*.desktop")
| The Following User Says Thank You to kureyon For This Useful Post: | ||
The case is that i have a python script i want to have a nice shortcut for on my desktop.
What ive done so far is make and put a .desktop file in the /usr/share/applications/hildon folder. Put my icon in the /usr/share/icons/hicolor/64x64/apps folder. Restarted, nothing is changed.
What have i done wrong? What im trying to do is make a shortcut to my python test app, located in MyDocs/Python/TestApp/main.py
my icon name is simply pytest.png.
Am i putting stuff in the wrong directories?