[maemo-developers] .desktop file
From: Faheem Pervez trippin1 at gmail.comDate: Wed Feb 18 18:04:51 EET 2009
- Previous message: .desktop file
- Next message: .desktop file
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, For "When selected from menu, launch feedback appears in top right corner, but the program does not run.": Have you tried adding an exec field to /usr/share/dbus-1/services/dbus_scripts_settings.service like: [D-BUS Service] Name=com.nokia.dbus_scripts_settings Exec=/usr/bin/dbus-scripts-settings With X-Osso-Service in your desktop file, Exec field in your desktop file is overridden and as you have no Exec field in your service file, it won't run anything. Best Regards, Faheem On Wed, Feb 18, 2009 at 3:16 PM, Matan Ziv-Av <matan at svgalib.org> wrote: > > 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 > > > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20090218/a92f6eba/attachment.htm
- Previous message: .desktop file
- Next message: .desktop file
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]