LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-13-2006, 08:15 PM   #1
tdunne
LQ Newbie
 
Registered: Dec 2005
Posts: 9

Rep: Reputation: 0
Plz help me in permanently resizing windows in KDE


Hi, I'm using xmaxima with gnuplot to plot functions and such. Wondering how to resize windows permanently in KDE to get everything proportional. For example, when I plot a circle, it now comes out as an ellispe in the gnuplot window. All I've figured out to do is resize it manually, I'd like to make the changes to the window size, geometry permanent. FYI, I'm running Kbuntu 2.6.12-10-k7.

Thanks in advance....
 
Old 07-13-2006, 08:54 PM   #2
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Rep: Reputation: 46
Your problem is likely not a KDE-configuration, but an X-server configuration issue.


What is the DPI of your monitor (measure width and height of your screen, divide X and Y resolution by those numbers) and how does it compare to xdpyinfo? Chances are you will need to modify the DisplaySize of your Monitor definition in xorg.conf. Now, you will need to measure the width and height of your screen in millimeters (yep, the X folks, much like NASA, like to mix meteric and Imperial ) and change the dimensions. Here is mine as an example:

Quote:
Section "Monitor"
DisplaySize 400 300
HorizSync 28-115
Identifier "Monitor[0]"
ModelName "ViewSonic"
Option "DPMS"
VendorName "P815"
VertRefresh 50-160
UseModes "Modes[0]"
EndSection
 
Old 07-13-2006, 10:02 PM   #3
tdunne
LQ Newbie
 
Registered: Dec 2005
Posts: 9

Original Poster
Rep: Reputation: 0
From xdpyinfo:

Code:
screen #0:
  dimensions:    1600x1200 pixels (363x272 millimeters)
  resolution:    112x112 dots per inch
From my xorg.conf:

Code:
SubSection "Display"
        Depth       1
        Modes       "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
But, here's the thing, I'm also using another plotting program, Kmplot, which plots a circle like a circle (as opposed to an ellispe) (scratches head).
 
Old 07-14-2006, 06:41 PM   #4
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Rep: Reputation: 46
Does the DPI actually match what you expect if you measure your monitor?
 
Old 07-14-2006, 07:44 PM   #5
tdunne
LQ Newbie
 
Registered: Dec 2005
Posts: 9

Original Poster
Rep: Reputation: 0
I haven't actually measured the monitor yet, mainly because I don't think that's the problem. Note that other plotting programs plot a circle as a circle, as I described previously. In addition, the screen, GUI, apps seem to be perfectly aligned. The only time I've noticed skewed proportions is when I use Xmaxima to plot functions.

I know that there is a way to custom configure the window geometry of a window in KDE, as follows:

<RIGHT CLICK> onto the window title bar, then select `Advanced' > `Special Window Settings' - up pops the customization window for that particular window's geometry. After twiddling with the settings for awhile, I couldn't do diddly squat with the actual window, nothing took on the windows size, shape, or behavior. I'd like to permanently set the window popup of Gnuplot Xmaxima output to 600 X 600 pixels (this geometry draws a circle as a circle, or pretty darn close), that's it. Why would I want to change my xorg.conf geometry when other apps' geometries are fine right now?

Anyway, I'm going to play with the customization feature I mentioned some more, maybe I'll get it. I'll add that I can't find any documentation on this anywhere, tried googling, other search engines, etc., so I guess it'd be nice to post a solution and maybe a short howto or something for customizing window geometries for specific apps in KDE.
 
Old 08-24-2006, 03:44 PM   #6
flipwhy
Member
 
Registered: Jul 2006
Posts: 102

Rep: Reputation: 15
in gnuplot...type the command set size square <Enter>
that should make it a circle
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE annoyance: how to get rid of kgpg from the system tray permanently? vharishankar Linux - Software 7 07-25-2005 11:26 PM
plz help... resizing a window rksprst General 3 05-19-2005 09:22 PM
Permanently mapping a Windows network share gvaught Linux - Networking 7 05-28-2004 09:14 PM
Mount Windows permanently netjack Red Hat 5 09-27-2003 09:22 AM
permanently mount windows partition? Tech19 Linux - Newbie 3 07-28-2003 01:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration