首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >konsole没有--新标签选项。

konsole没有--新标签选项。
EN

Unix & Linux用户
提问于 2016-12-22 06:53:57
回答 1查看 2K关注 0票数 0

我的鞋底没有-新标签选项,但它有一个按钮做同样的事情。

代码语言:javascript
复制
Usage: konsole [Qt-options] [KDE-options] [options] [args]

X terminal for use with KDE.

Generic options:
  --help                    Show help about options
  --help-qt                 Show Qt specific options
  --help-kde                Show KDE specific options
  --help-all                Show all options
  --author                  Show author information
  -v, --version             Show version information
  --license                 Show license information
  --                        End of options

Options:
  --name <name>             Set window class
  --ls                      Start login shell
  -T <title>                Set the window title
  --tn <terminal>           Specify terminal type as set in the TERM [xterm]
                            environment variable
  --noclose                 Do not close Konsole when command exits
  --nohist                  Do not save lines in history
  --nomenubar               Do not display menubar
  --notabbar, --notoolbar   Do not display tab bar
  --noframe                 Do not display frame
  --noscrollbar             Do not display scrollbar
  --noxft                   Do not use Xft (anti-aliasing)
  --vt_sz CCxLL             Terminal size in columns x lines
  --noresize                Terminal size is fixed
  --type <type>             Start with given session type
  --types                   List available session types
  --keytab <name>           Set keytab to 'name'
  --keytabs                 List available keytabs
  --profile <name>          Start with given session profile
  --profiles                List available session profiles
  --schema <name> | <file>  Set schema to 'name' or use 'file'
  --schemas, --schemata     List available schemata
  --script                  Enable extended DCOP Qt functions
  --workdir <dir>           Change working directory to 'dir'
  -e <command>              Execute 'command' instead of shell

Arguments:
  args                      Arguments for 'command'

所以我想知道:

  1. 为什么这可能是因为konsole没有选择打开一个新的选项卡,而是可以有一个按钮来做这件事。
  2. 在当前情况下,我如何仍然可以从命令行在同一窗口帧中新建一个选项卡?解决这个问题的可能方法是什么?

版本信息:

代码语言:javascript
复制
Qt: 3.3.6
KDE: 3.5.4-26.el5.centos.1 Red Hat
Konsole: 1.6.4
EN

回答 1

Unix & Linux用户

发布于 2016-12-22 10:17:22

  1. 我不确定较早的Qt程序,但现代Qt框架事件使用“信号和插槽”(http://doc.qt.io/qt-4.8/signalsandslots.html)的概念。我可以想象,Konsole的作者/维护者创建了按钮按下的事件与生成新选项卡的函数之间的链接,但还没有创建--new-tab程序选项和said函数之间的链接(当时)。
  2. 我不确定如何在您当前的情况下解决这个问题(使用您已经安装的软件和框架版本),但是,这个--new-tab选项在较晚版本的Konsole中可用:- new - tab在现有窗口中创建一个新选项卡,而不是像给定选项卡配置文件中指定的那样创建新的窗口选项卡-选项卡-文件创建选项卡。

版本信息:

代码语言:javascript
复制
Qt: 5.5.1
KDE Frameworks: 5.18.0
Konsole: 15.12.3

如果有可能的话(除非与关键任务的服务/程序有任何不兼容之处),最简单的答案可能是将Konsole和/或KDE升级到一个更新的版本。

票数 1
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/332106

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档