Translate

2019/07/26

ダイアグラムのカラーテーマ設定(前半)

ダイアグラムの表示色

Papyrusのクラス図でモデル作成を行うと以下の図のような見慣れた配色で表示がなされます。

なぜこの配色がデフォルトとなのか理由は知らないのですが、落ち着いた感じでもあり、また少し冷たい感じもします。好みではあるでしょうけど。

ただ、ダイアグラムを他の文書に貼り付けたい場合に、色目がないモノクロでの図が欲しい場合もあります。実際、Papyrusのこのグラデーションがかかった図を紙面に印刷した場合に、図の内容が分かりにくくなることがあります。

個別にモデル要素の見た目を変更する場合には、Properties(日本語化している場合にはプロパティー)の所にあるAppearanceにて、色やグラデーション、線の細さ、フォント、アイコンあり・なし等が変更出来ますが、全ての要素を個々に変更し続けることは大変なので、一括で変更したい時があります。その場合には Papyrus のPreferences(設定)にあるPapyrus設定のCSS Themeを変更する形になります。

CSSテーマ

CSSとはCascading Style Sheetsの略語であり、 「HTML や XML の要素をどのように修飾(表示)するかを指示する、W3Cによる仕様の一つ」 です(Wikipediaより)。 デフォルトで設定されているPapyrusのCSS設定は「Papyrus Theme」と呼ばれているものです。Peferenceから辿れる Papyrus の CSS Theme では以下の様になっています。

このメニュー上の Current Theme を変更することで別のテーマに切り替えることが可能です。選択可能なリストの中には「Black & White」という要素も存在しています。

「Black & White」に切り替えることで、先程のクラス図の見た目は以下の様に変わります。

これはこれで悪くはないのですが、少しシンプル過ぎる気がします。個人的には白黒表示にしつつアイコン表示は欲しい所です。 以下に示す様なイメージです。ぱっと見たときに、様々なモデルの付加属性がわかりやすく、かつシンプル、という気が個人的にはしています。

この表示にすべく、これまでは「CSSテーマをBlack & Whiteに」「個々のモデルに対してアイコン表示設定をON」として使っていました(特に印刷物対応が必要となる文書向けのダイアログ作成では)。

ちなみにアイコン表示設定は Appearance の最下部にあるElement iconのチェックボックスになります。

ただ全てのモデルの表示設定を毎回手で実施していくのはやはりとても大変でして、一括変更が欲しい所です。

その場合は、自身でCSSテーマを作成することになります。

今回始めて自身でのCSSテーマ作成を実施したので、その内容について後半の記事に残しておきます。

2019/07/19

Papyrus/Eclipse 2019-06 の日本語化(Babel)

Babel Language Packs R0.17.0 are now available!

Papyrus 2019-06(4.4.0) のベースとなる Eclipse 2019-06 を日本語化する Babel の最新版がリリースされました。

過日の記事「Babel (Eclipse/Papyrusの日本語対応)のリリースについて」に記載した通り、無事に7月末までの時期にリリースされました。Eclipse 20XX-06 リリースの一ヶ月後という予定通りのリリースです。

Babel のインストールは このページの「Installing the language packs」に記載された内容 に基づき、進めていく形になります。

簡単に転記すると以下の通りです:

  • メニューの 'Help' > 'Install new software...' からインストールウィザードを開く
  • Babel p2 リポジトリである https://download.eclipse.org/technology/babel/update-site/R0.17.0/2019-06/ を追加する
  • 必要な言語パック(language pack)を選択しインストール
  • Eclipseを再起動することで選択言語に翻訳された Eclipse が起動

具体的なGUI操作については 過去の記事 「Papyrus の日本語化」 を参考にして下さい。

Papyrus RCP 日本語化した結果

インストール結果は以下の通りです。これまでと同じくEclipseとしての基本的なメニューは日本語化されますが、 Papyrus のメニューに関しては英語のままとなっています。

インストールしてみた印象として、前の版よりもインストール時にリポジトリからデータ取得する時間が増えている気がします。

