Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
aterm with dropshadow
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
arand
Apprentice
Apprentice


Joined: 22 Apr 2003
Posts: 215

PostPosted: Wed Jul 28, 2004 9:36 am    Post subject: Reply with quote

I went and made an ebuild for this and submitted it to bugzilla. This ebuild makes use of a new use varible dropshadow so people can decide whether or not they want to use this feature.
Back to top
View user's profile Send private message
rcxAsh
Guru
Guru


Joined: 03 Jul 2003
Posts: 457
Location: /etc/localtime

PostPosted: Wed Jul 28, 2004 7:58 pm    Post subject: Reply with quote

Sorry for the bump, but I'm really wondering about this...
rcxAsh wrote:
Thanks for the instructions arand, they were very helpful.

aterm looks great with the drop shadow text now. However, I don't know if this is a side effect of the drop shadow patch, or just due to me upgrading to a newer version of aterm (aterm-0.4.2-r9), but my aterms' titles no longer display information such as what directory they are in. Does anyone else notice this? However, iirc, there is a way to set the titles and stuff? Hmm, gotta find that again.

I do have the following in my .bashrc:
Code:
# Change the window title of X terminals
case $TERM in
        xterm*|rxvt|Eterm|eterm)
                PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
                ;;
        screen)
                PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'
                ;;
esac

And this is working with xterm, and used to be working fine with aterm. But now, I don't know what's up. If I manually run:
Code:
echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"
each time I change a directory, it updates the title, however, this is not very practical.

Am I missing something? Or does anyone else have the same thing going right now?
_________________
rcxAsh
Back to top
View user's profile Send private message
Wi1d
Apprentice
Apprentice


Joined: 15 Mar 2004
Posts: 282
Location: USA, Iowa

PostPosted: Wed Jul 28, 2004 8:26 pm    Post subject: Reply with quote

Are there any other links to this patch? The two posted are down.
:oops: nevermind
http://dev.gentoo.org/~spock/portage/distfiles/aterm-0.4.2-ja.patch
Back to top
View user's profile Send private message
rcxAsh
Guru
Guru


Joined: 03 Jul 2003
Posts: 457
Location: /etc/localtime

PostPosted: Thu Jul 29, 2004 6:32 am    Post subject: Reply with quote

Ok, I've managed to answer my own question by looking at the default .bashrc script again.

To the point, after I patched/upgraded to the newer version of aterm, it started identifying itself as "kterm" through the ${TERM} variable (why kterm, I don't know...?). The .bashrc script does not make any provisions for "kterm" (or at least mine does not).

(Try opening your aterm and do "echo ${TERM}" and see what it says... mine said kterm...)

So, I got my pwd back in aterm's title bar by changing my .bashrc file.

If anyone else needs it, here's what I did.

Open your .bashrc file and look for these lines:
Code:
# Change the window title of X terminals
case $TERM in
        xterm*|rxvt|Eterm|eterm)
                PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'

Notice how the case switch stuff only has xterm* or rxvt or Eterm or eterm.

Simply add kterm to that list.

So now it looks like:
Code:
# Change the window title of X terminals
case $TERM in
        xterm*|rxvt|Eterm|eterm|kterm)
                PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'

_________________
rcxAsh
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum