On Fri, 2009-03-20 at 12:01 +0100, Will Stephenson wrote:
On Friday 20 March 2009 10:43:03 Roger Oberholtzer wrote:
Previous to KDE4.2, konsole had command line options to control things like if the scrollbar was shown, or the size in characters. These were options like:
--vt_sz 100x34 --notoolbar --noxft --notabbar --noframe --nomenubar
It seems that these have gone away. I have been looking everywhere for a description of how this is done in 4.2, to no avail. I am guessing this is done with a profile option. Does anyone know where these profile options are described in such detail that includes the names of these options so they can be used on the command line with:
-p
The code says "TODO: document more thoroughly"; the manual is out of date; but giving konsole in KDE 4 options from a profile config file (~/.kde4/share/apps/konsole/*.profile) works:
$ konsole -p ScrollBarPosition=2 -p TabBarMode=0 -p ShowMenuBar=false -p AntiAliasFonts=true
Except that ShowMenuBar appears to be bugged - even without command line args, my menu bar is visible when the menu item for this is not toggled on.
--noframe is redundant as KDE 4 konsole never shows the extra frame, the current maintainer was the guy who started the campaign against extra frames in KDE GUIs. For a hardcore terminal you can turn off the entire window border using the Advanced window menu in KWin.
afaics the vt size option can no longer be set directly, and Konsole does not seem to respect the --geometry XxY kde-wide option either
The complete list of properties are visible at http://websvn.kde.org/trunk/KDE/kdebase/apps/konsole/src/Profile.h?view=mark... after "enum Property"
This is exactly what I was looking for. I think I can use the same values for KDE 3.5 and 4.2, as they were supported then in addition to the alternate command line options. At least the options I tried in both seem to be working as expected. Too bad about the loss of vt_sz. Console apps are seldom non-character, and are usually non-scrolling. Specifying the size in some other unit (pixels) seems foreign. Maybe there is a non-public property that controls this. I can deal with this, but it is a loss of a useful feature. -- Roger Oberholtzer OPQ Systems / Ramböll RST Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden Office: Int +46 8-615 60 20 Mobile: Int +46 70-815 1696 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org