RE: gnome-terminal question

2009-09-28 Thread bruce
ok

took a look at the hoto that a few had referenced. it seems to apply to
xterm windows, as opposed to gnome terms, but i went ahead and attempted to
implement the escape sequences with no luck.. (could just be user error!)

i also attempted to try to modify the underlying conf files for
gnome-terminal, using the gconftool to dump the intial key/value pairs from
my test gnome-terminal profile.

steps:
1) create a test gnome profile
2) do a gconftool -- dump ./.gconf/apps/gnome-terminal/profiles/test1 
testconf
(this gets a dump of the key/values for the test profile)
3) modify the title element/key in the dumped file..
4) do a load of the new/modified dumped file, to see if this gets
loaded in the current gnome-terminal with the changed title
-- gconftool --load testconf

the changed title is in the testconf file.
the gnome-terminal title is still the same, ie the changes i made aren't in
the
profile, although there was/were no error generated by the --load of the
conf file

i also reset the PROMPT-COMMAND to  just in the weird case it was somehow
resetting my changes...

i've seen a number of people who've had this same/similar question, with no
apparent solution...

i'm willing to create a short step-by-step process once this is solved!

thoughts/comments/pointers...

thanks...


-Original Message-
From: fedora-list-boun...@redhat.com
[mailto:fedora-list-boun...@redhat.com]on Behalf Of Tony Nelson
Sent: Sunday, September 27, 2009 5:36 PM
To: fedora-list@redhat.com
Subject: Re: gnome-terminal question


On 09-09-27 19:19:48, Richard England wrote:
 On 09/27/2009 02:09 PM, bruce wrote:
  hey...
 
  trying to solve an issue on changing the title of the current
  gnome-terminal session.
 
  how does one go about changing the title of the current
  gnome-terminal via the cmdline...
 
  i'm trying to figure out if you can use escape sequences, or
  modifying the profile for the terminal.
 
  trying some of the escape sequences from different web sites
  haven't worked...
 
  thoughts/comments/pointers appreciated...
 
  i'm running fedora 9
 
  thanks
 
 
 
 Have you investigated

 http://tldp.org/HOWTO/Xterm-Title.html

 What have you tried?  If you post your trials, someone may spot a
 problem or we may be able to test it.

I think the problem is that PROMPT_COMMAND is setting it each command,
after you set it.  Either unset PROMPT_COMMAND or change it to do what
you want.

--

TonyN.:'   mailto:tonynel...@georgeanelson.com
  '  http://www.georgeanelson.com/

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: gnome-terminal question

2009-09-28 Thread Dave Cross
2009/9/27 bruce bedoug...@earthlink.net:
 hey...

 trying to solve an issue on changing the title of the current gnome-terminal
 session.

 how does one go about changing the title of the current gnome-terminal via
 the cmdline...

 i'm trying to figure out if you can use escape sequences, or modifying the
 profile for the terminal.

 trying some of the escape sequences from different web sites haven't
 worked...

 thoughts/comments/pointers appreciated...

Follow the instructions at http://tldp.org/HOWTO/Xterm-Title.html. You
don't say which shell you're using, but using the default bash shell,
you can do this:

$ echo -ne \033]0;A New Title\007

You'll probably need to unset the PROMPT_COMMAND value first;

$ export PROMPT_COMMAND=

 i'm running fedora 9

You know that's unsupported, right? I strongly recommend upgrading.

hth,

Dave...

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


RE: gnome-terminal question

2009-09-28 Thread bruce
hi dave...

thanks... went back, and rechecked the howto...

it was a user error! i had been using 003 instead of 033 .. gotta learn to
read!

and yeah.. i know the system is a few versions back! 09 vs 10..

thanks!

ps. know.. if i can figure out how to use the gnome-terminal --execute
foo without having the child process error msg appear...

thanks again..

-Original Message-
From: fedora-list-boun...@redhat.com
[mailto:fedora-list-boun...@redhat.com]on Behalf Of Dave Cross
Sent: Monday, September 28, 2009 7:42 AM
To: Community assistance, encouragement,and advice for using Fedora.
Subject: Re: gnome-terminal question


2009/9/27 bruce bedoug...@earthlink.net:
 hey...

 trying to solve an issue on changing the title of the current
gnome-terminal
 session.

 how does one go about changing the title of the current gnome-terminal via
 the cmdline...

 i'm trying to figure out if you can use escape sequences, or modifying the
 profile for the terminal.

 trying some of the escape sequences from different web sites haven't
 worked...

 thoughts/comments/pointers appreciated...

Follow the instructions at http://tldp.org/HOWTO/Xterm-Title.html. You
don't say which shell you're using, but using the default bash shell,
you can do this:

$ echo -ne \033]0;A New Title\007

You'll probably need to unset the PROMPT_COMMAND value first;

$ export PROMPT_COMMAND=

 i'm running fedora 9

You know that's unsupported, right? I strongly recommend upgrading.

hth,

Dave...

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


gnome-terminal question

2009-09-27 Thread bruce
hey...

trying to solve an issue on changing the title of the current gnome-terminal
session.

how does one go about changing the title of the current gnome-terminal via
the cmdline...

i'm trying to figure out if you can use escape sequences, or modifying the
profile for the terminal.

trying some of the escape sequences from different web sites haven't
worked...

thoughts/comments/pointers appreciated...

i'm running fedora 9

thanks


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: gnome-terminal question

