{"id":751,"date":"2020-04-04T15:10:31","date_gmt":"2020-04-04T06:10:31","guid":{"rendered":"https:\/\/mifmif.mydns.jp\/masterkudo\/?p=751"},"modified":"2020-04-20T16:01:24","modified_gmt":"2020-04-20T07:01:24","slug":"ubuntu20-04%e3%81%aegnome-shell-theme-gresource-%e3%81%ae%e5%86%8d%e6%a7%8b%e6%88%90%e3%81%a8login%e7%94%bb%e9%9d%a2%e3%81%ae%e5%a4%89%e6%9b%b4","status":"publish","type":"post","link":"https:\/\/mifmif.mydns.jp\/masterkudo\/?p=751","title":{"rendered":"Ubuntu20.04\u306egnome-shell-theme.gresource \u306e\u518d\u69cb\u6210\u3068login\u753b\u9762\u306e\u5909\u66f4"},"content":{"rendered":"<p>\u3000Ubuntu20.04\u304b\u3089\u306f\u3001gnome-shell\u306ecss\u306f\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u3001gnome-shell-theme.gresource\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\n\u3000\u3044\u304f\u3064\u304b\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u306e\u30c7\u30b3\u30f3\u30d1\u30a4\u30eb\u2192\u6539\u5909\u2192\u30b3\u30f3\u30d1\u30a4\u30eb\u6cd5\u306f\u3042\u308a\u307e\u3057\u305f\u304c\u3001\u968e\u5c64\u69cb\u9020\u307e\u3067\u79fb\u3057\u305f\u3082\u306e\u304c\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u3046\u307e\u304f\u3044\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u304c\u3001\u4eca\u56de\u3046\u307e\u304f\u3044\u304d\u307e\u3057\u305f\u306e\u3067\u3001\u8a18\u9332\u3057\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/mifmif.mydns.jp\/masterkudo\/?p=473\">https:\/\/mifmif.mydns.jp\/masterkudo\/?p=473<\/a><br \/>\n\u3000\u304b\u3089\u3001extract.sh\u3092\u6301\u3063\u3066\u304d\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u968e\u5c64\u69cb\u9020\u3082\u30c7\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u304f\u308c\u307e\u3059\u3002<br \/>\n\u3000\u4f8b\u3068\u3057\u3066\u3001~\/\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u4e0b\u306b\u5c55\u958b\u3057\u305f\u5834\u5408\u3067\u8aac\u660e\u3057\u307e\u3059\u3002<br \/>\n\u5b9f\u884c\u5c5e\u6027\u3092\u3064\u3051\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plane\" data-lang=\"\u30b3\u30fc\u30c9\u30d6\u30ed\u30c3\u30af\"><code>$ cd ~\/\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\r\n$ chmod +x extract.sh<\/code><\/pre>\n<\/div>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plane\" data-lang=\"\u30b3\u30fc\u30c9\u30d6\u30ed\u30c3\u30af\"><code>$ .\/extract.sh \/usr\/share\/gnome-shell\/theme\/Yaru\/gnome-shell-theme.gresource<\/code><\/pre>\n<\/div>\n<p>\u3000\u3053\u308c\u3067\u3001~\/\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\/org\/gnome\/shell\/theme\u4ee5\u4e0b\u306b\u304a\u306a\u3058\u307f\u306esvg\u3084css\u304c\u5c55\u958b\u3055\u308c\u307e\u3059\u3002\uff08\u968e\u5c64\u3082\u542b\u3093\u3067\u4ee5\u4e0b\u306e\u968e\u5c64\u3082\u4f5c\u3089\u308c\u3066\u3044\u307e\u3059\uff09<br \/>\n\u3000\u4eca\u5ea6\u306f\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u306e\u305f\u3081\u306exml\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plane\" data-lang=\"\u30b3\u30fc\u30c9\u30d6\u30ed\u30c3\u30af\"><code>$ gedit ~\/\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\/org\/gnome\/shell\/theme\/gnome-shell-theme.gresource.xml<\/code><\/pre>\n<\/div>\n<p>\uff08\u307b\u3093\u3068\u306f\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u304b\u3063\u3053\u3088\u304f\u6c7a\u3081\u305f\u3044\u304c\u3001ls\u3068ls -d(\u76f8\u5bfe\u30d1\u30b9\u8868\u793a)\u3067\u3057\u3053\u3057\u3053\u884c\u304d\u307e\u3057\u305f\u3002\uff09<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plane\" data-lang=\"\u30b3\u30fc\u30c9\u30d6\u30ed\u30c3\u30af\"><code>&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\r\n&lt;gresources&gt;\r\n  &lt;gresource prefix=\"\/org\/gnome\/shell\/theme\"&gt;\r\n    &lt;file&gt;Yaru\/gnome-shell-high-contrast.css&lt;\/file&gt;\r\n    &lt;file&gt;Yaru\/gnome-shell.css&lt;\/file&gt;\r\n    &lt;file&gt;Yaru-dark\/gnome-shell-high-contrast.css&lt;\/file&gt;\r\n    &lt;file&gt;Yaru-dark\/gnome-shell.css&lt;\/file&gt;\r\n    &lt;file&gt;calendar-today.svg&lt;\/file&gt;\r\n    &lt;file&gt;checkbox-dark.svg&lt;\/file&gt;\r\n    &lt;file&gt;checkbox-focused-dark.svg&lt;\/file&gt;\r\n    &lt;file&gt;checkbox-focused.svg&lt;\/file&gt;\r\n    &lt;file&gt;checkbox-off-dark.svg&lt;\/file&gt;\r\n    &lt;file&gt;checkbox-off-focused-dark.svg&lt;\/file&gt;\r\n    &lt;file&gt;checkbox-off-focused.svg&lt;\/file&gt;\r\n    &lt;file&gt;checkbox-off.svg&lt;\/file&gt;\r\n    &lt;file&gt;checkbox.svg&lt;\/file&gt;\r\n    &lt;file&gt;dash-placeholder.svg&lt;\/file&gt;\r\n    &lt;file&gt;gdm3.css&lt;\/file&gt;\r\n    &lt;file&gt;icons\/scalable\/actions\/eye-not-looking-symbolic.svg&lt;\/file&gt;\r\n    &lt;file&gt;icons\/scalable\/actions\/eye-open-negative-filled-symbolic.svg&lt;\/file&gt;\r\n    &lt;file&gt;icons\/scalable\/actions\/keyboard-caps-lock-filled-symbolic.svg&lt;\/file&gt;\r\n    &lt;file&gt;icons\/scalable\/actions\/keyboard-enter-symbolic.svg&lt;\/file&gt;\r\n    &lt;file&gt;icons\/scalable\/actions\/keyboard-hide-symbolic.svg&lt;\/file&gt;\r\n    &lt;file&gt;icons\/scalable\/actions\/keyboard-layout-filled-symbolic.svg&lt;\/file&gt;\r\n    &lt;file&gt;icons\/scalable\/actions\/keyboard-shift-filled-symbolic.svg&lt;\/file&gt;\r\n    &lt;file&gt;icons\/scalable\/actions\/pointer-double-click-symbolic.svg&lt;\/file&gt;\r\n    &lt;file&gt;icons\/scalable\/actions\/pointer-drag-symbolic.svg&lt;\/file&gt;\r\n    &lt;file&gt;icons\/scalable\/actions\/pointer-primary-click-symbolic.svg&lt;\/file&gt;\r\n    &lt;file&gt;icons\/scalable\/actions\/pointer-secondary-click-symbolic.svg&lt;\/file&gt;\r\n    &lt;file&gt;icons\/scalable\/status\/message-indicator-symbolic.svg&lt;\/file&gt;\r\n    &lt;file&gt;no-events.svg&lt;\/file&gt;\r\n    &lt;file&gt;no-notifications.svg&lt;\/file&gt;\r\n    &lt;file&gt;pad-osd.css&lt;\/file&gt;\r\n    &lt;file&gt;process-working.svg&lt;\/file&gt;\r\n    &lt;file&gt;toggle-off-dark.svg&lt;\/file&gt;\r\n    &lt;file&gt;toggle-off-hc.svg&lt;\/file&gt;\r\n    &lt;file&gt;toggle-off.svg&lt;\/file&gt;\r\n    &lt;file&gt;toggle-on-dark.svg&lt;\/file&gt;\r\n    &lt;file&gt;toggle-on-hc.svg&lt;\/file&gt;\r\n    &lt;file&gt;toggle-on.svg&lt;\/file&gt;\r\n  &lt;\/gresource&gt;\r\n&lt;\/gresources&gt;<\/code><\/pre>\n<\/div>\n<p><a href=\"https:\/\/mifmif.mydns.jp\/pcpc\/public\/20.04-1-gnome-shell-theme.gresource.zip\">20.04-1-gnome-shell-theme.gresource.zip<\/a>\u3068\u3057\u3066\u7f6e\u3044\u3066\u304a\u304d\u307e\u3059\u3002<br \/>\n\u3000\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u3001\u5408\u308f\u305b\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plane\" data-lang=\"\u30b3\u30fc\u30c9\u30d6\u30ed\u30c3\u30af\"><code>$ cd ~\/\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\/org\/gnome\/shell\/theme\r\n$ glib-compile-resources gnome-shell-theme.gresource.xml<\/code><\/pre>\n<\/div>\n<p>\u3000\u3053\u3046\u3057\u3066\u3067\u304d\u305f\u3001gnome-shell-theme.gresource\u3092\u3001\u5143\u306e\u3068\u3053\u308d\u306b\u5165\u308c\u3066\u30c6\u30b9\u30c8\u3057\u307e\u3057\u305f\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plane\" data-lang=\"\u30b3\u30fc\u30c9\u30d6\u30ed\u30c3\u30af\"><code>$ sudo cp gnome-shell-theme.gresource \/usr\/share\/gnome-shell\/theme\/Yaru\/<\/code><\/pre>\n<\/div>\n<p>\uff08\u3046\u307e\u304f\u3044\u304b\u306a\u304b\u3063\u305f\u5834\u5408\u306e\u305f\u3081\u306b\u3001\/usr\/share\/gnome-shell\/theme\/Yaru\/gnome-shell-theme.gresource\u306f.bak\u3067\u3082\u540d\u524d\u306b\u3064\u3051\u3066\u3001\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u53d6\u308a\u307e\u3057\u3087\u3046\uff09<br \/>\n\u30ed\u30b0\u30a2\u30a6\u30c8\u30fb\u30fb\u30fb\u30ed\u30b0\u30a4\u30f3\u753b\u9762\u304c\u3061\u3083\u3093\u3068\u51fa\u307e\u3057\u305f\u3002\u6210\u529f\uff01<\/p>\n<p><span style=\"color: #ff0000;\">\u3053\u3093\u3069\u306f\u3001login\u753b\u9762\u3092\u5909\u3048\u3089\u308c\u308b\u304b\u30fb\u30fb\u30fb<\/span><br \/>\n\u305d\u3053\u3067\u3001gdm3.css\u3092\u6539\u5909\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plane\" data-lang=\"\u30b3\u30fc\u30c9\u30d6\u30ed\u30c3\u30af\"><code>2095 #lockDialogGroup {\r\n2096 background-color: #4f194c; }<\/code><\/pre>\n<\/div>\n<p>\n\u3092\u5909\u66f4\u30fb\u30fb\u30fb<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plane\" data-lang=\"\u30b3\u30fc\u30c9\u30d6\u30ed\u30c3\u30af\"><code>2095 #lockDialogGroup {\r\n2096 background: #FEA5FA url(file:\/\/\/usr\/share\/backgrounds\/login.png);\r\n2097 background-repeat: no-repeat;\r\n2098 background-size: cover;\r\n2099 background-position: center; }<\/code><\/pre>\n<\/div>\n<p>\n\u3068\u3044\u3046\u3088\u3046\u306b\u3001\/usr\/share\/backgrounds\/login.png\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u305d\u3057\u3066\/usr\/share\/backgrounds\/login.png\u3092\u7528\u610f\u3057\u3066\u304a\u304d\u307e\u3059\u3002<br \/>\n\u540c\u3058\u3088\u3046\u306b\u3001<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plane\" data-lang=\"\u30b3\u30fc\u30c9\u30d6\u30ed\u30c3\u30af\"><code>$ glib-compile-resources gnome-shell-theme.gresource.xml\r\n$ sudo cp gnome-shell-theme.gresource \/usr\/share\/gnome-shell\/theme\/Yaru\/<\/code><\/pre>\n<\/div>\n<p>\n\u3046\u307e\u304f\u3044\u304d\u307e\u3057\u305f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mifmif.mydns.jp\/masterkudo\/wp-content\/uploads\/2020\/04\/20.04.login_.png\" alt=\"\" class=\"size-full wp-image-752 aligncenter\" width=\"801\" height=\"663\" srcset=\"https:\/\/mifmif.mydns.jp\/masterkudo\/wp-content\/uploads\/2020\/04\/20.04.login_.png 801w, https:\/\/mifmif.mydns.jp\/masterkudo\/wp-content\/uploads\/2020\/04\/20.04.login_-300x248.png 300w, https:\/\/mifmif.mydns.jp\/masterkudo\/wp-content\/uploads\/2020\/04\/20.04.login_-768x636.png 768w\" sizes=\"auto, (max-width: 801px) 100vw, 801px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mifmif.mydns.jp\/masterkudo\/wp-content\/uploads\/2020\/04\/20.04.login2_.png\" alt=\"\" class=\"size-full wp-image-753 aligncenter\" width=\"1209\" height=\"968\" srcset=\"https:\/\/mifmif.mydns.jp\/masterkudo\/wp-content\/uploads\/2020\/04\/20.04.login2_.png 1209w, https:\/\/mifmif.mydns.jp\/masterkudo\/wp-content\/uploads\/2020\/04\/20.04.login2_-300x240.png 300w, https:\/\/mifmif.mydns.jp\/masterkudo\/wp-content\/uploads\/2020\/04\/20.04.login2_-1024x820.png 1024w, https:\/\/mifmif.mydns.jp\/masterkudo\/wp-content\/uploads\/2020\/04\/20.04.login2_-768x615.png 768w, https:\/\/mifmif.mydns.jp\/masterkudo\/wp-content\/uploads\/2020\/04\/20.04.login2_-1200x961.png 1200w\" sizes=\"auto, (max-width: 1209px) 100vw, 1209px\" \/><\/p>\n<p>\u3000\u30b3\u30f3\u30d1\u30a4\u30eb\u6e08\u307f\u306egnome-shell-theme.gresource\u3092\u4ee5\u4e0b\u306b\u7f6e\u3044\u3066\u304a\u304d\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/mifmif.mydns.jp\/pcpc\/public\/20.04.chg.login.gnome-shell-theme.zip\">20.04.chg.login.gnome-shell-theme.zip<\/a><\/p>\n<p>\u3000\u57fa\u672c\u7684\u306b\u3046\u307e\u304f\u3044\u304f\u65b9\u6cd5\u306f\u308f\u304b\u308a\u307e\u3057\u305f\u304c\u3001\u767d\u3092\u57fa\u8abf\u306b\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u660e\u308b\u3044\u753b\u9762\u3067\u306f\u3001\u898b\u306b\u304f\u3044\u3088\u3046\u3067\u3059\u3002\u5404css\u3092\u5909\u66f4\u3057\u3066\u3001\u8272\u3092\u5909\u3048\u308b\u3068\u3044\u3044\u3068\u601d\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u3000\u8ffd\u8a18\uff1a<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plane\" data-lang=\"\u30b3\u30fc\u30c9\u30d6\u30ed\u30c3\u30af\"><code>\uff04ls | sed 's#^# &lt;file&gt;#g' | sed 's#$#&lt;\/file&gt;#g' &gt; gtk.gresource.xml\r\n\u3042\u3068ls\u306b-d\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u76f8\u5bfe\u30d1\u30b9\u8868\u793a\u306b\u306a\u308b\u306e\u3067\u3061\u3087\u3046\u3069\u3044\u3044\u3067\u3059\u3002<\/code><\/pre>\n<\/div>\n<p>\u3068\u3044\u3046\u624b\u304c\u3042\u308a\u307e\u3057\u305f\u306d\u3002<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000Ubuntu20.04\u304b\u3089\u306f\u3001gnome-shell\u306ecss\u306f\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u3001gnome-shell-theme.gresource\u306b\u306a\u308a\u307e\u3057\u305f\u3002 \u3000\u3044\u304f\u3064\u304b\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u306e\u30c7\u30b3\u30f3\u30d1\u30a4\u30eb\u2192\u6539\u5909\u2192\u30b3\u30f3\u30d1\u30a4\u30eb\u6cd5\u306f\u3042\u308a\u307e\u3057\u305f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":752,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-751","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-4"],"_links":{"self":[{"href":"https:\/\/mifmif.mydns.jp\/masterkudo\/index.php?rest_route=\/wp\/v2\/posts\/751","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mifmif.mydns.jp\/masterkudo\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mifmif.mydns.jp\/masterkudo\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mifmif.mydns.jp\/masterkudo\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mifmif.mydns.jp\/masterkudo\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=751"}],"version-history":[{"count":11,"href":"https:\/\/mifmif.mydns.jp\/masterkudo\/index.php?rest_route=\/wp\/v2\/posts\/751\/revisions"}],"predecessor-version":[{"id":803,"href":"https:\/\/mifmif.mydns.jp\/masterkudo\/index.php?rest_route=\/wp\/v2\/posts\/751\/revisions\/803"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mifmif.mydns.jp\/masterkudo\/index.php?rest_route=\/wp\/v2\/media\/752"}],"wp:attachment":[{"href":"https:\/\/mifmif.mydns.jp\/masterkudo\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=751"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mifmif.mydns.jp\/masterkudo\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=751"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mifmif.mydns.jp\/masterkudo\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=751"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}