{"id":7490,"date":"2023-09-21T19:33:31","date_gmt":"2023-09-21T17:33:31","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=7490"},"modified":"2023-09-21T19:33:33","modified_gmt":"2023-09-21T17:33:33","slug":"qt-programme-in-gtk-umgebung-anpassen","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2023\/09\/21\/qt-programme-in-gtk-umgebung-anpassen\/","title":{"rendered":"Qt-Programme in GTK-Umgebung anpassen"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Es gibt so einige KDE-Programme, z. B. K3b, den Dateimanager Krusader oder auch Digikam, die gerne auch auf anderen Desktopumgebungen verwendet werden. Innerhalb anderer Desktops sehen diese KDE-Anwendungen nicht gerade sehr sch\u00f6n aus, da ihr Aussehen von GTK-Einstellungen \u00fcbernommen wird.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/GTK-bild-1.jpg\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"554\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/GTK-bild-1-1024x554.jpg\" alt=\"\" class=\"wp-image-7491\" title=\"bild 1.jpg (80.92 KiB) 1065 mal betrachtet\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/GTK-bild-1-1024x554.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/GTK-bild-1-300x162.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/GTK-bild-1-150x81.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/GTK-bild-1-768x415.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/GTK-bild-1.jpg 1282w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">KDE-Apps nutzen jedoch die Bibliothek Qt5 bzw. Qt6 f\u00fcr ihre grafische Oberfl\u00e4che. Ist kein komplettes KDE installiert, fehlen die KDE-Konfigurationstools um das &#8222;\u00c4u\u00dfere&#8220; im Detail anzupassen. Abhilfe schafft ein Zusatztool, das sich um das Aussehen von neueren KDE-Programmen k\u00fcmmert: Qt5ct &#8211; kurz f\u00fcr Qt5-Configuration Tool. Es steuert das Aussehen von KDE-Programmen, selbst wenn keine weiteren KDE-Komponenten oder ein komplettes Plasma 5 nicht installiert sind.<br>Es befindet sich in den Paketquellen von Debian und Ubuntu und l\u00e4sst sich mit folgenden Befehlen in einem Terminal installieren und einrichten:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install qt5ct<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">dann<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install qt5-style-plugins<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">abschlie\u00dfend<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo \"export QT_QPA_PLATFORMTHEME=gtk2\" >> ~\/.profile<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Es ist ein Neustart des Systems erforderlich.<br><br>Das Tool ist nun als <strong>&#8222;Qt5-Einstellungen&#8220;<\/strong> im <em>Anwendungsmen\u00fc &#8212; Systemwerkzeuge &#8212; Einstellungen<\/em> aufrufbar, liegt in deutschsprachiger Oberfl\u00e4che vor und f\u00fchrt durch einen mehrseitigen Einstellungsdialog.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/GTK-bild-3.jpg\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" width=\"755\" height=\"748\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/GTK-bild-3.jpg\" alt=\"\" class=\"wp-image-7492\" title=\"bild 3.jpg (40.87 KiB) 1065 mal betrachtet\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/GTK-bild-3.jpg 755w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/GTK-bild-3-300x297.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/GTK-bild-3-150x150.jpg 150w\" sizes=\"auto, (max-width: 755px) 100vw, 755px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Die Einstellungen k\u00f6nnen nun im Detail erfolgen.<br>Ergebnis nach der Anpassung:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/GTK-bild-2.jpg\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"468\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/GTK-bild-2-1024x468.jpg\" alt=\"\" class=\"wp-image-7493\" title=\"bild 2.jpg (102.65 KiB) 1065 mal betrachtet\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/GTK-bild-2-1024x468.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/GTK-bild-2-300x137.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/GTK-bild-2-150x69.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/GTK-bild-2-768x351.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/GTK-bild-2-1536x701.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/GTK-bild-2.jpg 1916w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong>Ein Tipp noch zum Schluss:<\/strong><br><br>Oftmals ist dem User <em>&#8222;Root&#8220;<\/em> vom System eine anderes &#8222;Aussehen&#8220; im Bereich Themes und Iconset zugeordnet, was wiederum zur Folge hat, dass Anwendungen die <em>&#8222;erh\u00f6hte Berechtigungen&#8220;<\/em> anfordern, etwa <strong>&#8222;Synaptic&#8220;<\/strong> ein v\u00f6llig willk\u00fcrlich anderes &#8211; meist unsch\u00f6nes &#8211; Aussehen haben, als die Standard-Anwendungen.<br>Um dem entgegen zu wirken, folgende zwei Befehle in einem Terminal ausf\u00fchren:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo ln -s ~\/.themes \/root\/.themes<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo ln -s ~\/.icons \/root\/.icons<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Nach einem Neustart wird auch dem User <em>&#8222;Root&#8220;<\/em> ein einheitliches Aussehen analog zum Standard-User zugeordnet.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Erstver\u00f6ffentlichung: Di 10. Aug 2021, 14:54, beluga<\/strong><\/p>\n<div class=\"pld-like-dislike-wrap pld-custom\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir\" data-post-id=\"7490\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Hoch.png\" alt=\"Gef\u00e4llt mir\" \/>\r\n            <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">2    <\/span>\r\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-dislike-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir nicht\" data-post-id=\"7490\" data-trigger-type=\"dislike\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Runter.png\" alt=\"Gef\u00e4llt mir nicht\" \/>\r\n            <\/a>\r\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\"><\/span>\r\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Es gibt so einige KDE-Programme, z. B. K3b, den Dateimanager Krusader oder auch Digikam, die gerne auch auf anderen Desktopumgebungen verwendet werden. Innerhalb anderer Desktops sehen diese KDE-Anwendungen nicht gerade sehr sch\u00f6n aus, da ihr Aussehen von GTK-Einstellungen \u00fcbernommen wird. KDE-Apps nutzen jedoch die Bibliothek Qt5 bzw. Qt6 f\u00fcr ihre grafische Oberfl\u00e4che. Ist kein komplettes [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":7494,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,102],"tags":[],"class_list":["post-7490","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-system","category-tipps-system"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/7490","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/comments?post=7490"}],"version-history":[{"count":1,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/7490\/revisions"}],"predecessor-version":[{"id":7495,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/7490\/revisions\/7495"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/7494"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=7490"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=7490"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=7490"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}