-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans  . 

Konsole DCOP Scheme Automation Tool

   0.9.0  

KDE Improvement

Score 68%
Link:  Link
Downloads:  641
Submitted:  Feb 24 2007

Description:

This is a Bash script to automatically set the desired Konsole Schema when apps such as VIM and less are executed.

It is a simple Bash script I wrote which allows you to automatically have the desired schema set when apps are run from within the shell.

For example, by default, when the user runs VIM with this script installed, the Konsole schema will switch to "VIM Colors" for the duration the user is in VIM. When the user exits VIM, the schema will change back to whatever it was before VIM was run. Other apps this script is setup for by default are:

less
man
info
watch
top
htop

I decided to create this because I became tired of switching my Konsole schema whenever I ran vim. I am now releasing it to everyone as I'm sure someone else out there will find this usefull too.

This is a also nice way to impress your friends with how much more advanced the Linux shell is than those of the competitors! ;)

Users may also wish to enable this for other applications, such as mutt. To do so, simply edit the file ~/.konsole_dcop/schemas and follow the existing syntax.

If you like this script, please leave a comment to let me know!




Changelog:

This is the initial release. It is expected to be fairly stable and fully usable. If you have any bugs to report, please do so in the Issues category of the project homepage. Thank you.




LicenseGPL
(Konsole-DCOP-Scheme)
Send to a friend
Subscribe
Other  Apps  from SolidLIq
Report inappropriate content



-

 great!

 
 by hronir on: Nov 14 2007
 
Score 50%

It's been a long time since I start looking for something similar!
Actually my point was to change schema depending on the remote machine I'm logged in, so your great solution is not usable "as is". I can use the machine name after the ssh command to trigger the load of proper schema, but then I can't use any more dcop, once I land on the remote machine (and, for example, ssh to another different machine again...).


hronir
Reply to this

-

 suggestions

 
 by mscroggi on: May 23 2008
 
Score 50%

I love this package.. I ran into a couple of things I didnt like and tweaked on my copy a bit. The biggest change I made was to change the way the app and schema values were parsed from the schemas file. My change allows the command to be multiple words with spaces etc.. Here is my tweak -

set -- `grep -w --color=never ${appName} ~/.konsole_dcop/schemas`
appLabel=$1
shift
appSchema=$1
shift
appCmd=$@

Also, I figured out how to get the current session name, and set it back after the command executes, just like you did with the schema name -

(in getKonsoleInfo() )
origsessionName=`dcop $konsole $session sessionName`

(towards the bottom of the script where the commands are fired)

dcop $konsole $session renameSession "${appLabel}"
dcop $konsole $session setSchema ${appSchema}

${appCmd} ${*}

dcop $konsole $session renameSession "${origsessionName}"
dcop $konsole $session setSchema "${origSchema}"


Reply to this

-

 suggestions

 
 by mscroggi on: May 23 2008
 
Score 50%

I love this package.. I ran into a couple of things I didnt like and tweaked on my copy a bit. The biggest change I made was to change the way the app and schema values were parsed from the schemas file. My change allows the command to be multiple words with spaces etc.. Here is my tweak -

set -- `grep -w --color=never ${appName} ~/.konsole_dcop/schemas`
appLabel=$1
shift
appSchema=$1
shift
appCmd=$@

Also, I figured out how to get the current session name, and set it back after the command executes, just like you did with the schema name -

(in getKonsoleInfo() )
origsessionName=`dcop $konsole $session sessionName`

(towards the bottom of the script where the commands are fired)

dcop $konsole $session renameSession "${appLabel}"
dcop $konsole $session setSchema ${appSchema}

${appCmd} ${*}

dcop $konsole $session renameSession "${origsessionName}"
dcop $konsole $session setSchema "${origSchema}"


Reply to this

Add commentBack






-
-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.