gnome-terminal-server --app-id option does not accept digits after a period

Bug #1747316 reported by Peter Benjamin on 2018-02-04
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-terminal (Ubuntu)

Bug Description

Low priority - easy work around

On Ubuntu 16.04 LTS for gnome-terminal-server 3.18.3-1ubuntu1

The below error appears upon executing the below script.

Failed to register: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Requested bus name "my.linode.20180204.145656.Terminal" is not valid

The easy work around is to prefix the date and time stamps with a letter. I did not try anything else. I used D and T as the prefix letters for the date and time, respectively. See the script below which has both the work around and recreate error lines.

Terminal Profile "linode" has the Command tab settings as follows:

Checked Run a custom command instead of my shell
Custom command: ssh <email address hidden>
When command exits: Hold the terminal open




## Code that works - easy work around - prefix digits with a letter
ds=`/bin/date '+D20%y%m%d.T%H%M%S'`

## Code that recreates the error
ds=`/bin/date '+20%y%m%d.%H%M%S'`

## Debugging a crash of gnome-terminal-server from this ssh session window being minimized.
date >>$fnstderr
uptime >>$fnstderr


/usr/lib/gnome-terminal/gnome-terminal-server --app-id my.linode.$ds.Terminal

gnome-terminal --app-id my.linode.$ds.Terminal --window-with-profile='linode' --geometry=100x50+18+24 --working-directory=~/system/linode/ssh 2>>$fnstderr &

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers