{"id":270,"date":"2014-06-28T04:18:27","date_gmt":"2014-06-28T02:18:27","guid":{"rendered":"http:\/\/www.hauweele.net\/~gawen\/blog\/?p=270"},"modified":"2014-06-28T04:18:27","modified_gmt":"2014-06-28T02:18:27","slug":"chromium-wont-start","status":"publish","type":"post","link":"https:\/\/hauweele.net\/~gawen\/blog\/?p=270","title":{"rendered":"Chromium won&#8217;t start"},"content":{"rendered":"<p>Since several weeks now I had a problem with chromium. The web browser segfaulted on launch until I ran xfsettings. This&nbsp;daemon configures desktop settings for the xfce desktop. It listens to xfconf&nbsp;and uses the&nbsp;xsettings protocol to propagate&nbsp;configuration changes on-the-fly.&nbsp;So you can use xfce4-settings-manager and rely on the xfce configuration mechanism to change your desktop settings nicely. Actually I used that to easily change the GTK and icon themes.<\/p>\n<p>This is great&nbsp;for fully integrated desktop environment as it gives you a shiny graphical interface that &#8220;just works&#8221;. However it doesn&#8217;t work so much when you modify much of your configuration by hand.<\/p>\n<p>For example, I use a script which&nbsp;listens to changes in&nbsp;the VGA&nbsp;output&nbsp;port and uses xrandr to setup the screen accordingly. But no matter what, if I start xfsettingsd after the initial configuration, it resets everything to whatever xfce thinks my screen configuration should be. And since I didn&#8217;t told him, it has no clue. The same apply for the keyboard, for which I use the device name to select the layout (dvorak\/azerty\/qwerty). The daemon just resets the layout, and worst of all, enables numlock. But again, it has no clue.<\/p>\n<p>So I decided not to use xfsettings anymore. But as soon as I did that, the chromium web browser did not want to start. It even segfaulted, which is bad, but anyway. I guess the problem was a misconfigured gtkrc (well&#8230; xfce&nbsp;wasn&#8217;t there to hold my hand anymore) which for some reason made chromium go completely nuts. So I fixed this by using LXAppearance to generate a&nbsp;more complete&nbsp;gtkrc which I modified&nbsp;by hand aftewards.<\/p>\n<p>In fact, the actual problem was the <em>gtk-font-name<\/em>&nbsp;that missed an explicit font family. In other words, in my gtkrc, &nbsp;I had this:<\/p>\n<pre>gtk-font-name=\"8\"<\/pre>\n<p>Which I changed to this:<\/p>\n<pre>gtk-font-name=\"Droid Sans 8\"<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Since several weeks now I had a problem with chromium. The web browser segfaulted on launch until I ran xfsettings. This&nbsp;daemon configures desktop settings for the xfce desktop. It listens to xfconf&nbsp;and uses the&nbsp;xsettings protocol to propagate&nbsp;configuration changes on-the-fly.&nbsp;So you &hellip; <a href=\"https:\/\/hauweele.net\/~gawen\/blog\/?p=270\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[128,387,386,388,384,385],"class_list":["post-270","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-chromium","tag-gtk","tag-segfault","tag-theme","tag-xfce","tag-xfsettingsd"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=\/wp\/v2\/posts\/270","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=270"}],"version-history":[{"count":0,"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=\/wp\/v2\/posts\/270\/revisions"}],"wp:attachment":[{"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=270"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=270"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=270"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}