なお日本語対応される対象プラグインは以下となっています:

  Babel Language Packs in Japanese 
    Babel Language Pack for datatools in Japanese (83.09%) 4.12.0.v20190713060001
    Babel Language Pack for eclipse in Japanese (92.9%) 4.12.0.v20190713060001
    Babel Language Pack for modeling.emf in Japanese (71.01%) 4.12.0.v20190713060001
    Babel Language Pack for modeling.graphiti in Japanese (63.83%) 4.12.0.v20190713060001
    Babel Language Pack for modeling.mdt.bpmn2 in Japanese (38.44%) 4.12.0.v20190713060001
    Babel Language Pack for modeling.tmf.xtext in Japanese (65.79%) 4.12.0.v20190713060001
    Babel Language Pack for mylyn in Japanese (84.84%) 4.12.0.v20190713060001
    Babel Language Pack for rt.rap in Japanese (93.71%) 4.12.0.v20190713060001
    Babel Language Pack for soa.bpmn2-modeler in Japanese (27.89%) 4.12.0.v20190713060001
    Babel Language Pack for technology.egit in Japanese (82.59%) 4.12.0.v20190713060001
    Babel Language Pack for technology.jgit in Japanese (15.62%) 4.12.0.v20190713060001
    Babel Language Pack for technology.lsp4e in Japanese (45.59%) 4.12.0.v20190713060001
    Babel Language Pack for technology.packaging in Japanese (58.43%) 4.12.0.v20190713060001
    Babel Language Pack for technology.packaging.mpc in Japanese (65%) 4.12.0.v20190713060001
    Babel Language Pack for tools.cdt in Japanese (76.85%) 4.12.0.v20190713060001
    Babel Language Pack for tools.gef in Japanese (15.69%) 4.12.0.v20190713060001
    Babel Language Pack for tools.tm in Japanese (81.63%) 4.12.0.v20190713060001
    Babel Language Pack for tools.tracecompass in Japanese (45.54%) 4.12.0.v20190713060001
    Babel Language Pack for webtools in Japanese (85.7%) 4.12.0.v20190713060001

2019/07/08

SysML 1.6 プロファイルのリリース

少しタイムラグがありましたが、SysML 1.6 プロファイルがリリースされた模様です。

これまでと同じく Marketplace から入手可能です。 検索キーワードとして papyrus を入力して検索(Go)すれば見つかると思います。

SysML1.6 プロファイルをインストール後、Papyrus プロジェクトの作成時に SysML 1.6 が選択可能となります。

前の SysML1.4 プロファイルの時と同じように、SysML特化のダイアグラムが選択・作成可能です。

また SysML1.6 プロファイルを適用したモデルでは、SysML1.6 で事前定義された複数のモデル:

  • ControlValues
  • PrimitiveBlocks:ValueTypes
  • UnitAndQuantityKind
  • Requrements
が利用可能です。各々ダイアグラムと共にモデル定義がなされています:

ControlValues では ControlValueKind が利用可能です。

ValueTypes では BooleanComplexIntegerRealおよびString のValueTypeが利用可能です。ブロック定義図の表記は少し見にくくなっていますが。

UnitAndQuantityKindでは QuantityKindUnitが利用可能です。

RequirementsではVerdictKindが利用可能です。

個人的には Annex E.3 Requirements Diagram Extensions に含まれる拡張要求のステレオタイプ

  • «functionalRequirement»
  • «interfaceRequirement»
  • «performanceRequirement»
  • «physicalRequirement»
  • «designConstraint»
の事前定義が欲しかったので、含まれていないのは少し残念です。

また幾つか表形式(Table)も利用可能です。 Allocation MatrixRequirement Tree Table などは役立ちそうです。

2019/07/03

Ubuntu 18.04/Gnome での Papyrus ショートカット

Ubuntu 18.04/Gnome での Papyrus の起動

最近、Papyrusを動作させるメインプラットフォームが Ubuntu 18.04 (Linux) になりつつあります。 Windowsの場合には Papyrus をインストール (zipファイルの展開) 後、デスクトップにショートカットを作成し、 簡単に起動させているのですが、今まで Ubuntu ではコマンドラインかGUIベースのシェルから起動させていました。

Papyrusの最新版リリース後等では複数の Papyrus を切り替えて起動させることも増えてきて、 これまでの起動のさせ方だとだんだんと手間になってきました。 その際に、ふと「Ubuntuではどのようにショートカットを作成するんだろう」というのを思い出し、 少し調べてみるとやり方が分かったので、その方法を書いておきます。 具体的な方法は、 この記事 を参考にしました(感謝)。

