[Konsole-devel] konsole and bash_logout

K K nnex at mail.ru
Mon Dec 26 15:41:40 UTC 2011


Oh.. yeah :)
it's worked! Thanks a lot

On 12/26/2011 07:00 PM, Jekyll Wu wrote:
> On 2011年12月26日 20:32, K K wrote:
>> Hi all.
>> I have an kde 4.6.5 and Konsole 2.6.4
>> But my ~/.bash_logout do not execute on exit from Konsole. But 
>> ~/.bash_logout work if I logout from console.
>> Do have Konsole some logout script?
>>
>> Thanks
>> _______________________________________________
>> konsole-devel mailing list
>> konsole-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/konsole-devel
>
> Well, .bash_logout, as its name implies, is only meant for interactive 
> login bash.
>
> When you login at tty, of course you get an interactive login shell. 
> When you use Konsole, you will get a interactive non-login shell by 
> default unless you explicitly tell Konsole to start a login shell.
>
> So check your profile, change its command to 'bash -l', if you really 
> want to run a login shell in a terminal emulator.
> _______________________________________________
> konsole-devel mailing list
> konsole-devel at kde.org
> https://mail.kde.org/mailman/listinfo/konsole-devel




More information about the konsole-devel mailing list