#522094 gedit: copy document location to clipboard

Package:
gedit
Source:
gedit
Description:
popular text editor for the GNOME desktop environment
Submitter:
Tyler MacDonald
Date:
2015-12-07 14:57:08 UTC
Severity:
wishlist
#522094#5
Date:
2009-03-31 18:11:56 UTC
From:
To:
Hi,

	It would be really nice if I could right click on a tab / document
body in gedit and select "copy document location" to get the document's full
path in my clipboard.  It seems the closest I can get is going to "File ->
Open" -- which will allow me to drag-and-drop a path into a terminal window,
but I can't drag it into a chat window since pidgin thinks I'm trying to
start a file transfer, or into another document in gedit since gedit thinks
I'm trying to re-open the file...

	Thanks,
		Tyler

#522094#10
Date:
2009-04-01 14:36:08 UTC
From:
To:
Le mardi 31 mars 2009 à 11:11 -0700, Tyler MacDonald a écrit :

You would probably be fine with a plugin doing that, it should only be a
matter of a few lines of python.

Cheers,

#522094#15
Date:
2015-12-07 14:52:19 UTC
From:
To:
I've written a plugin that does it.

You can download it here:
https://github.com/willianveiga/gedit-copy-file-path/releases/latest

I hope this helps you.

Thanks, Willian.