Comments (10)
@fleytman you can use far2l /cd /path/to/dir
but there is some problems that I described in #599 and the fix may change the command so please vote.
@unxed In MATE you can install caja-actions package and then run configuration GUI by System / Preferences / Look and feel / Caja Actions
or by terminal:
sudo apt install caja-actions
caja-actions-config-tool
Then create a text file far2l.desktop
with content:
[Desktop Entry]
Type=Action
Name[en_US]=Open in Far
Name[en]=Open in Far
Name[C]=Open in Far
Tooltip[en_US]=Open in Far
Tooltip[en]=Open in Far
Tooltip[C]=Open in Far
Icon[en_US]=/usr/share/icons/hicolor/48x48/apps/far2l.svg
Icon[en]=/usr/share/icons/hicolor/48x48/apps/far2l.svg
Icon[C]=/usr/share/icons/hicolor/48x48/apps/far2l.svg
TargetLocation=true
TargetToolbar=true
ToolbarLabel[en_US]=Open in Far
ToolbarLabel[en]=Open in Far
ToolbarLabel[C]=Open in Far
Profiles=profile-zero;
[X-Action-Profile profile-zero]
Name[en_US]=Open Far in current directory
Name[en]=Open Far in current directory
Name[C]=Open Far in current directory
Exec=far2l cd
Path=%f
MimeTypes=inode/directory;
Capabilities=Local;
Then press Tools / Import assistant
and import the file. Do not forget to press Ctrl+S
or File / Save
.
Then open Caja and you'll see a far icon in toolbar and in context menu included into Caja Actions actions
.
You may want to see the Far icon directly in context menu without submenu. To do so open caja-actions-config-tool
and press Edit / Preferences
on Runtime prefs
tab uncheck Create a root 'Caja actions' menu
.
from far2l.
@unxed to enable it for Desktop:
Open the Capabilities
tab and remove the Local condition.
from far2l.
not sure if such thing is appropriate for far at all
from far2l.
I mean "open current folder in far manager". Like commonly used "open current folder in terminal".
from far2l.
Is there a way to open far2l with the selected directory?
Like:
far2l .
far2l ~/Downloads
from far2l.
Speaking generally far2l should create it's own .desktop
file and register it in system as caja or nautilus file manages do.
from far2l.
@stokito thanks a lot! Item appeared in folders context menu. Is where any way to add it to menu that is appearing then I make right click on desktop's or folder's free space?
from far2l.
Well, it should work like that because I checked "Display in location menu" but for some reason, it doesn't work. But there is a workaround: open MIME Types tab and replace inode/directory
with *
from far2l.
[Desktop Entry]
Type=Action
Name[en_US]=Open in Far
Name[en]=Open in Far
Name[C]=Open in Far
Tooltip[en_US]=Open in Far
Tooltip[en]=Open in Far
Tooltip[C]=Open in Far
Icon[en_US]=/usr/share/icons/hicolor/48x48/apps/far2l.svg
Icon[en]=/usr/share/icons/hicolor/48x48/apps/far2l.svg
Icon[C]=/usr/share/icons/hicolor/48x48/apps/far2l.svg
TargetLocation=true
TargetToolbar=true
ToolbarLabel[en_US]=Open in Far
ToolbarLabel[en]=Open in Far
ToolbarLabel[C]=Open in Far
Profiles=profile-zero;
[X-Action-Profile profile-zero]
Name[en_US]=Open Far in current directory
Name[en]=Open Far in current directory
Name[C]=Open Far in current directory
Exec=far2l cd
Path=%f
from far2l.
open MIME Types tab and replace
inode/directory
with*
Works for folders, thanks!
Still no effect on desktop :(
from far2l.
Related Issues (20)
- Regarding files highlighting masks: use regexps instead of globs? HOT 7
- Files highlighting masks: minor correction needed HOT 1
- Files highlighting marks symbols by default: remove or change with mc tradition HOT 12
- Wrong cask url in homebrew, please fix it. HOT 1
- Fix 'Align file extensions'
- "Test archive" command leads to /dev/null corruption if run with privilege elevation
- Consider switching (back?) to codecvt as an alternative to iconv and Wine charset routines HOT 4
- Suggestion to use `find_package()` over `pkg_search_module()` for better logs
- Crash in colorer(?) HOT 6
- Function Menu: BreakKeys problem
- Colorer failed to build on ARM HOT 1
- Black and white mode is no longer pure black and white
- Unable to build from "master" branch HOT 4
- build: NetRocks and depends on ssl
- Separate proxy per NetRocks connection like in Far3 windows HOT 7
- "[sudo]: command not found" in NixOS HOT 2
- rename folder in case-insensitive File System HOT 1
- Netrocks: Non-empty folder deletion failure HOT 4
- PANIC-PANIC during Quick view of a directory containing inaccessible folders HOT 2
- Disable GNOME keyboard shortcuts for GTK version (Alt-F2 etc.) HOT 2
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 far2l.