answered
2014-01-08 21:32:32 +0200
This is happening, because all applications are launched with invoker, and invoker sets POSIXLY_CORRECT environment variable, which causes bash to start in posix mode. Temporary fix would be editing the fingerterm.desktop file's exec line as follows:
/usr/share/applications/fingerterm.desktop:
-------------------------------------------
[Desktop Entry]
Type=Application
Name=Terminal
#Exec=fingerterm
Exec=sh -c "cd ~; unset POSIXLY_CORRECT; exec fingerterm"
Icon=icon-l-terminal
For some reason bash doesn't invoke correctly with just "env -u POSIXLY_CORRECT fingerterm", I don't know why. Invoker should however at least clean that environment variable after it isn't anymore needed in option parsing.
Posix mode probably explains also other troubles with commands in fingerterm.
EDIT: This will be fixed in update 8. Issue #22
For some reason when fingerterm is launched through /usr/bin/invoker (that's what happens when you launch it from fingerterm's icon), /etc/bashrc, /etc/profile.d/* and /home/${USER}/.bashrc are not sourced.. This doesn't happen if you launch explicitly fingerterm from command line, over SSH.
Milo ( 2013-12-29 13:31:04 +0200 )editI would change this to "Make Fingerterm use standard bash". If I try to run "rpm -q bash -i" I get "package -i is not installed". The same command in ssh or even in fingerterm launched from ssh works fine.
etam ( 2013-12-30 00:02:47 +0200 )editI've got some more info about FingerTerm:
- It starts sh not bash.
- It should read config from .config/FingerTerm/settings.ini, but every time I change something, it overwrites it with default one.
etam ( 2013-12-30 01:07:34 +0200 )editAnd obey /etc/password which for users nemo and root (for devel-su) has set shell to /bin/bash.
mcfrisk ( 2014-04-17 12:08:18 +0200 )edit