﻿{"id":163,"date":"2009-11-23T17:09:53","date_gmt":"2009-11-23T16:09:53","guid":{"rendered":"http:\/\/www.marallo.sk\/?p=163"},"modified":"2009-11-23T17:12:20","modified_gmt":"2009-11-23T16:12:20","slug":"customizujeme-jwm-%e2%80%93-desktopy","status":"publish","type":"post","link":"https:\/\/www.marallo.sk\/?p=163","title":{"rendered":"Customizujeme JWM \u2013 Desktopy"},"content":{"rendered":"<p><!-- \t\t@page { margin: 2cm } \t\tP { margin-bottom: 0.21cm } --><\/p>\n<p style=\"margin-bottom: 0cm;\">Konfigura\u010dn\u00fd s\u00fabor JWM je \u201e~\/.jwmrc\u201c. Tu sa nastavuj\u00fa aj virtu\u00e1lne pracovn\u00e9 plochy.<!--more--> A to tagmi <span style=\"color: #33cccc;\">&lt;desktops&gt;<\/span> a <span style=\"color: #33cccc;\">&lt;\/desktops&gt;<\/span>. Tag  <span style=\"color: #33cccc;\">&lt;desktops&gt;<\/span> m\u00f4\u017ee ma\u0165 atrib\u00fat \u201ecount\u201c. Ten ur\u010duje po\u010det virtu\u00e1lnych pracovn\u00fdch pl\u00f4ch. Defaultne s\u00fa \u0161tyri, a horeuveden\u00fdm atrib\u00fatom ich m\u00f4\u017eeme nastavi\u0165 na jednu a\u017e osem.<\/p>\n<p style=\"margin-bottom: 0cm;\">Medzi tagmi  <span style=\"color: #33cccc;\">&lt;desktops&gt;&lt;\/desktops&gt;<\/span> m\u00f4\u017eu by\u0165 tagy <span style=\"color: #33cccc;\">&lt;desktop&gt;&lt;\/desktop&gt;<\/span>, ktor\u00e9 nastavuj\u00fa jednotliv\u00e9 virtu\u00e1lne pracovn\u00e9 plochy postupne od prvej po posledn\u00fa. Tag  <span style=\"color: #33cccc;\">&lt;desktop&gt;<\/span> m\u00f4\u017ee ma\u0165 atrib\u00fat \u201ename\u201c, ktor\u00fd ud\u00e1va n\u00e1zov pracovnej plochy. Defaultne je iba poradov\u00e9 \u010d\u00edslo plochy. My si ho vieme zmeni\u0165 napr. na \u201ePlocha 1\u201c, a pri pr\u00e1ci ked pres\u00favame otvoren\u00e9 okno medzi plochami, pekne n\u00e1m to nap\u00ed\u0161e. Medzi t\u00fdmito tagmi (<span style=\"color: #33cccc;\">&lt;desktop&gt;&lt;\/desktop&gt;<\/span>) m\u00f4\u017eeme uvies\u0165 tagy <span style=\"color: #33cccc;\">&lt;Background&gt;<\/span><span style=\"color: #33cccc;\">&lt;\/Background&gt;<\/span>, ktor\u00e9 nastavuj\u00fa pozadie jednotliv\u00fdch pracovn\u00fdch pl\u00f4ch, a to atrib\u00fatom \u201etype\u201c a m\u00f4\u017eeme si vybra\u0165 medzi jednoliv\u00fdmi typmi:<\/p>\n<p style=\"margin-bottom: 0cm;\"><span style=\"color: #33cccc;\">solid<\/span> \u2013 nastavuje na pozadie farbu, ktor\u00fa zad\u00e1me vo form\u00e1te #RRGGBB.<\/p>\n<p style=\"margin-bottom: 0cm;\"><span style=\"color: #33cccc;\">gradient<\/span> \u2013 pozadie tvoria dve farby, plynulo sa menia zhora nadol. Farby sa oddeluj\u00fa dvojbodkou. \t(#RRGGBB:#RRGGBB)<\/p>\n<p style=\"margin-bottom: 0cm;\"><span style=\"color: #33cccc;\">image<\/span> \u2013 nastavuje na pozadie obr\u00e1zok. Ten je vo form\u00e1te PNG.<\/p>\n<p style=\"margin-bottom: 0cm;\"><span style=\"color: #33cccc;\">tile<\/span> \u2013 nastavuje na pozadie obr\u00e1zok ako dla\u017edice.<\/p>\n<p style=\"margin-bottom: 0cm;\"><span style=\"color: #33cccc;\">command<\/span> \u2013 v\u017edy ked prejdeme na uveden\u00fa pracovn\u00fa plochu, vykon\u00e1 sa uveden\u00fd pr\u00edkaz.<\/p>\n<p style=\"margin-bottom: 0cm;\">Pr\u00edklad konfigur\u00e1cie 1.)<\/p>\n<p style=\"margin-bottom: 0cm;\"><span style=\"color: #ffff00;\">&lt;Desktops count=&#8220;2&#8243;&gt;<\/span><\/p>\n<p style=\"margin-bottom: 0cm;\"><span style=\"color: #ffff00;\">&lt;Background type=&#8220;image&#8220;&gt;~\/wallpaper.png&lt;\/Background&gt;<\/span><\/p>\n<p style=\"margin-bottom: 0cm;\"><span style=\"color: #ffff00;\">&lt;Desktops&gt;<\/span><\/p>\n<p style=\"margin-bottom: 0cm;\">\n<p style=\"margin-bottom: 0cm;\">Pr\u00edklad konfigur\u00e1cie 2.)<\/p>\n<p style=\"margin-bottom: 0cm;\"><span style=\"color: #ffff00;\">&lt;Desktops count=&#8220;4&#8243;&gt;<\/span><\/p>\n<p style=\"margin-bottom: 0cm;\"><span style=\"color: #ffff00;\">&lt;Desktop name=&#8220;Plocha 1&#8243;&gt;<\/span><\/p>\n<p style=\"margin-bottom: 0cm;\"><span style=\"color: #ffff00;\">&lt;Background type=&#8220;image&#8220;&gt;$HOME\/wallpaper.png&amp;&lt;\/Background&gt;<\/span><\/p>\n<p style=\"margin-bottom: 0cm;\"><span style=\"color: #ffff00;\">&lt;\/Desktop&gt;<\/span><\/p>\n<p style=\"margin-bottom: 0cm;\"><span style=\"color: #ffff00;\">&lt;Desktop name=&#8220;Plocha 2&#8243;&gt;<\/span><\/p>\n<p style=\"margin-bottom: 0cm;\"><span style=\"color: #ffff00;\">&lt;Background type=&#8220;solid&#8220;&gt;#0000FF&lt;\/Background&gt;<\/span><\/p>\n<p style=\"margin-bottom: 0cm;\"><span style=\"color: #ffff00;\">&lt;\/Desktop&gt;<\/span><\/p>\n<p style=\"margin-bottom: 0cm;\"><span style=\"color: #ffff00;\">&lt;Desktop name=&#8220;Plocha 3&#8243;&gt;<\/span><\/p>\n<p style=\"margin-bottom: 0cm;\"><span style=\"color: #ffff00;\">&lt;Background type=&#8220;gradient&#8220;&gt;#00FF00:#FF0000&lt;\/Background&gt;<\/span><\/p>\n<p style=\"margin-bottom: 0cm;\"><span style=\"color: #ffff00;\">&lt;\/Desktop&gt;<\/span><\/p>\n<p style=\"margin-bottom: 0cm;\"><span style=\"color: #ffff00;\">&lt;Desktop name=&#8220;Plocha 4&#8243;&gt;<\/span><\/p>\n<p style=\"margin-bottom: 0cm;\"><span style=\"color: #ffff00;\">&lt;Background type=&#8220;command&#8220;&gt;xterm&lt;\/Background&gt;<\/span><\/p>\n<p style=\"margin-bottom: 0cm;\"><span style=\"color: #ffff00;\">&lt;\/Desktop&gt;<\/span><\/p>\n<p style=\"margin-bottom: 0cm;\"><span style=\"color: #ffff00;\">&lt;\/Desktops&gt;<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Konfigura\u010dn\u00fd s\u00fabor JWM je \u201e~\/.jwmrc\u201c. Tu sa nastavuj\u00fa aj virtu\u00e1lne pracovn\u00e9 plochy.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[9,10,11],"tags":[],"class_list":["post-163","post","type-post","status-publish","format-standard","hentry","category-it","category-linux-it","category-all"],"views":2187,"_links":{"self":[{"href":"https:\/\/www.marallo.sk\/index.php?rest_route=\/wp\/v2\/posts\/163","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.marallo.sk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.marallo.sk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.marallo.sk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.marallo.sk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=163"}],"version-history":[{"count":5,"href":"https:\/\/www.marallo.sk\/index.php?rest_route=\/wp\/v2\/posts\/163\/revisions"}],"predecessor-version":[{"id":168,"href":"https:\/\/www.marallo.sk\/index.php?rest_route=\/wp\/v2\/posts\/163\/revisions\/168"}],"wp:attachment":[{"href":"https:\/\/www.marallo.sk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.marallo.sk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.marallo.sk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}