GNOME PANELのインストール

まずは Gnome Panel のインストールが必要そうです。調べた他のWebページでは他のやり方が書かれているものもありましたが、 Gnome Panelベースで進めようと思います。

例によって例のごとく、gnome-panel をインストールします:

$ sudo apt install gnome-panel
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています                
状態情報を読み取っています... 完了
以下の追加パッケージがインストールされます:
  alacarte geoclue geoclue-ubuntu-geoip gnome-applets gnome-applets-data gnome-flashback gnome-flashback-common
  gnome-panel-data gnome-screensaver gnome-session-flashback gnome-system-monitor indicator-applet-complete
  indicator-bluetooth indicator-datetime indicator-keyboard indicator-printers libaccounts-glib0 libfcitx-gclient1
  libfcitx-utils0 libgeoclue0 libnm-glib4 libnm-util2 libpanel-applet3 metacity ubuntu-touch-sounds
提案パッケージ:
  tomboy evolution-common desktop-base fcitx
以下のパッケージが新たにインストールされます:
  alacarte geoclue geoclue-ubuntu-geoip gnome-applets gnome-applets-data gnome-flashback gnome-flashback-common gnome-panel
  gnome-panel-data gnome-screensaver gnome-session-flashback gnome-system-monitor indicator-applet-complete
  indicator-bluetooth indicator-datetime indicator-keyboard indicator-printers libaccounts-glib0 libfcitx-gclient1
  libfcitx-utils0 libgeoclue0 libnm-glib4 libnm-util2 libpanel-applet3 metacity ubuntu-touch-sounds
