roxterm emulator: Change Profile in all Active TTYs

一个人想着一个人 提交于 2019-12-08 02:02:23

问题


The terminal emulator roxterm saves an environment variable containing an unique id for each tty session.

e.g:

echo $ROXTERM_ID
0x26d39e0

This is needed in order to send dbus messages to roxterm, which will take effect only for this particular tty.

According to the manual settings of the current tty can be changed like so:

dbus-send --session /net/sf/roxterm/Options net.sf.roxterm.Options.SetColourScheme string:$ROXTERM_ID string:Tango

This changes the color theme to "Tango". It works.

How can I change all currently open roxterm windows in the same way?

According to the manual dbus-send --session /net/sf/roxterm/Options net.sf.roxterm.Options.OptionsChanged string:Colours string:Tango should do the trick. However, it has no effect.

来源:https://stackoverflow.com/questions/38452047/roxterm-emulator-change-profile-in-all-active-ttys

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!