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

Bug #1747316 reported by Peter Benjamin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-terminal (Ubuntu)
New
Undecided
Unassigned

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

--

SCRIPT:

#/bin/bash

## 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.
fnstderr="$HOME/system/linode/ssh/gnome-terminal.linode.ssh.stderr.$ds.txt"
date >>$fnstderr
uptime >>$fnstderr

## https://wiki.gnome.org/Apps/Terminal/Debugging
LIBOVERLAY_SCROLLBAR=0
UBUNTU_MENUPROXY=0
NO_UNITY_GTK_MODULE=1

/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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.