{"id":291,"date":"2022-10-10T12:14:36","date_gmt":"2022-10-10T16:14:36","guid":{"rendered":"https:\/\/blog.signalsguru.net\/?p=291"},"modified":"2022-10-10T12:14:36","modified_gmt":"2022-10-10T16:14:36","slug":"notes-on-linux-layout-customization","status":"publish","type":"post","link":"http:\/\/blog.signalsguru.net\/archives\/291","title":{"rendered":"Notes on Linux Layout Customization"},"content":{"rendered":"\n

These are some additional KDE customizations that you can set before first login. I figured out how to change these settings by making changes through the GUI and studying the configuration files. Newer versions of KDE may not use the same configurations. If you do this before first login, you will need to create the directories and files.<\/p>\n\n\n\n

The autostart script runs when you login. You can start multiple Konsole tabs with each one running a different program. Note you might want to use ‘sh’ instead, which probably points to your login shell.<\/p>\n\n\n\n

# write to ~\/.kde\/Autostart\/konsole.sh\nif ! pidof konsole > \/dev\/null; then\n    konsole --workdir ~\/ --new-tab -e bash -c \"some_command; exec bash\" &\n    sleep .2\n    konsole --workdir ~\/ --new-tab -e bash -c \"another_command; exec bash\" &\nfi<\/code><\/pre>\n\n\n\n

The default font was giving me some trouble. Sometimes the cursor would appear under the wrong character. I changed to this mono space font, and the problem went away.<\/p>\n\n\n\n

# write to ~\/.kde\/share\/apps\/konsole\/Shell.profile\n[Appearance]\nFont=Liberation Mono,10,-1,5,50,0,0,0,0,0\n\n[General]\nName=Shell\nParent=FALLBACK\/<\/code><\/pre>\n\n\n\n

Open Konsole maximized.<\/p>\n\n\n\n

# append to ~\/.kde\/share\/config\/kwinrc\n[Windows]\nPlacement=Maximizing<\/code><\/pre>\n\n\n\n

I don’t recall exactly why I needed this. I believe KDE attempts to be smart about remembering applications that were running when you shutdown so that it can automatically reopen them. But I don’t want it to reopen anything. I just want Konsole to open as above.<\/p>\n\n\n\n

<\/p>\n\n\n\n

# append to ~\/.kde\/share\/config\/ksmserverrc\n[General]\nconfirmLogout=true\nexcludeApps=\nloginMode=default\nofferShutdown=true\nshutdownType=0<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"

These are some additional KDE customizations that you can set before first login. I figured out how to change these settings by making changes through the GUI and studying the configuration files. Newer versions of KDE may not use the same configurations. If you do this before first login, you will need to create the …<\/p>\n

Notes on Linux Layout Customization<\/span> Read More »<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[12],"tags":[],"_links":{"self":[{"href":"http:\/\/blog.signalsguru.net\/wp-json\/wp\/v2\/posts\/291"}],"collection":[{"href":"http:\/\/blog.signalsguru.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.signalsguru.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.signalsguru.net\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.signalsguru.net\/wp-json\/wp\/v2\/comments?post=291"}],"version-history":[{"count":1,"href":"http:\/\/blog.signalsguru.net\/wp-json\/wp\/v2\/posts\/291\/revisions"}],"predecessor-version":[{"id":292,"href":"http:\/\/blog.signalsguru.net\/wp-json\/wp\/v2\/posts\/291\/revisions\/292"}],"wp:attachment":[{"href":"http:\/\/blog.signalsguru.net\/wp-json\/wp\/v2\/media?parent=291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.signalsguru.net\/wp-json\/wp\/v2\/categories?post=291"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.signalsguru.net\/wp-json\/wp\/v2\/tags?post=291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}