Public bug reported:

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 use...@domain.name.com
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  &

** Affects: gnome-terminal (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1747316

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1747316/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to