Registered Member
|
I want to open any folder throw open with by git-cola but it didn't work by default because it needs current path parameter. I tried to use "%f", "%1" and "%U" but they didn't work
What's the parameter of current path in KDE? P.S. May you please guide me the rest of parameters in KDE |
Manager
|
the %U and such are not KDE specific but from Freedesktop http://standards.freedesktop.org/deskto ... atest.html
did you try $PWD |
Registered Member
|
But I noticed that File Association uses them!
Didn't work |
Manager
|
should you be doing this in systemsettings - file associations -> inode -> directory -> add ?
you want to open a folder in Dolphin with git-cola? |
Registered Member
|
Man, I already added it, it doesn't work as I mentioned above because it needs current path parameter as shown in the screenshot. |
Manager
|
did you try the git-cola mailing list?
no idea if it will work but what about changing the command to
|
Registered Member
|
Nop, I thought this issue related to KDE because open with works fine in Cinnamon!
When I run it from terminal it worked fine but when I configured directory to be open by it (as mentioned it the sheceenshot above) it didn't work! |
Manager
|
if you use advanced options -> run in terminal, do you get any useful feedback?
in Cinnamon you used %u for work path and it worked fine? my understanding is that .desktop files and it's variables are supposed to be standard (but that's my understanding) |
Registered Member
|
Oops when I configured it to run interminal it worked!!! This partially fixed the issue but I don't want to see damn terminal window!
In Cinnamon worked without passing any thing |
Manager
|
So it seems it's not the missing "working path" but something else for it to have to be using "run in terminal?
I have one program (gnubg) that will only "run in terminal" and I have no idea why maybe a new thread entitled "why program will only run when "run in terminal" is enabled" or such |
Registered Member
|
Do you've any idea how to fix this issue in KDE?
|
Manager
|
none - that's why I suggested a new thread
if you always have a Konsole window open you can use the --new-tab option so that a new Konsole window doesn't open but then each run of git-cola will add another Konsole tab |
Manager
|
not quite correct - the new tab will automatically close when you close the git-cola instance (at least in by test not using git-cola) |
Registered Member
|
I think I'll ask git-cola guys then I'll post the solution here. Any way if any one find the solution don't hesitate to post it here. Thanks |
Registered Member
|
Thanks to David Aguilar he gave me the right solution:
command: git-cola --repo %u working directory : %u |
Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]