konsole

How to launch a KDE konsole with multiple tabs running various progs?

☆樱花仙子☆ 提交于 2020-08-22 04:28:07
问题 I know how to start a Konsole with one executable running in it, and leave the Konsole open after the program ends. I can do this using a .desktop file and change some options in it. But I would like one step further, to launch a KDE konsole with multiple tabs open, each running a particular program, and that when the program finishes it stays open and give you a prompt. There's no man page for Konsole so I don't even know what options it can take. Or some d-bus calls? Thanks 回答1: Who ever

Change color of purple tab text in Konsole CSS

倖福魔咒の 提交于 2020-01-24 19:51:26
问题 When input comes in on a tab that is not active, the text for the tab changes to a purple color. What CSS selectors do I need to use to change this? I am using a custom stylesheet in Konsole to change how the tabs look, but can't figure out how to change this one value. This page makes no mention of it. I'm using Konsole 2.13.2(KDE 4.13.3) on Xubuntu 14.04(XFCE). 回答1: As of today, this tab-activity color appears to be set by void TabbedViewContainer::setTabActivity(int index , bool activity)

Renaming a Konsole session from commandline after ssh

别来无恙 提交于 2020-01-13 11:02:46
问题 I use dcop to rename a Konsole session, such as dcop $KONSOLE_DCOP_SESSION renameSession "whatever" However, when I ssh to a server and from there, I issue this command, it does not work and gives error: ERROR: Couldn't attach to DCOP server! Is there a way using dcop or otherwise to rename the Konsole session, even though I have ssh 'ed to another computer. 回答1: The remote server appears not be running dcop and even if it were, that's not the instance you want to be communicating with

Discovering remote Terminal for Terminal Escape Codes? (DECDHL in this case)

送分小仙女□ 提交于 2020-01-06 16:22:28
问题 I am trying to determine WHAT console I am running in. (Exceptionally hard based on the research I have done so far.) The latest feature that I discovered that would be useful is Double High, Double Wide for a couple of scenarios. The setup is a Kubuntu 15.04 machine with native (lower) and remote access via Terminal.app on OS X 10.10.4. Based on vt100.net Apple is doing the right thing. #!/bin/bash # Cool effect with OS X Terminal.app # Not as much on others (Like Konsole) function embiggen(

Discovering remote Terminal for Terminal Escape Codes? (DECDHL in this case)

本小妞迷上赌 提交于 2020-01-06 16:20:58
问题 I am trying to determine WHAT console I am running in. (Exceptionally hard based on the research I have done so far.) The latest feature that I discovered that would be useful is Double High, Double Wide for a couple of scenarios. The setup is a Kubuntu 15.04 machine with native (lower) and remote access via Terminal.app on OS X 10.10.4. Based on vt100.net Apple is doing the right thing. #!/bin/bash # Cool effect with OS X Terminal.app # Not as much on others (Like Konsole) function embiggen(

Strange symbol in vim command line after start

旧巷老猫 提交于 2019-12-24 15:48:08
问题 I'm using Kubuntu 15.10, konsole and vim. When I initially start vim in konsole, i get strange symbols ("115;0c") in my command line, which is really annoying. i tried "set term=konsole" setting in my .vimrc but i got this E558: Terminal entry not found in terminfo 'konsole' not known. Available builtin terminals are: builtin_gui builtin_amiga builtin_beos-ansi builtin_ansi builtin_pcansi builtin_win32 builtin_vt320 builtin_vt52 builtin_xterm builtin_iris-ansi builtin_debug builtin_dumb

Change Konsole title via Python

跟風遠走 提交于 2019-12-22 08:21:07
问题 How can I change the Konsole title in Python? I found this code: >>> import sys >>> sys.stdout.write("\x1b]2;test\x07") But it only works with Gnome terminal, not Konsole (on Kubuntu). 回答1: I would give "\x1b]0;test\x07" a try (note the 0 instead of 2 ). There is an open bug about Konsole not correctly treating xterm escape sequences; maybe it won't work at all until it is fixed. 回答2: dcop "$KONSOLE_DCOP_SESSION" renameSession "New title here" This should work. You can also run the command

Color themes are strange/incorrect in terminal emulator

对着背影说爱祢 提交于 2019-12-22 06:28:36
问题 I'm running emacs-nox 23.3 in Konsole (from kde) emulator, the most color themes have strange colors. For example, i like the Solarized Theme. I expect the theme should look like this: (source: ethanschoonover.com) However, this is what I get: Broken Solarized Theme http://img824.imageshack.us/img824/3881/voronoi2.png Most of themes that comes in emacs-color-theme package have similar behavior. I tried to change the Konsole color settings - no result. I also tried to replace my .Xresources

Using “konsole” command to run python script

余生长醉 提交于 2019-12-08 03:49:20
问题 I'm trying to, from a command line, open an instance of konsole and run a python script. I'm trying: konsole -hold -e 'python -i hello.py' The behaviour I'm getting is that a persistent konsole opens, and I am dropped into python, but the script does not run. Python 2.7.2+ (default, Oct 4 2011, 20:03:08) [GCC 4.6.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> What do I need to do to get the python script to run in the konsole window? 回答1: jsbueno's

Renaming a Konsole session from commandline after ssh

倾然丶 夕夏残阳落幕 提交于 2019-12-05 17:57:40
I use dcop to rename a Konsole session, such as dcop $KONSOLE_DCOP_SESSION renameSession "whatever" However, when I ssh to a server and from there, I issue this command, it does not work and gives error: ERROR: Couldn't attach to DCOP server! Is there a way using dcop or otherwise to rename the Konsole session, even though I have ssh 'ed to another computer. The remote server appears not be running dcop and even if it were, that's not the instance you want to be communicating with (dcopserver on the remote host vs dcop on your local host). You can use XTerm escape sequences to change the title