Comments (6)
Works as expected!
Thanks for your efforts. :)
from nautilus-right-click-new-file.
If you would like to extend this, I welcome a pull request!
Manual (english-focused) instructions are here
Move the extracted files (templates) into /home/youruser/Templates/
Do you have /home/youruser/Sjabloon
?
Or try:
cd ~/Sjabloon && pwd
^ That should give your Dutch version of ~/Templates
from nautilus-right-click-new-file.
I'm sorry, I should have been a bit more clear here.
I know that your manuals and your script are english-focused and I moved the files accordingly.
My system runs mainly in german so my path would be /home/user/Vorlagen/
However, what I meant is that some people might want to create ~/Templates/
and copy the files into it and are confused that it isn't working as expected, because they had to copy it to their translated path, e.g. ~/Vorlagen
instead of the english Templates path.
So basically I just wanted to point out that a note on your manuals for non-english users would be great and that it would be even greater if the script would automatically move it to the correct folder (which means it should be able to determine the users language but I don't know how to accomplish this).
Pull request should be coming soon if I do it right.
from nautilus-right-click-new-file.
I solved it. You should test it yourself, but for me it worked and it sounds logical to me, that it works for every other supported language as well.
See pull request.
from nautilus-right-click-new-file.
Please add the conditional check and I'll run a test on my system, after!
from nautilus-right-click-new-file.
A little extra to my comments in the pull request section. To get the value - which I assigned to customPath - for your system run
source ~/.config/user-dirs.dirs && echo $XDG_TEMPLATES_DIR
It should give you something like /home/MyUser/Templates
(I'd give you a screenshot but github says "Something went really wrong, and we can't process that file. Try again." even though it's just a png screenshot file. Strange...)
EDIT: It works now. Github needs amazonaws.com to upload pictures...
Here it is:
Ignore the ^C.
from nautilus-right-click-new-file.
Related Issues (2)
- Clean up Script HOT 1
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 nautilus-right-click-new-file.