アップグレード: 0 個、新規インストール: 26 個、削除: 0 個、保留: 0 個。
22.2 MB のアーカイブを取得する必要があります。
この操作後に追加で 53.9 MB のディスク容量が消費されます。
続行しますか? [Y/n] 
取得:1 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 alacarte all 3.11.91-3 [81.7 kB]
取得:2 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 libgeoclue0 amd64 0.12.99-4ubuntu2 [27.2 kB]
取得:3 http://jp.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libnm-util2 amd64 1.10.6-2ubuntu1.1 [117 kB]
取得:4 http://jp.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libnm-glib4 amd64 1.10.6-2ubuntu1.1 [78.7 kB]             
取得:5 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 geoclue amd64 0.12.99-4ubuntu2 [19.4 kB]                      
取得:6 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 geoclue-ubuntu-geoip amd64 1.0.2+18.04.20180223-0ubuntu1 [11.6 kB]
取得:7 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 gnome-applets-data all 3.28.0-1 [6,027 kB]                    
取得:8 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 gnome-panel-data all 1:3.26.0-1ubuntu5 [961 kB]               
取得:9 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 gnome-panel amd64 1:3.26.0-1ubuntu5 [372 kB]                  
取得:10 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 libpanel-applet3 amd64 1:3.26.0-1ubuntu5 [19.5 kB]           
取得:11 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 gnome-applets amd64 3.28.0-1 [280 kB]                        
取得:12 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 gnome-flashback-common all 3.28.0-1ubuntu1.3 [71.9 kB]
取得:13 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 gnome-flashback amd64 3.28.0-1ubuntu1.3 [239 kB]     
取得:14 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 gnome-screensaver amd64 3.6.1-8ubuntu3 [235 kB]              
取得:15 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 metacity amd64 1:3.28.0-1ubuntu0.1 [216 kB]          
取得:16 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 gnome-session-flashback all 1:3.28.0-1ubuntu1.3 [5,436 B]
取得:17 http://jp.archive.ubuntu.com/ubuntu bionic-updates/main amd64 gnome-system-monitor amd64 3.28.2-0ubuntu1 [193 kB]      
取得:18 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 indicator-applet-complete amd64 12.10.2+17.10.20170425-0ubuntu1 [19.7 kB]
取得:19 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 libaccounts-glib0 amd64 1.23+17.04.20161104-0ubuntu1 [41.0 kB]
取得:20 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 indicator-datetime amd64 15.10+17.10.20170829.2-0ubuntu4 [275 kB]
取得:21 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 libfcitx-utils0 amd64 1:4.2.9.6-1 [35.2 kB]                  
取得:22 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 libfcitx-gclient1 amd64 1:4.2.9.6-1 [20.8 kB]                
取得:23 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 indicator-keyboard amd64 0.0.0+18.04.20180216-0ubuntu1 [50.3 kB]
取得:24 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 ubuntu-touch-sounds all 15.08 [12.7 MB]                      
取得:25 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 indicator-bluetooth amd64 0.0.6+17.10.20170605-0ubuntu3 [33.8 kB]
取得:26 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 indicator-printers amd64 0.1.7+17.10.20171101-0ubuntu1 [26.3 kB]
22.2 MB を 1分 7秒 で取得しました (330 kB/s)                                                                                   
以前に未選択のパッケージ alacarte を選択しています。
(データベースを読み込んでいます ... 現在 593253 個のファイルとディレクトリがインストールされています。)
.../00-alacarte_3.11.91-3_all.deb を展開する準備をしています ...
alacarte (3.11.91-3) を展開しています...
以前に未選択のパッケージ libgeoclue0:amd64 を選択しています。
.../01-libgeoclue0_0.12.99-4ubuntu2_amd64.deb を展開する準備をしています ...
libgeoclue0:amd64 (0.12.99-4ubuntu2) を展開しています...
以前に未選択のパッケージ libnm-util2:amd64 を選択しています。
.../02-libnm-util2_1.10.6-2ubuntu1.1_amd64.deb を展開する準備をしています ...
libnm-util2:amd64 (1.10.6-2ubuntu1.1) を展開しています...
以前に未選択のパッケージ libnm-glib4:amd64 を選択しています。
.../03-libnm-glib4_1.10.6-2ubuntu1.1_amd64.deb を展開する準備をしています ...
libnm-glib4:amd64 (1.10.6-2ubuntu1.1) を展開しています...
以前に未選択のパッケージ geoclue を選択しています。
.../04-geoclue_0.12.99-4ubuntu2_amd64.deb を展開する準備をしています ...
geoclue (0.12.99-4ubuntu2) を展開しています...
以前に未選択のパッケージ geoclue-ubuntu-geoip を選択しています。
.../05-geoclue-ubuntu-geoip_1.0.2+18.04.20180223-0ubuntu1_amd64.deb を展開する準備をしています ...
geoclue-ubuntu-geoip (1.0.2+18.04.20180223-0ubuntu1) を展開しています...
以前に未選択のパッケージ gnome-applets-data を選択しています。
.../06-gnome-applets-data_3.28.0-1_all.deb を展開する準備をしています ...
gnome-applets-data (3.28.0-1) を展開しています...
以前に未選択のパッケージ gnome-panel-data を選択しています。
.../07-gnome-panel-data_1%3a3.26.0-1ubuntu5_all.deb を展開する準備をしています ...
gnome-panel-data (1:3.26.0-1ubuntu5) を展開しています...
以前に未選択のパッケージ gnome-panel を選択しています。
.../08-gnome-panel_1%3a3.26.0-1ubuntu5_amd64.deb を展開する準備をしています ...
gnome-panel (1:3.26.0-1ubuntu5) を展開しています...
以前に未選択のパッケージ libpanel-applet3 を選択しています。
.../09-libpanel-applet3_1%3a3.26.0-1ubuntu5_amd64.deb を展開する準備をしています ...
libpanel-applet3 (1:3.26.0-1ubuntu5) を展開しています...
以前に未選択のパッケージ gnome-applets を選択しています。
.../10-gnome-applets_3.28.0-1_amd64.deb を展開する準備をしています ...
gnome-applets (3.28.0-1) を展開しています...
以前に未選択のパッケージ gnome-flashback-common を選択しています。
.../11-gnome-flashback-common_3.28.0-1ubuntu1.3_all.deb を展開する準備をしています ...
gnome-flashback-common (3.28.0-1ubuntu1.3) を展開しています...
以前に未選択のパッケージ gnome-flashback を選択しています。
.../12-gnome-flashback_3.28.0-1ubuntu1.3_amd64.deb を展開する準備をしています ...
gnome-flashback (3.28.0-1ubuntu1.3) を展開しています...
以前に未選択のパッケージ gnome-screensaver を選択しています。
.../13-gnome-screensaver_3.6.1-8ubuntu3_amd64.deb を展開する準備をしています ...
gnome-screensaver (3.6.1-8ubuntu3) を展開しています...
以前に未選択のパッケージ metacity を選択しています。
.../14-metacity_1%3a3.28.0-1ubuntu0.1_amd64.deb を展開する準備をしています ...
metacity (1:3.28.0-1ubuntu0.1) を展開しています...
以前に未選択のパッケージ gnome-session-flashback を選択しています。
.../15-gnome-session-flashback_1%3a3.28.0-1ubuntu1.3_all.deb を展開する準備をしています ...
gnome-session-flashback (1:3.28.0-1ubuntu1.3) を展開しています...
以前に未選択のパッケージ gnome-system-monitor を選択しています。
.../16-gnome-system-monitor_3.28.2-0ubuntu1_amd64.deb を展開する準備をしています ...
gnome-system-monitor (3.28.2-0ubuntu1) を展開しています...
以前に未選択のパッケージ indicator-applet-complete を選択しています。
.../17-indicator-applet-complete_12.10.2+17.10.20170425-0ubuntu1_amd64.deb を展開する準備をしています ...
indicator-applet-complete (12.10.2+17.10.20170425-0ubuntu1) を展開しています...
以前に未選択のパッケージ libaccounts-glib0:amd64 を選択しています。
.../18-libaccounts-glib0_1.23+17.04.20161104-0ubuntu1_amd64.deb を展開する準備をしています ...
libaccounts-glib0:amd64 (1.23+17.04.20161104-0ubuntu1) を展開しています...
以前に未選択のパッケージ indicator-datetime を選択しています。
.../19-indicator-datetime_15.10+17.10.20170829.2-0ubuntu4_amd64.deb を展開する準備をしています ...
indicator-datetime (15.10+17.10.20170829.2-0ubuntu4) を展開しています...
以前に未選択のパッケージ libfcitx-utils0:amd64 を選択しています。
.../20-libfcitx-utils0_1%3a4.2.9.6-1_amd64.deb を展開する準備をしています ...
libfcitx-utils0:amd64 (1:4.2.9.6-1) を展開しています...
以前に未選択のパッケージ libfcitx-gclient1:amd64 を選択しています。
.../21-libfcitx-gclient1_1%3a4.2.9.6-1_amd64.deb を展開する準備をしています ...
libfcitx-gclient1:amd64 (1:4.2.9.6-1) を展開しています...
以前に未選択のパッケージ indicator-keyboard を選択しています。
.../22-indicator-keyboard_0.0.0+18.04.20180216-0ubuntu1_amd64.deb を展開する準備をしています ...
indicator-keyboard (0.0.0+18.04.20180216-0ubuntu1) を展開しています...
以前に未選択のパッケージ ubuntu-touch-sounds を選択しています。
.../23-ubuntu-touch-sounds_15.08_all.deb を展開する準備をしています ...
ubuntu-touch-sounds (15.08) を展開しています...
以前に未選択のパッケージ indicator-bluetooth を選択しています。
.../24-indicator-bluetooth_0.0.6+17.10.20170605-0ubuntu3_amd64.deb を展開する準備をしています ...
indicator-bluetooth (0.0.6+17.10.20170605-0ubuntu3) を展開しています...
以前に未選択のパッケージ indicator-printers を選択しています。
.../25-indicator-printers_0.1.7+17.10.20171101-0ubuntu1_amd64.deb を展開する準備をしています ...
indicator-printers (0.1.7+17.10.20171101-0ubuntu1) を展開しています...
alacarte (3.11.91-3) を設定しています ...
libnm-util2:amd64 (1.10.6-2ubuntu1.1) を設定しています ...
gconf2 (3.2.6-4ubuntu1) のトリガを処理しています ...
metacity (1:3.28.0-1ubuntu0.1) を設定しています ...
libgeoclue0:amd64 (0.12.99-4ubuntu2) を設定しています ...
indicator-printers (0.1.7+17.10.20171101-0ubuntu1) を設定しています ...
mime-support (3.60ubuntu1) のトリガを処理しています ...
libnm-glib4:amd64 (1.10.6-2ubuntu1.1) を設定しています ...
desktop-file-utils (0.23-1ubuntu3.18.04.2) のトリガを処理しています ...
libaccounts-glib0:amd64 (1.23+17.04.20161104-0ubuntu1) を設定しています ...
gnome-screensaver (3.6.1-8ubuntu3) を設定しています ...
gnome-applets-data (3.28.0-1) を設定しています ...
libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.3) のトリガを処理しています ...
libglib2.0-0:i386 (2.56.4-0ubuntu0.18.04.3) のトリガを処理しています ...
libfcitx-utils0:amd64 (1:4.2.9.6-1) を設定しています ...
gnome-panel-data (1:3.26.0-1ubuntu5) を設定しています ...
bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) のトリガを処理しています ...
Rebuilding /usr/share/applications/bamf-2.index...
gnome-system-monitor (3.28.2-0ubuntu1) を設定しています ...
ubuntu-touch-sounds (15.08) を設定しています ...
libc-bin (2.27-3ubuntu1) のトリガを処理しています ...
gnome-flashback-common (3.28.0-1ubuntu1.3) を設定しています ...
man-db (2.8.3-2ubuntu0.1) のトリガを処理しています ...
gnome-menus (3.13.3-11ubuntu1.1) のトリガを処理しています ...
dbus (1.12.2-1ubuntu1.1) のトリガを処理しています ...
libpanel-applet3 (1:3.26.0-1ubuntu5) を設定しています ...
hicolor-icon-theme (0.17-2) のトリガを処理しています ...
indicator-bluetooth (0.0.6+17.10.20170605-0ubuntu3) を設定しています ...
indicator-applet-complete (12.10.2+17.10.20170425-0ubuntu1) を設定しています ...
libfcitx-gclient1:amd64 (1:4.2.9.6-1) を設定しています ...
gnome-panel (1:3.26.0-1ubuntu5) を設定しています ...
indicator-datetime (15.10+17.10.20170829.2-0ubuntu4) を設定しています ...
geoclue (0.12.99-4ubuntu2) を設定しています ...
gnome-flashback (3.28.0-1ubuntu1.3) を設定しています ...
indicator-keyboard (0.0.0+18.04.20180216-0ubuntu1) を設定しています ...
geoclue-ubuntu-geoip (1.0.2+18.04.20180223-0ubuntu1) を設定しています ...
gnome-applets (3.28.0-1) を設定しています ...
gnome-session-flashback (1:3.28.0-1ubuntu1.3) を設定しています ...
gnome-session-flashback.target is a disabled or a static unit, not starting it.
libc-bin (2.27-3ubuntu1) のトリガを処理しています ...

