Far manager shell folders how to#
Wineconsole -backend=user "c:/program files/far/far.exe" How to run Linux commands from FAR Manager
Far manager shell folders windows#
How to use ctrl-alt-ins to copy unix directory links instead of windows under FAR Managerįor l in io.lines(n) do far.CopyToClipboard(l) end Win.ShellExecute(nil, "open", "dolphin \"".shortpath."\"") could also do "print(dolphin) key(Enter) but that pollutes the command line cant do exec('dolphin \".\"',".",function()end) because it blocks if that's what is under the cursor, since that means a directory above currentĮxec("readlink -f \"".sympath."\"","c:\\",function(out) shortpath=out end) -cannonicalize, or recursevely resolve wine's symbolic links to point to the actual linux file Create the following macro in c:/users/xxx/Application Data/Far Manager/Profile/Macros/scripts/aĮxec("winepath \"".APanel.Path.(APanel.Current="." and "" or "\\".APanel.Current)."\"","c:\\",function(out) sympath=out end) - convert path but dont put in.Unzip a to c:/users/xxx/Application Data/Far Manager/Profile/Macros/modules.Get a command executor lua extension from here.Win.ShellExecute(nil, "open","dolphin\" \"".shortpath."\"") - funky quoting is to work around CreateProcessW being called with the argument enclosed in \" cannonicalize, or recursevely resolve wine's symbolic links to point to the actual linux file n)įor l in io.lines(n) do longpath=l end - a clunky way to get the first line
if that's what is under the cursor, since that means a directory above current could also do "print dolphin \".\"", "press enter" but that pollutes the command line Use the following:Īrea="Shell" key="ShiftEnter" description="Open folder in dolphin instead of the default wine explorer" action = function() You need to pipe command output to a temp file. You can see it by calling lua:local f=io.popen('dir') print("") from the FAR command line. Wine sends linux command's output to linux's stdout, and lua gets nothing. Wine 2.19 changed the way it is routing stdout of linux commands that are called from within wine. H:\Programs\yakuake-session\yakuake-session -h -t "Far" -e ls -altR How to configure shift-enter to open Dolphin from FAR Manager start your wine application with a debug settingĮnv WINEDEBUG=fixme-all WINEPREFIX=. How to pipe output from within FAR to a new session in yakuake xsession-errorsĭo the same that you would for any other noisy wine app, ie. Xdg-open "!.!" How to disable the noisy logging of stubs and semi-stubs to. Set your associations using Commands > File associations menu per file type or for * to How to open files using linux associations
I have folders that I use from time to time assigned to right Ctrl + 0 (zero).A quick note - most of this page relates to FAR Manager running on Linux using Wine - see the wine page for details. In this case Far Manager would show you a menu with all folders when you press that shortcut. You can assign more than folder to a single shortcut. I train myself to delete everything from that folder from time to time. Usually I put there files and folders that I’m going to upload somewhere. I have right Ctrl + 1 assigned to my temp folder, I gave it 1Temp name so that it’s always on top and also to remind me that it has 1 as shortcut. You can view all your folder shortcuts by pressing F9 to open the top menu, then C to open Commands submenu, then D: Now you can press right Ctrl + 1 to jump to that folder. Go to your favorite folder in Far Manager.You can quickly jump to your favorite folders in Far Manager by pressing right Control + 1, 2, 3, 4, 5 and so on.