Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use gvfs-open/xdg-open in Lib/webbrowser.py #58698

Closed
doko42 opened this issue Apr 4, 2012 · 5 comments
Closed

use gvfs-open/xdg-open in Lib/webbrowser.py #58698

doko42 opened this issue Apr 4, 2012 · 5 comments
Assignees
Labels
stdlib Python modules in the Lib dir

Comments

@doko42
Copy link
Member

doko42 commented Apr 4, 2012

BPO 14493
Nosy @doko42, @merwok, @bitdancer

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/doko42'
closed_at = <Date 2012-04-05.01:51:54.045>
created_at = <Date 2012-04-04.12:17:20.340>
labels = ['library']
title = 'use gvfs-open/xdg-open in Lib/webbrowser.py'
updated_at = <Date 2012-04-05.01:51:54.045>
user = 'https://github.com/doko42'

bugs.python.org fields:

activity = <Date 2012-04-05.01:51:54.045>
actor = 'r.david.murray'
assignee = 'doko'
closed = True
closed_date = <Date 2012-04-05.01:51:54.045>
closer = 'r.david.murray'
components = ['Library (Lib)']
creation = <Date 2012-04-04.12:17:20.340>
creator = 'doko'
dependencies = []
files = []
hgrepos = []
issue_num = 14493
keywords = ['patch']
message_count = 5.0
messages = ['157472', '157473', '157478', '157479', '157486']
nosy_count = 4.0
nosy_names = ['doko', 'eric.araujo', 'r.david.murray', 'python-dev']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue14493'
versions = ['Python 3.3']

@doko42
Copy link
Member Author

doko42 commented Apr 4, 2012

[forwarded from https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/971311]

The webbrowser.py is using gnome-open. This is no longer supported by gnome, instead they use gvfs-open. The attached patch adds support for this and will also use xdg-open if available as this is meant to be the
cross desktop tool to use for this kind of task, see http://portland.freedesktop.org/wiki/

@doko42 doko42 self-assigned this Apr 4, 2012
@doko42 doko42 added the stdlib Python modules in the Lib dir label Apr 4, 2012
@python-dev
Copy link
Mannequin

python-dev mannequin commented Apr 4, 2012

New changeset 70c58903b52e by Matthias Klose in branch 'default':

@bitdancer
Copy link
Member

If gvfs is preferred, should its if block come second, or perhaps those two should be an if/elif block?

@doko42
Copy link
Member Author

doko42 commented Apr 4, 2012

I don't think so. the register calls append to the list, don't overwrite it.

@bitdancer
Copy link
Member

OK, sounds fine. Shall we close this as fixed then?

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir
Projects
None yet
Development

No branches or pull requests

2 participants