関連して結構色々なアプリやライブラリがインストールされますね。

インストール後はショートカット作成アプリの起動となります。

gnome-desktop-item-edit の起動

ショートカット作成アプリは nome-desktop-item-edit です。 引数として「作成するフォルダ(ようはデスクトップ)」と「新規作成用オプション」を渡して起動します。 以下のように実施します。

~$ gnome-desktop-item-edit ~/デスクトップ/ --create-new
Gtk-Message: 11:05:48.814: GtkDialog mapped without a transient parent. This is discouraged.

これにより以下のダイアログが起動されます。

この後、「名前」「コマンド」および「アイコン」を指定していきます。 「名前」は自分で指定する任意の名前です。 「コマンド」は Papyrus のアプリケーションを指定するのですが、ダイアログ右側の「参照」からGUI上でファイル指定が可能です。 「アイコン」ですが、これはダイアログ左上にある、ちょっと何のアイコンなのかわかりませんが、その表示をクリックすることで GUIでファイル指定が可能です。そこで、Papyrusのインストールフォルダにあるicon.xpmを指定します。

すべてを設定すると以下の表示となります。

これでショートカットの作成は完了です。[OK]ボタンを押します。

初回起動

作成したデスクトップ上のショートカットを見ると、確かに作成はされていますが。 アイコンの表示が反映されていなく「本当にちゃんと設定できたのかな?」と不安になりますが、安心して下さい :-)

デスクトップ上のアイコンをダブルクリックすると、初回は以下のダイアログが表示されます。

この右下の「信頼して起動」をクリックすると無事に Papyrus が起動されますし、デスクトップ上のショートカットアイコンも更新されます。

これで次回からダブルクリックするだけで Papyrus を起動することが可能となります。