Thunar|Thunar 右键菜单等自定义
Thunar 右键菜单等自定义
可以使用图形界面或者直接编辑配置文件,二者是等价的。
图形界面:
文章图片
以给“zip,rar,7z”等文件添加“在此位置使用unar解压缩”的右键菜单为例:(unar可以很好地处理编码问题,但没有图形界面)
- 新建一个选项
文章图片
- 编辑启动命令
文章图片
- 编辑触发条件
文章图片
- 确定即OK
文章图片
文章图片
直接编辑配置文件:
$ cat ~/.config/Thunar/uca.xml
utilities-terminal
在此打开终端
1538777169027791-1
exo-open --working-directory %f --launch TerminalEmulator
自定义动作示例 *
在此打开terminator
1540063484936906-1
terminator --working-directory=%f
在此打开terminator *
在此以root打开thunar
1539114419517939-1
pkexec thunar %f
在此以root打开thunar *
上述内容中
一行不是必须的,
一行是自动生成的。更丰富的功能和配置选项:
https://docs.xfce.org/xfce/thunar/custom-actions
【Thunar|Thunar 右键菜单等自定义】转载于:https://www.cnblogs.com/dylanchu/p/9781463.html
推荐阅读
- Android实现主页底部菜单中间tab图案凸起
- 圆形菜单
- 下拉菜单
- macOS|macOS SwiftUI 组件之 实用下拉菜单 (教程含源码)
- “我们都是成年人”――兼议“菜单式”学习思维
- 基于Vue实现的侧边栏导航组件,自动居中,上下滑动切换菜单
- Windows Shell编程之右键菜单遇到的问题
- Fabric.js|Fabric.js 右键菜单
- Ant|antd pro 4.0 动态菜单
- Android自定义动画--放射菜单