Re: KDE 4.2 - Set Konsole default window size ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 10, 2008 at 5:22 PM, Kevin Kempter
<kevin@xxxxxxxxxxxxxxxxxxx> wrote:
> Hi All;
>
> I'm running Fedora9 & KDE 4.2
> Every time I start Konsole it comes up with the size that the window was the
> last time I used it.  I would prefer to have a fixed starting size (say
> 80x25).  Is this possible ?

You may have to do some digging, to get the right numbers for W and H;
but the following works for me with the font that I use:

W=664
H=520

for Y_RESOLUTION in 768 834 1024 1200; do
    kwriteconfig --file ~/.kde/share/config/konsolerc --group
MainWindow --key "Height $Y_RESOLUTION" $H
done

for X_RESOLUTION in 1024 1280 1440 1920; do
    kwriteconfig --file ~/.kde/share/config/konsolerc --group
MainWindow --key "Width $X_RESOLUTION" $W
done

konsole "$@"

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux