SEARCH

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 6 years ago by hemant
  • Latest reply from hemant
  • Topic Viewed 1420 times

hemant
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 6 years ago
Top
 
hemant
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 "tomcat.sh"
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 6 years ago
Top
 



Topic Closed

This topic has been closed to new replies.

Get Free Articles in Your Inbox!

Join 134,000 newsletter readers

Email:

Go check your email!