You are not logged in.
Hello everyone, silly question here...
sometimes when I'm working with SublimeText I need to open an entire folder project, not just a file and I know I can do it by opening Sublime and then 'Open folder' but I was wondering if maybe I can add the 'Open with...' or 'Open with sublime' option to the folder's contextual menu... I know I can do that in OSX with automator, but have no idea if I can make it on Arch [specifically XFCE].
Thanks for your help.
"Dream as if you'll live forever, live as if you'll die today" - James Dean
Offline
Yes this is possible for Xfce (Thunar file manager specifically).
Go to Thunar -> Edit -> Configure Custom Actions and add a custom action.
The command could be something like:
subl %f
On the Appearance Conditions tab, make sure directories is ticked.
Hope this helps.
Edit: I'm assuming the Sublime Text command is actually sublimetext, otherwise replace as appropriate.
Edit 2: Changed $PWD to %f ($PWD will only work if you are inside the directory, not if you are a level above the directory and right clicking on it).
Last edited by Chazza (2015-07-22 08:24:14)
Offline
Thank you so much for your help!! the command is "subl %f" but apart from that everything is working flawlessly. thanks again!!
"Dream as if you'll live forever, live as if you'll die today" - James Dean
Offline