{"id":142,"date":"2012-07-04T18:19:13","date_gmt":"2012-07-04T12:19:13","guid":{"rendered":"http:\/\/alexeyka.zantsev.com\/?p=142"},"modified":"2012-07-04T18:19:13","modified_gmt":"2012-07-04T12:19:13","slug":"fluxbox-%d0%b1%d0%bb%d0%be%d0%ba%d0%b8%d1%80%d1%83%d0%b5%d0%bc-%d1%8d%d0%ba%d1%80%d0%b0%d0%bd","status":"publish","type":"post","link":"https:\/\/alexeyka.zantsev.com\/?p=142","title":{"rendered":"Fluxbox. \u0411\u043b\u043e\u043a\u0438\u0440\u0443\u0435\u043c \u044d\u043a\u0440\u0430\u043d."},"content":{"rendered":"<div>\n<p>fluxbox-wiki <a href=\"http:\/\/fluxbox-wiki.org\/index.php?title=Howto_screensaver_and_lock\" target=\"_blank\">\u0433\u043e\u0432\u043e\u0440\u0438\u0442<\/a> \u043d\u0430\u043c, \u0447\u0442\u043e \u0435\u0441\u0442\u044c 2 \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u044d\u043a\u0440\u0430\u043d. \u041e\u0434\u043d\u0438\u043c \u0438\u0437 \u043d\u0438\u0445, <a href=\"http:\/\/darkshed.net\/projects\/alock\" target=\"_blank\">alock<\/a>, \u043c\u044b \u0438 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f.<\/p>\n<p>\u0412 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f\u0445 \u0434\u0430\u0436\u0435 Ubuntu \u043d\u0435\u0442 \u044d\u0442\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u0430. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0431\u0435\u0440\u0435\u043c \u0441 <a href=\"http:\/\/darkshed.net\/projects\/alock\" target=\"_blank\">\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430<\/a> \u0438 \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c. \u041f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u0431\u0435\u0436\u0434\u0430\u0435\u043c\u0441\u044f, \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u043f\u0430\u043a\u0435\u0442\u044b, \u043a\u0430\u043a\u0438\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u044b \u043d\u0430 \u0441\u0430\u0439\u0442\u0435: gmake, gcc, xlibs.<\/p>\n<p>gmake &#8211; \u043d\u0435 \u0447\u0442\u043e \u0438\u043d\u043e\u0435, \u043a\u0430\u043a \u2018make\u2019. \u041d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0432 \u0432\u0430\u0448\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435. (\u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u043b\u0438 &#8211; <strong>dpkg -l make<\/strong>)<\/p>\n<p>gcc &#8211; \u0442\u043e\u0436\u0435 \u0435\u0441\u0442\u044c \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432 Ubuntu (<strong>dpkg -l gcc<\/strong>)<\/p>\n<p>xlibs &#8211; \u0441 \u044d\u0442\u0438\u043c \u043f\u043e\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0435\u0435. \u041a\u0430\u043a \u0432\u044b\u044f\u0441\u043d\u0438\u043b\u043e\u0441\u044c, \u0432 Ubuntu \u2018xlibs\u2019 \u0432\u0445\u043e\u0434\u044f\u0442 \u0432 \u043f\u0430\u043a\u0435\u0442 <strong>xorg-dev<\/strong> , \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043e\u043d \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d, \u0442\u0430\u043a \u0447\u0442\u043e \u0441\u0442\u0430\u0432\u0438\u043c (<em>sudo apt-get install xorg-dev<\/em>). \u0415\u0449\u0435 \u043f\u0435\u0440\u0435\u0434 \u044d\u0442\u0438\u043c \u044f \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b \u043f\u0430\u043a\u0435\u0442 <strong>libwx11-0<\/strong>, \u043d\u043e \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u044e, \u0447\u0442\u043e \u044d\u0442\u043e \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0438 \u043a \u0447\u0435\u043c\u0443, \u0438 \u043e\u043d \u043d\u0438 \u043d\u0430 \u0447\u0442\u043e \u043d\u0435 \u0432\u043b\u0438\u044f\u0435\u0442.<\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c alock, \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c , \u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043e\u043f\u0446\u0438\u0438 \u0441\u0431\u043e\u0440\u043a\u0438 (.\/configure \u2014help). \u0412 \u0438\u0442\u043e\u0433\u0435 \u044f \u0441\u0434\u0435\u043b\u0430\u043b \u0432\u043e\u0442 \u0442\u0430\u043a:<\/p>\n<p><em>.\/configure \u2014with-passwd \u2014with-xcursor \u2014with-xrender \u2014with-imlib2<\/em><\/p>\n<p><em>make<\/em><\/p>\n<p><em>sudo make install<\/em><\/p>\n<p>\u0417\u0430\u043c\u0435\u0442\u044c\u0442\u0435, \u0447\u0442\u043e \u043d\u0435 gmake, \u043a\u0430\u043a <a href=\"http:\/\/darkshed.net\/projects\/alock\" target=\"_blank\">\u043e\u043f\u0438\u0441\u0430\u043d\u043e \u043d\u0430 \u0441\u0430\u0439\u0442\u0435<\/a> alock, \u0430 make.<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0432\u044b\u043b\u0430\u0437\u0438\u0442 \u0441\u0438\u043c\u043f\u0430\u0442\u0438\u0447\u043d\u0430\u044f \u0442\u0430\u0431\u043b\u0438\u0447\u043a\u0430 \u0441 \u0442\u0435\u043a\u0441\u0442\u043e\u043c:<\/p>\n<p><em>,\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014-<\/em><br \/>\n<em>| it seems that you have compiled \u2018alock\u2019 with\u00a0\u00a0\u00a0 <\/em><br \/>\n<em>| \u2018shadow\u2019 support. to use that binary you have\u00a0\u00a0 <\/em><br \/>\n<em>| set the \u2018suid\u2019 &#8211; bit, something like:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/em><br \/>\n<em>|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/em><br \/>\n<em>|\u00a0\u00a0\u00a0 $&gt; chown root:root $prefix\/bin\/alock\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/em><br \/>\n<em>|\u00a0\u00a0\u00a0 $&gt; chmod 4111 $prefix\/bin\/alock\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/em><br \/>\n<em>|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/em><br \/>\n<em>| if not you ll get \u2018permission denied\u2019 problems. <\/em><br \/>\n<em>`\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014-<\/em><\/p>\n<p>\u0422\u0430\u043a \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u043c, \u043a\u0430\u043a \u0441\u043a\u0430\u0437\u0430\u043d\u043e:<\/p>\n<p><em>sudo chown root:root \/usr\/local\/bin\/alock <\/em><br \/>\n<em>sudo chmod 4111 \/usr\/local\/bin\/alock<\/em><\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u0447\u0438\u0442\u0430\u0435\u043c <strong>man alock<\/strong>, \u0447\u0442\u043e\u0431 \u0437\u043d\u0430\u0442\u044c, \u043a\u0430\u043a \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043a\u043e\u0439. \u042f \u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043b \u044d\u043a\u0440\u0430\u043d \u0432\u043e\u0442 \u0442\u0430\u043a:<\/p>\n<p><em>alock -bg blank:color=black -auth passwd -cursor:none<\/em><\/p>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c \u0431\u044b\u043b \u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0447\u0435\u0440\u043d\u044b\u0439 \u043f\u0443\u0441\u0442\u043e\u0439 \u044d\u043a\u0440\u0430\u043d, \u0434\u0430\u0436\u0435 \u0431\u0435\u0437 \u0441\u0442\u0440\u043e\u043a\u0438 \u0432\u0432\u043e\u0434\u0430 \u043f\u0430\u0440\u043e\u043b\u044f :-) \u041f\u0440\u043e\u0441\u0442\u043e \u0432\u0432\u0435\u043b \u201c\u0432\u0441\u043b\u0435\u043f\u0443\u044e\u201d \u043f\u0430\u0440\u043e\u043b\u044c, \u043d\u0430\u0436\u0430\u043b enter \u0438 \u0432\u0441\u0451 \u043f\u043e\u0432\u0438\u043b\u043e\u0441\u044c \u043e\u0431\u0440\u0430\u0442\u043d\u043e.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>fluxbox-wiki \u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u043d\u0430\u043c, \u0447\u0442\u043e \u0435\u0441\u0442\u044c 2 \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u044d\u043a\u0440\u0430\u043d. \u041e\u0434\u043d\u0438\u043c \u0438\u0437 \u043d\u0438\u0445, alock, \u043c\u044b \u0438 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f. \u0412 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f\u0445 \u0434\u0430\u0436\u0435 Ubuntu \u043d\u0435\u0442 \u044d\u0442\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u0430. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0431\u0435\u0440\u0435\u043c \u0441 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430 \u0438 \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c. \u041f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u0431\u0435\u0436\u0434\u0430\u0435\u043c\u0441\u044f, \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u043f\u0430\u043a\u0435\u0442\u044b, \u043a\u0430\u043a\u0438\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u044b \u043d\u0430 \u0441\u0430\u0439\u0442\u0435: gmake, gcc, xlibs. gmake &#8211; \u043d\u0435 \u0447\u0442\u043e \u0438\u043d\u043e\u0435, \u043a\u0430\u043a \u2018make\u2019. \u041d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0432 \u0432\u0430\u0448\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[72],"class_list":["post-142","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-fluxbox"],"_links":{"self":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts\/142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=142"}],"version-history":[{"count":1,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts\/142\/revisions"}],"predecessor-version":[{"id":143,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts\/142\/revisions\/143"}],"wp:attachment":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}