Comments (6)
@bassmanitram, thanks !!!
Fixed with :
bigbob@bigbob-ux31a:~$ rm -rf ~/.local/share/nautilus-python
bigbob@bigbob-ux31a:~$
from actions-for-nautilus.
Check whether you json file contains also double entries
Funnily I just opened an issue (for the wiki) about pdf compression. Please have a look - your solution might look similar. It took we a while to find a combination of paramenters which seemed to work fine for diverse pdfs
from actions-for-nautilus.
This the 1st thing I have checked, and no, there is no double entries in my json file :
bigbob@bigbob-t480s:~$ cat ~/.local/share/actions-for-nautilus/config.json | jq | grep label
"label": "Comparaison de 2 fichiers PDF's",
"label": "Conversion de taille PDF's basse résolution (screen)",
"label": "Conversion de taille PDF's moyenne résolution (ebook)",
"label": "Conversion de taille PDF's haute résolution (printer)",
"label": "Conversion de taille PDF's très haute résolution (prepress)",
"label": "Conversion de fichier(s) mail (eml) en PDF(s)",
"label": "Création d'une image ISO à partir d'un répertoire",
"label": "Conversion résolution de fichiers Images vers 1024 points max",
bigbob@bigbob-t480s:~$
from actions-for-nautilus.
@biokomiker, here is the commands behind my actions for nautilus :
bigbob@bigbob-t480s:~$ cat ~/.local/share/actions-for-nautilus/config.json | jq
{
"actions": [
{
"type": "command",
"label": "Comparaison de 2 fichiers PDF's",
"command_line": "diffpdf %F",
"min_items": 2,
"max_items": 2,
"permissions": "read",
"mimetypes": [
"application/pdf"
]
},
{
"type": "command",
"label": "Conversion de taille PDF's basse résolution (screen)",
"command_line": "gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -sOutputFile=%d/new-screen-%b %d/%b",
"min_items": 1,
"permissions": "read",
"mimetypes": [
"application/pdf"
]
},
{
"type": "command",
"label": "Conversion de taille PDF's moyenne résolution (ebook)",
"command_line": "gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -sOutputFile=%d/new-ebook-%b %d/%b",
"min_items": 1,
"permissions": "read",
"mimetypes": [
"application/pdf"
]
},
{
"type": "command",
"label": "Conversion de taille PDF's haute résolution (printer)",
"command_line": "gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -sOutputFile=%d/new-printer-%b %d/%b",
"min_items": 1,
"permissions": "read",
"mimetypes": [
"application/pdf"
]
},
{
"type": "command",
"label": "Conversion de taille PDF's très haute résolution (prepress)",
"command_line": "gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/prepress -sOutputFile=%d/new-prepress-%b %d/%b",
"min_items": 1,
"permissions": "read",
"mimetypes": [
"application/pdf"
]
},
{
"type": "command",
"label": "Conversion de fichier(s) mail (eml) en PDF(s)",
"command_line": "java -jar /usr/local/bin/emailconverter.jar %d/%b",
"min_items": 1,
"permissions": "read",
"mimetypes": [
"message/rfc822"
]
},
{
"type": "command",
"label": "Création d'une image ISO à partir d'un répertoire",
"command_line": "mkisofs -lJR -o %f.iso %f",
"min_items": 1,
"max_items": 1,
"permissions": "read",
"mimetypes": [
"inode/directory"
]
},
{
"type": "command",
"label": "Conversion résolution de fichiers Images vers 1024 points max",
"command_line": "convert -resize 1024x1024 %d/%b %d/max-1024-%b",
"min_items": 1,
"permissions": "read",
"mimetypes": [
"image/*"
]
}
],
"debug": false
}
bigbob@bigbob-t480s:~$
from actions-for-nautilus.
Hey, @Creteil
I just copied your config into mine and this is what I get... (well, apparently I have screwed up my Print key mapping, so) ... I get one entry per item...
What WOULD explain this is if, somehow, in the Nautilus extensions directory you have TWO versions of the extension. Nautilus would start each up and they would both look at the same config file - I just proved that that would happen. You may have a local version (in /$HOME/.local/share/nautilus-python/extensions
) and a "global" version installed with the .deb
file?
from actions-for-nautilus.
Excellent! Closing.
from actions-for-nautilus.
Related Issues (20)
- ShowIfTrue feature would be nice! HOT 2
- Open a terminal as root in a specific folder HOT 3
- Nautilus Desktop HOT 1
- JQuery gets 404 in configurator HOT 4
- how can I see the debug output? HOT 3
- not an issue, for the Wiki HOT 2
- actions-for-nautilus doesn't handle specials character in filenames... HOT 12
- Auto TAG debian package with github commit...
- Action that requires user input HOT 5
- hide/disable entries in the web interface HOT 1
- Static port for web interface HOT 2
- Blank page when starting AFN HOT 9
- Highlight Save button in Orange for unsaved settings HOT 1
- Using pipe to another command to display progress bar... HOT 1
- Does not work with commands that use placeholders
- Handling simple and double quotes in filenames... HOT 1
- Add commands to top of context menu HOT 2
- [Security] Port remains open after webpage is closed HOT 5
- How to direct command output to a file HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from actions-for-nautilus.