2009-09-27 Thread Hiisi
2009/9/28 bruce bedoug...@earthlink.net:
 hey...

 trying to solve an issue on changing the title of the current gnome-terminal
 session.

 how does one go about changing the title of the current gnome-terminal via
 the cmdline...

 i'm trying to figure out if you can use escape sequences, or modifying the
 profile for the terminal.

 trying some of the escape sequences from different web sites haven't
 worked...

 thoughts/comments/pointers appreciated...

 i'm running fedora 9

 thanks



Why do you need that?
One thought: it's time to upgrade your system...

-- 
Hiisi.
Registered Linux User #487982. Be counted at: http://counter.li.org/
--
Spandex is a privilege, not a right.
--
SIP: hi...@ekiga.net
--
pub   1024D/085B139A
--
Powered by Fedora:
http://fedoraproject.org/

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


RE: gnome-terminal question

2009-09-27 Thread bruce


upgrading in no way gets an answer to my question!

but thanks!!!


-Original Message-
From: fedora-list-boun...@redhat.com
[mailto:fedora-list-boun...@redhat.com]on Behalf Of Hiisi
Sent: Sunday, September 27, 2009 2:18 PM
To: Community assistance, encouragement,and advice for using Fedora.
Subject: Re: gnome-terminal question


2009/9/28 bruce bedoug...@earthlink.net:
 hey...

 trying to solve an issue on changing the title of the current
gnome-terminal
 session.

 how does one go about changing the title of the current gnome-terminal via
 the cmdline...

 i'm trying to figure out if you can use escape sequences, or modifying the
 profile for the terminal.

 trying some of the escape sequences from different web sites haven't
 worked...

 thoughts/comments/pointers appreciated...

 i'm running fedora 9

 thanks



Why do you need that?
One thought: it's time to upgrade your system...

--
Hiisi.
Registered Linux User #487982. Be counted at: http://counter.li.org/
--
Spandex is a privilege, not a right.
--
SIP: hi...@ekiga.net
--
pub   1024D/085B139A
--
Powered by Fedora:
http://fedoraproject.org/

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: gnome-terminal question

2009-09-27 Thread Richard England

On 09/27/2009 02:09 PM, bruce wrote:

hey...

trying to solve an issue on changing the title of the current gnome-terminal
session.

how does one go about changing the title of the current gnome-terminal via
the cmdline...

i'm trying to figure out if you can use escape sequences, or modifying the
profile for the terminal.

trying some of the escape sequences from different web sites haven't
worked...

thoughts/comments/pointers appreciated...

i'm running fedora 9

thanks


   

Have you investigated

http://tldp.org/HOWTO/Xterm-Title.html

What have you tried?  If you post your trials, someone may spot a 
problem or we may be able to test it.


--

/~~R/

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: gnome-terminal question

2009-09-27 Thread Tony Nelson
On 09-09-27 19:19:48, Richard England wrote:
 On 09/27/2009 02:09 PM, bruce wrote:
  hey...
 
  trying to solve an issue on changing the title of the current
  gnome-terminal session.
 
  how does one go about changing the title of the current
  gnome-terminal via the cmdline...
 
  i'm trying to figure out if you can use escape sequences, or
  modifying the profile for the terminal.
 
  trying some of the escape sequences from different web sites 
  haven't worked...
 
  thoughts/comments/pointers appreciated...
 
  i'm running fedora 9
 
  thanks
 
 
 
 Have you investigated
 
 http://tldp.org/HOWTO/Xterm-Title.html
 
 What have you tried?  If you post your trials, someone may spot a 
 problem or we may be able to test it.

I think the problem is that PROMPT_COMMAND is setting it each command, 
after you set it.  Either unset PROMPT_COMMAND or change it to do what 
you want.

-- 

TonyN.:'   mailto:tonynel...@georgeanelson.com
  '  http://www.georgeanelson.com/

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


RE: gnome-terminal question

2009-09-27 Thread bruce
hi tony...

i took a look at the howto earlier when i was looking.. couldn't get the
escape sequences to work correctly...

i then figured that i might be able to create a new gnome conf file, and to
change the title in the xml, so that anytime i started a new gnome term, i
could use the modified gconf xml...

changed the title attribute in the xml, but when i create the gnome term,
using the new gconf.. no luck... so i'm missing something...

thanks


-Original Message-
From: fedora-list-boun...@redhat.com
[mailto:fedora-list-boun...@redhat.com]on Behalf Of Tony Nelson
Sent: Sunday, September 27, 2009 5:36 PM
To: fedora-list@redhat.com
Subject: Re: gnome-terminal question


On 09-09-27 19:19:48, Richard England wrote:
 On 09/27/2009 02:09 PM, bruce wrote:
  hey...
 
  trying to solve an issue on changing the title of the current
  gnome-terminal session.
 
  how does one go about changing the title of the current
  gnome-terminal via the cmdline...
 
  i'm trying to figure out if you can use escape sequences, or
  modifying the profile for the terminal.
 
  trying some of the escape sequences from different web sites
  haven't worked...
 
  thoughts/comments/pointers appreciated...
 
  i'm running fedora 9
 
  thanks
 
 
 
 Have you investigated

 http://tldp.org/HOWTO/Xterm-Title.html

 What have you tried?  If you post your trials, someone may spot a
 problem or we may be able to test it.

I think the problem is that PROMPT_COMMAND is setting it each command,
after you set it.  Either unset PROMPT_COMMAND or change it to do what
you want.

--

TonyN.:'   mailto:tonynel...@georgeanelson.com
  '  http://www.georgeanelson.com/

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines