Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chr314/nautilus-copy-path
Configurable extension for Nautilus to copy path, URI, name or content
https://github.com/chr314/nautilus-copy-path
clipboard configurable copy-to-clipboard file-manager gnome keyboard-shortcuts linux multilingual nautilus nautilus-extension
Last synced: about 2 months ago
JSON representation
Configurable extension for Nautilus to copy path, URI, name or content
- Host: GitHub
- URL: https://github.com/chr314/nautilus-copy-path
- Owner: chr314
- License: mit
- Created: 2019-03-31T18:07:23.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-17T09:36:00.000Z (10 months ago)
- Last Synced: 2024-12-29T04:50:32.676Z (about 2 months ago)
- Topics: clipboard, configurable, copy-to-clipboard, file-manager, gnome, keyboard-shortcuts, linux, multilingual, nautilus, nautilus-extension
- Language: Python
- Homepage:
- Size: 142 KB
- Stars: 168
- Watchers: 5
- Forks: 31
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nautilus Copy Path/Name

# Installation
## [AUR](https://aur.archlinux.org/packages/nautilus-copy-path/)
1. `yay -S nautilus-copy-path` or `yaourt -S nautilus-copy-path`
2. Restart the Nautilus (`nautilus -q`)## Net Install
```bash
curl -L https://raw.githubusercontent.com/chr314/nautilus-copy-path/master/net-installer.sh | bash
```## Manual installation
#### Install Dependencies
Fedora `sudo dnf install nautilus-python python3-gobject`
Ubuntu `sudo apt install python3-nautilus python3-gi`
Arch `sudo pacman -S python-nautilus python-gobject`
#### Download & Install the Extension
1. `git clone https://github.com/chr314/nautilus-copy-path.git`
2. `cd nautilus-copy-path`
3. `make install`
4. Restart the Nautilus (`nautilus -q`) if not seeing the options.
## Uninstallation
1. `cd path/to/nautilus-copy-path`
2. `make uninstall`
3. Restart the Nautilus (`nautilus -q`) if still seeing the options after uninstall.
## Keyboard Shortcuts
Default Keyboard Shortcuts
| Action | Shortcut |
|--------------------|------------------|
| Copy Paths | Ctrl + Shift + C |
| Copy URIs | Ctrl + Shift + U |
| Copy Names | Ctrl + Shift + D |
| Copy Files Content | Ctrl + Shift + G |## Configuration
configuration file: [config.json](config.json)
example:
```json
{
"items": {
"path": true,
"uri": true,
"name": true,
"content": true
},
"selections": {
"clipboard": true,
"primary": true
},
"shortcuts": {
"path": "C",
"uri": "U",
"name": "D",
"content": "G"
},
"language": "auto",
"separator": ", ",
"escape_value_items": false,
"escape_value": false,
"name_ignore_extension": false
}
```## Currently supported languages
- Arabic
- Chinese
- Danish
- English
- Finnish
- French
- German
- Greek
- Italian
- Japanese
- Norwegian
- Polish
- Portuguese
- Romanian
- Russian
- Spanish
- Swedish
- Turkish
- Ukrainian
- Vietnamese#### Add new translations
Translations files are in `translations` directory
example: [English Translation](translations/en.json)
1. Copy the english translation file (`en.json`), the new file name must be the new language code (e.g. `es.json`)
2. Translate the values in the new file
3. Add information in the README in the section *Currently supported languages* about new language
3. Create Pull Request with the new translation