{ "info": { "author": "Paul Boddie", "author_email": "paul@boddie.org.uk", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: MacOS X", "Environment :: Other Environment", "Environment :: Win32 (MS Windows)", "Environment :: X11 Applications", "Environment :: X11 Applications :: Gnome", "Environment :: X11 Applications :: KDE", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)", "Natural Language :: Chinese (Traditional)", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Topic :: Desktop Environment :: Window Managers :: XFCE", "Topic :: Utilities" ], "description": "desktop3\n========\n\n.. image:: https://travis-ci.com/eight04/pyDesktop3.svg?branch=master\n :target: https://travis-ci.com/eight04/pyDesktop3\n\nThis is a python 3 port of `desktop `__ package.\n\n The desktop package provides desktop environment detection and resource\n opening support for a selection of common and standardised desktop\n environments.\n\nInsallation\n-----------\n\n::\n\n pip install desktop3\n\nUsage\n-----\n\nLaunch folders, files, ... etc:\n\n.. code:: python\n\n import desktop\n desktop.open(\"what/you/want/to/open\")\n\nIntroduction\n------------\n\nThe desktop package provides desktop environment detection and resource\nopening support for a selection of common and standardised desktop\nenvironments.\n\nCurrently, in Python's standard library, there is apparently no coherent,\ncross-platform way of getting the user's environment to \"open\" files or\nresources (showing such files in browsers or editors, for example) when\nrequested by a Python program. There is an os.startfile function which works\nfor Windows, but no equivalent function for other desktop environments - the\nwebbrowser module seems to employ alternative mechanisms in choosing and\nrunning external programs and presumably does not seek to provide general\nsupport for non-URL resources anyway. \n\nSince desktop environments like KDE and GNOME provide mechanisms for running\nbrowsers and editors according to the identified type of a file or resource,\njust as Windows \"runs\" files or resources, it is appropriate to have a module\nwhich accesses these mechanisms. It is this kind of functionality that the\ndesktop package aims to support. Note that this approach is arguably better\nthan that employed by the webbrowser module since most desktop environments\nalready provide mechanisms for configuring and choosing the user's preferred\nprograms for various activities, whereas the webbrowser module makes\nrelatively uninformed guesses (for example, opening Firefox on a KDE desktop\nconfigured to use Konqueror as the default browser).\n\nSome ideas for desktop detection (XFCE) and URL opening (XFCE, X11) were\nobtained from the xdg-utils project which seeks to implement programs\nperforming similar functions to those found in the desktop module. The\nxdg-utils project can be found here:\n\nhttp://portland.freedesktop.org/\n\nOther information regarding desktop icons and menus, screensavers and MIME\nconfiguration can also be found in xdg-utils.\n\nContact, Copyright and Licence Information\n------------------------------------------\n\nNo Web page has yet been made available for this work, but the author can be\ncontacted at the following e-mail address:\n\npaul@boddie.org.uk\n\nCopyright and licence information can be found in the docs directory - see\ndocs/COPYING.txt, docs/lgpl-3.0.txt and docs/gpl-3.0.txt for more information.\n\nNotes\n-----\n\nNotes on desktop application/environment support:\n\n============= ================================================================\nKDE Supports file and URL opening using kfmclient, where the openURL\n command opens the resource and the exec command runs the\n resource.\n\nKDE 4 Similar to KDE but uses kioclient instead of kfmclient.\n\nGNOME Supports file and URL opening using gnome-open.\n\nXFCE Supports file and URL opening using exo-open.\n\nROX-Filer Supports file opening using \"rox \" but not URL\n opening.\n============= ================================================================\n\nChangelog\n---------\n\n* 0.5.3 (Aug 19, 2019)\n\n - Fix: unable to detect XFCE.\n\n* 0.5.2 (Oct 26, 2016)\n\n - Add docs folder into dist file.\n\n* 0.5.1 (Oct 25, 2016)\n\n - Fix letter case issue in ``setup.py``.\n\n* 0.5.0 (Jul 2, 2016)\n\n - First release.\n\nOld Changelog\n-------------\n\nNew in desktop 0.4.3 (Changes since desktop 0.4.2)\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n * Added missing KDE 4 support to the desktop.dialog module.\n\nNew in desktop 0.4.2 (Changes since desktop 0.4.1)\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n * Added XFCE 4.10 \"mailto:\" fix contributed by J\u00e9r\u00f4me Laheurte.\n\nNew in desktop 0.4.1 (Changes since desktop 0.4)\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n * Added KDE 4 and Lubuntu support contributed by J\u00e9r\u00f4me Laheurte.\n\nNew in desktop 0.4 (Changes since desktop 0.3)\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n * Improved docstrings.\n * Fixed support for examining the root window.\n * Changed the licence to the LGPL version 3 (or later).\n\nNew in desktop 0.3 (Changes since desktop 0.2.4)\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n * Made desktop a package.\n * Added support for graphical dialogue boxes through programs such as\n kdialog, zenity and Xdialog.\n * Added support for inspecting desktop windows (currently only for X11).\n\nNew in desktop 0.2.4 (Changes since desktop 0.2.3)\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n * Added XFCE support (with advice from Miki Tebeka).\n * Added Ubuntu Feisty (7.04) package support.\n\nNew in desktop 0.2.3 (Changes since desktop 0.2.2)\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n * Added Python 2.3 support (using popen2 instead of subprocess).\n\nNew in desktop 0.2.2 (Changes since desktop 0.2.1)\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n * Changed the licence to LGPL.\n\nNew in desktop 0.2.1 (Changes since desktop 0.2)\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n * Added Debian/Ubuntu package support.\n\nNew in desktop 0.2 (Changes since desktop 0.1)\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n * Added support for waiting for launcher processes.\n * Added a tests directory.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/eight04/pyDesktop3", "keywords": "desktop, startfile, DESKTOP_LAUNCH, KDE, KDE4, GNOME, XFCE, XFCE4, Lubuntu,dialog, kdialog, zenity, Xdialog, X11, start, open, opener, launch,launcher", "license": "LGPLv3+", "maintainer": "eight04", "maintainer_email": "eight04@gmail.com", "name": "desktop3", "package_url": "https://pypi.org/project/desktop3/", "platform": "any", "project_url": "https://pypi.org/project/desktop3/", "project_urls": { "Homepage": "https://github.com/eight04/pyDesktop3" }, "release_url": "https://pypi.org/project/desktop3/0.5.3/", "requires_dist": null, "requires_python": "", "summary": "Simple desktop integration for Python.", "version": "0.5.3" }, "last_serial": 5698611, "releases": { "0.4.3": [], "0.5.0": [ { "comment_text": "", "digests": { "md5": "d0a95e6351cd1a2fbb90343f152d9582", "sha256": "3412f8eebea44ff682e74f4cef1d8e8f98552566d6568e0a841352479b294543" }, "downloads": -1, "filename": "desktop3-0.5.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d0a95e6351cd1a2fbb90343f152d9582", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16741, "upload_time": "2016-07-01T21:15:31", "url": "https://files.pythonhosted.org/packages/d2/78/7199ac7c6d79a3d6b03c4fc693cd9455b5aa26dadb0836f7c98e1286001b/desktop3-0.5.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4436b08dcf12de2323dd151c0d0ad3e0", "sha256": "59891c55a6be1dad631e551b7ae823c5876a7df3c643be61ddea73814d1c3531" }, "downloads": -1, "filename": "desktop3-0.5.0.zip", "has_sig": false, "md5_digest": "4436b08dcf12de2323dd151c0d0ad3e0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19459, "upload_time": "2016-07-01T21:15:48", "url": "https://files.pythonhosted.org/packages/07/a1/cccb4c25bffa67287a64d7f0278d0ae812a70317624527402bb2680e36ce/desktop3-0.5.0.zip" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "d22bff770c943120fd627952bae24c1a", "sha256": "ee351b6a6312b7b91326867a47c7870280d052f9043a9cd281708610ef924984" }, "downloads": -1, "filename": "desktop3-0.5.1-py3-none-any.whl", "has_sig": false, "md5_digest": "d22bff770c943120fd627952bae24c1a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16918, "upload_time": "2016-10-24T19:11:35", "url": "https://files.pythonhosted.org/packages/f1/25/281dadb0e29121bfa4e72e6a7815dfaf6a67e9fb3cd9381c759a1ebad3f1/desktop3-0.5.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "038f5d6d45304a43b179f580feb29ddf", "sha256": "98ea7b60db8bdbb2df6acbc0d7f36e300e780d39f340e3eb6f334f995aab48bb" }, "downloads": -1, "filename": "desktop3-0.5.1.zip", "has_sig": false, "md5_digest": "038f5d6d45304a43b179f580feb29ddf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19740, "upload_time": "2016-10-24T19:11:38", "url": "https://files.pythonhosted.org/packages/66/e3/a0ab63db9ba8307a3010dd4f299df7f0fedfdc9d07535a2516f33cc8c4bd/desktop3-0.5.1.zip" } ], "0.5.2": [ { "comment_text": "", "digests": { "md5": "c813adb83e1e8cdbd2a88adf4dc19200", "sha256": "53b45da9a75a2fd1e76e6be9c8e0f33eaa6bfcdb4865776ba724f9ea107eed73" }, "downloads": -1, "filename": "desktop3-0.5.2-py3-none-any.whl", "has_sig": false, "md5_digest": "c813adb83e1e8cdbd2a88adf4dc19200", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16968, "upload_time": "2016-10-26T14:57:05", "url": "https://files.pythonhosted.org/packages/9e/32/d076a7f00e3efb2333eff8c8d84c4712434f7d0eb1c688d5d92f495ce4dc/desktop3-0.5.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0b5e98e23f67df1d636d0f6e575c541c", "sha256": "37e8bfbfbd0ce97471fc48bf5b9ddb2459b7e5f2756b2f5e682831f365723615" }, "downloads": -1, "filename": "desktop3-0.5.2.zip", "has_sig": false, "md5_digest": "0b5e98e23f67df1d636d0f6e575c541c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 35860, "upload_time": "2016-10-26T14:57:08", "url": "https://files.pythonhosted.org/packages/2c/1c/3691a13d4a0104f981b6d1e79a26e8883047c9174b82432f671296100075/desktop3-0.5.2.zip" } ], "0.5.3": [ { "comment_text": "", "digests": { "md5": "c4b6bbeb4e1cb9d6a90dad09a8e3ce24", "sha256": "e5ca2d4dc2b7afe1cb4b1054b2b2fe62c381625ae90926592c36992bdc5c4b8b" }, "downloads": -1, "filename": "desktop3-0.5.3-py3-none-any.whl", "has_sig": false, "md5_digest": "c4b6bbeb4e1cb9d6a90dad09a8e3ce24", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14211, "upload_time": "2019-08-19T14:12:17", "url": "https://files.pythonhosted.org/packages/c9/1a/d143b06fbd06b320cc06bdc7704de21dcf5f7ec91071927f0a2e864685c6/desktop3-0.5.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4410582a2b3b897bd4989b507d171454", "sha256": "a82a49352dac14faa77e31fef8b0773667a2ce83deafc44abc1484d19ea44f6b" }, "downloads": -1, "filename": "desktop3-0.5.3.tar.gz", "has_sig": false, "md5_digest": "4410582a2b3b897bd4989b507d171454", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29136, "upload_time": "2019-08-19T14:12:19", "url": "https://files.pythonhosted.org/packages/fd/a7/7c91c6aa13695a76512919808a1dd9e956929794e22001016eb39c0f4823/desktop3-0.5.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c4b6bbeb4e1cb9d6a90dad09a8e3ce24", "sha256": "e5ca2d4dc2b7afe1cb4b1054b2b2fe62c381625ae90926592c36992bdc5c4b8b" }, "downloads": -1, "filename": "desktop3-0.5.3-py3-none-any.whl", "has_sig": false, "md5_digest": "c4b6bbeb4e1cb9d6a90dad09a8e3ce24", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14211, "upload_time": "2019-08-19T14:12:17", "url": "https://files.pythonhosted.org/packages/c9/1a/d143b06fbd06b320cc06bdc7704de21dcf5f7ec91071927f0a2e864685c6/desktop3-0.5.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4410582a2b3b897bd4989b507d171454", "sha256": "a82a49352dac14faa77e31fef8b0773667a2ce83deafc44abc1484d19ea44f6b" }, "downloads": -1, "filename": "desktop3-0.5.3.tar.gz", "has_sig": false, "md5_digest": "4410582a2b3b897bd4989b507d171454", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29136, "upload_time": "2019-08-19T14:12:19", "url": "https://files.pythonhosted.org/packages/fd/a7/7c91c6aa13695a76512919808a1dd9e956929794e22001016eb39c0f4823/desktop3-0.5.3.tar.gz" } ] }