The How-To Geek Forums Have Migrated to Discourse

How-To Geek Forums / Geek Stuff

icon for custom key shortcut application - xterm

(2 posts)
  • Started 8 years ago by hemant
  • Latest reply from hemant
  • Topic Viewed 1420 times


Recommended: Clean Your Mac the Easy Way with CleanMyMac 3

If you want to clean up your Mac the easy way, CleanMyMac is a great tool to get the job done easily, and it will even keep your computer clean automatically.

Unlike the competition, it also includes great tools like a Clean Uninstaller, to get rid of applications and clean up the junk that they leave behind. All with the click of a button.

Download CleanMyMac 3 for Free Today

Posted yesterday 
Posts: 2

I assigned a short cut key to start up tomcat in a xterm window. I would like to have a custom icon to this xterm window. Does anyone know how i can do that. I tried looking up the man page for xterm, didnt get any clue.
appreciate any help on this.
Prior to xterm, i tried the gnome-terminal, but for some reason it would not invoke my tomcat.
xterm works just fine. The title bar of this xterm window has a regular application icon. It is this icon that I wish to customize.

Posted 8 years ago
Posts: 2

I ended up writing a small script that starts up tomcat, tails the tomcat log, and executed this script in gnome-terminal --tab-with-profile=tomcat -e ""
and in the tomcat profile i set the icon to the tomcat.gif. So I did finally get the effect I wanted. But somehow, i am not happy that I had to write a script that starts tomcat and tails the log. Instead i would be more happy if gnome-terminal -e would use two ";" separated commands. If anyone of you have managed to get the -e option with multiple commands, I would be happy to know that.

Posted 8 years ago

Topic Closed

This topic has been closed to new replies.