[maemo-developers] .desktop file
From: Matan Ziv-Av matan at svgalib.orgDate: Wed Feb 18 17:16:04 EET 2009
- Previous message: 3G model?
- Next message: .desktop file
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
I know this question was asked (and answered) a lot of time before, but
still:
I have a python program in /usr/bin/dbus-scripts-settings. When run from
the command line, the program runs, but does not appear in the task
lisk. When selected from menu, launch feedback appears in top right
corner, but the program does not run. The program appears in the menu
correctly with its own icon, not the default one.
What is the reason, and how should it be solved?
Pertinent information:
Nokia-N810-23-14:~# cat /usr/share/applications/hildon/dbus-scripts-settings.desktop
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=dbus-scripts-settings
Exec=/usr/bin/dbus-scripts-settings
Icon=dbus-scripts-settings
X-Window-Icon=dbus-scripts-settings
X-HildonDesk-ShowInToolbar=true
X-Osso-Service=dbus_scripts_settings
X-Osso-Type=application/x-executable
Nokia-N810-23-14:~# cat /usr/share/dbus-1/services/dbus_scripts_settings.service
[D-BUS Service]
Name=com.nokia.dbus_scripts_settings
Nokia-N810-23-14:~# head -1 /usr/bin/dbus-scripts-settings
#!/usr/bin/env python
Nokia-N810-23-14:/# xprop -id 0x1800003
_NET_WM_USER_TIME(CARDINAL) = 2314130073
_NET_WM_STATE(ATOM) =
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_CLOSE,
_NET_WM_ACTION_FULLSCREEN
_NET_WM_DESKTOP(CARDINAL) = 1
WM_HINTS(WM_HINTS):
Client accepts input or input focus: True
Initial state is Normal State.
window id # of group leader: 0x1800001
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 25165829
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DIALOG
WM_CLIENT_LEADER(WINDOW): window id # 0x1800001
_NET_WM_PID(CARDINAL) = 1626
WM_LOCALE_NAME(STRING) = "en_GB"
WM_CLIENT_MACHINE(STRING) = "Nokia-N810-23-14"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
program specified minimum size: 522 by 83
window gravity: NorthWest
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS,
_NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "dbus-scripts-settings", "Dbus-scripts-settings"
_NET_WM_ICON_NAME(UTF8_STRING) = 0x64, 0x62, 0x75, 0x73, 0x2d, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x73, 0x2d, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73
_NET_WM_NAME(UTF8_STRING) = 0x64, 0x62, 0x75, 0x73, 0x2d, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x73, 0x2d, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73
--
Matan Ziv-Av. matan at svgalib.org
- Previous message: 3G model?
- Next message: .desktop file
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
