xfterm4 profile?

luiX_ luixal at softhome.net
Thu Jun 10 12:42:39 CEST 2004


    Well, wish I've read this mail half an hour before... I spent almost 
30 mins having a look at the xterm man page and found out about the 
"-ls" option, this works great, It loads the console as a tty, loading 
all I have on my .profile.

    Thanks to everyone,
    Luis,


Don Christensen wrote:

> luiX_ wrote:
>
>>
>>    Hi, I have a question about the terminal used on xfce4... I use to 
>> work with some aliases such as: ls='ls -la --color' , cp='cp -v' and 
>> things like that, for using them in the tty I put them in ~/.profile 
>> but how can I do this with xfterm4, I mean how can I make this 
>> aliases automatically when I open a xfterm4 terminal?
>>
>>    Thanks,
>>    Luis,
>
>
> As some others have said, you can move the aliases to your .bashrc, since
> it is not the terminal that manages this (at least not directly), it 
> is the
> shell.
>
> The terminal does play one small part, though.  It can be told to start
> its subprocess (the shell) as a login shell by adding the following to
> your .Xdefaults file (or .Xresources):
>
> XTerm*loginShell:               true
>
> You could also set the env var mentioned to include the "-ls" option.
>
> This works for xterm (which I think is what xfterm4 starts by default),
> but probably also works for xterm derivatives.  When bash is started
> as a login shell, it reads the .profile (or .bash_profile).
>
> -Don
>
>




More information about the Xfce mailing list