Change konsole color scheme via cmd line.

Kevin Krammer kevin.krammer at gmx.at
Thu Aug 21 21:02:42 BST 2008


You can try using DCOP

From within the Konsole

% dcop $KONSOLE_DCOP_SESSION schema

to get the current one

% dcop $KONSOLE_DCOP_SESSION setSchema name

to set one

Cheers,
Kevin


On Thursday 21 August 2008, Lauro Costa G. Borges wrote:
>   Nice =)
>   Is konsoleprofile available for KDE 3.5?
>
>   thanks
>
> Citando Matthew Woehlke <mw_triad at users.sourceforge.net>:
> > Lauro Costa G. Borges wrote:
> >>   Is there a way to change konsole color scheme via command line?
> >>   This way I can have alias to change it when I log to a production
> >> server or when I su to root, etc.
> >
> > 'konsoleprofile "ColorScheme=My Funk Colors"'... basically, it's an
> > escape sequence that is recognized by Konsole for issuing commands (e.g.
> > "ColorScheme=whatever"), so if you expect to use it on arbitrary hosts,
> > probably you want to take a look at the script and use the raw escape
> > sequence (which is generally what I do).
> >
> > I use this all the time, for pretty much the exact same use cases :-).
> >
> > --
> > Matthew
> > Anonymous: I want the following [software] features:
> > Rex Dieter: ...and a pony. Can't forget the pony. (Ones with frickin'
> > laser beams a bonus.)
> >
> > ___________________________________________________
> > This message is from the kde mailing list.
> > Account management:  https://mail.kde.org/mailman/listinfo/kde.
> > Archives: http://lists.kde.org/.
> > More info: http://www.kde.org/faq.html.
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> ___________________________________________________
> This message is from the kde mailing list.
> Account management:  https://mail.kde.org/mailman/listinfo/kde.
> Archives: http://lists.kde.org/.
> More info: http://www.kde.org/faq.html.


-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde/attachments/20080821/23ee2cfd/attachment.sig>
-------------- next part --------------
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


More information about the kde mailing list