Qdbus /yakuake/tabs setTabTitle 3 "work server" TERMINAL_ID_2=$(qdbus /yakuake/sessions "$SESSION_ID_2") SESSION_ID_2=$(qdbus /yakuake/sessions ) Qdbus /yakuake/sessions runCommandInTerminal 4 "ssh home -t 'tmux attach -t irssi bash -l'" Qdbus /yakuake/tabs setTabTitle 2 "irssi" Qdbus /yakuake/sessions runCommandInTerminal 3 "su" Qdbus /yakuake/sessions "$TERMINAL_ID_1" Qdbus /yakuake/sessions runCommandInTerminal 2 "su" Qdbus /yakuake/tabs setTabTitle 1 "root" TERMINAL_ID_1=$(qdbus /yakuake/sessions "$SESSION_ID_1") SESSION_ID_1=$(qdbus /yakuake/sessions ) # Start split root sessions (password prompt) top and bottom Qdbus /yakuake/sessions runCommandInTerminal 1 "iotop Qdbus /yakuake/sessions "$TERMINAL_ID_0" Qdbus /yakuake/sessions runCommandInTerminal 0 "htop" Qdbus /yakuake/tabs setTabTitle 0 "user" TERMINAL_ID_0=$(qdbus /yakuake/sessions 0) # Start htop in tab and split to user terminal and run iotop # gives Yakuake a couple seconds before sending dbus commands usr/bin/yakuake -im /usr/bin/fcitx -inputstyle onthespot & # This line is needed in case Yakuake does not accept fcitx inputs. # Adding sessions from previous website is broken, use this: # Starting Yakuake based on user preferences. This includes opening tabs, renaming tabs, splitting shells, and running commands. You can create tabs, assign names for them and also ask to run any specific command in any opened tab or just to show/hide Yakuake window, manually in a terminal or by creating a custom script for it.Įxample of such a script is given below. Thus it can be used to start Yakuake in a user defined session. Like Guake, Yakuake allows to control itself at runtime by sending the D-Bus messages. Then restart Yakuake to apply the change. In order to apply blur background for Yakuake, edit the following file: The warning is somewhat misleading because Yakuake uses KonsolePart which does not have support for blur/transparency, but Yakuake itself can apply such effects to its window. There are bug reports on upstream about this warning. You need to restart Konsole to see transparent background. Note: Enabling the Blur background option in Yakuake's Konsole profile will enable blur for Yakuake's window but show a warning as Konsole was started before desktop effects were enabled.
0 Comments
Leave a Reply. |