fapg’s corner

Tips, and news from world

konsole (kde 4) fixed windows size

January 14th, 2010 by fapg

Para forçar o tamanho por omissão da konsole do kde4, faça o seguinte:

# altura que a konsole deverá ter

W=655

# largura que a konsole deverá ter

H=410

# escrever a configuração do kde

for X_RESOLUTION in 1024 1280 1440 1920; do kwriteconfig –file ~/.kde4/share/config/konsolerc –group MainWindow –key “Width $X_RESOLUTION” $W; done

for Y_RESOLUTION in 768 834 1024 1200; do kwriteconfig –file ~/.kde4/share/config/konsolerc –group MainWindow –key “Height $Y_RESOLUTION” $H; done

This entry was posted on Thursday, January 14th, 2010 at %I:%M %p and is filed under command line, desktop, linux. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply