Hide Forgot
Description of problem: If you do a gnome-session-save after opening a terminal from the nautilus open terminal option, the current working directory information isn't maintained on next login. Version-Release number of selected component (if applicable): nautilus-open-terminal-0.17-4.el6.x86_64 gnome-terminal-2.31.3-7.el6.x86_64 How reproducible: Every time Steps to Reproduce: right click desktop open terminal cd /tmp gnome-session-save/logout login Actual results: current working directory is now ~/Desktop Expected results: current working directory in terminal should be /tmp Additional info: In the ~/.config/session-state/gnome-terminal-######.desktop file you'll see that terminal's opened with "nautilus-open-terminal" have a "Command" option that supercedes the WorkingDirectory. As such, the '/tmp' is irrelevant since it will cd to the ~/Desktop directory on creation: [Terminal0x2caa560] ProfileID=Default Command='/bin/sh' '-c' 'cd '\\\\''/home/USER/Desktop'\\\\'' && exec $SHELL -l' WorkingDirectory=/tmp Zoom=1 Width=80 Height=24 Instead I would expect: [Terminal0x2caa560] ProfileID=Default WorkingDirectory=/tmp Zoom=1 Width=80 Height=24
Andrew, I believe things would go even more bad when you try to restore multiple tabs, right?
Actually the new tabs created aren't a problem since they aren't opened with the 'nautilus-open-terminal' package. When the new tabs are opened from the terminal they don't pass along the 'Command' parameter to new terminals. See configuration below which is maintained between sessions: [GNOME Terminal Configuration] Version=1 CompatVersion=1 FactoryEnabled=true Windows=Window0; [Window0] MenubarVisible=true Role=gnome-terminal-window-31713-2047878853-1328045165 ActiveTerminal=Terminal0x151dd20 Geometry=80x24+298+57 Terminals=Terminal0x136c0b0;Terminal0x1519e90;Terminal0x151dd20; [Terminal0x136c0b0] ProfileID=Default Command='/bin/sh' '-c' 'cd '\\\\''/home/USER/Desktop'\\\\'' && exec $SHELL' WorkingDirectory=/usr Zoom=1 Width=80 Height=24 [Terminal0x1519e90] ProfileID=Default WorkingDirectory=/bin Zoom=1 Width=80 Height=24 [Terminal0x151dd20] ProfileID=Default WorkingDirectory=/tmp Zoom=1 Width=80 Height=24
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. If you would like it considered as an exception in the current release, please ask your support representative.
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available. The official life cycle policy can be reviewed here: http://redhat.com/rhel/lifecycle This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL: https://access.redhat.com/