Hi,
I am using kubutu and my computer is using vishal-laptop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux


I am able to change the display resolution in kubuntu but when I change from 1240x768 to 1024x768 then the resolution does change but the new resolution does not occupy the full screen it leaves two emtpy spaces one on the left and the other on the right.
Please see below pastebin for the image.

I am using an intel graphics card
product: Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller [8086:27A6]
vendor: Intel Corporation [8086]
bus info: pci@0000:00:02.1
version: 03
width: 32 bits.

I then tried open suse linux and tried the resolution 1024x768 and it took up the full screen to my delight but I want to use kubuntu and not suse I tried to study the xorg.conf file from the suse distro but I could not figure out what I can change to get the same desired effect on Kubuntu. Please see the xorg.conf files below. I will appreciate it if someone can help me out here and tell me how I can configure xorg.conf so that I can use 1024x768.

OPEN SUSE XORG.CONF FILE DETAILS -http://pastebin.ca/1505472

KUBUNTU XORG.CONF FILE DETAILS - http://pastebin.ca/1505469

IMAGE SHOWING THE RESOLUTION 1024 NOT TAKING UP THE WHOLE MONITOR REAL ESTATE -

Cheers,
Vishal Khialani

Dani AI

Generated

Brief expert note for (and thanks to for the widescreen hint): the behaviour you see is exactly what happens when a non‑native (4:3) mode is selected on a widescreen LCD. X/your driver can either center the 4:3 image (black bars), stretch it to fill the panel (distort), or scale it while preserving aspect ratio. Scaling is provided by the driver/RandR (Intel exposes a panel‑fitting property), so OpenSUSE’s setup likely enabled scaling while Kubuntu left it centered. (askubuntu.com)

Quick test (no permanent edits yet): run xrandr to find the laptop output name (LVDS1, eDP1, VGA1, etc.) and check its properties with xrandr --prop. Try the driver scaling options (replace LVDS1 with your output):

xrandr --query
xrandr --output LVDS1 --set "scaling mode" "Full aspect"
xrandr --output LVDS1 --mode 1024x768
xrandr --prop    # see if PANEL_FITTING or "scaling mode" appears

Some systems use PANEL_FITTING with center, full, full_aspect instead of the "scaling mode" string; try whichever property your xrandr --prop shows. (martchus.dyn.f3l.de)

Make it persistent by putting the commands in a small script run at X startup (KDE autostart, ~/.xprofile, or SDDM’s Xsetup if you need it before login). Example ~/.xprofile content:

#!/bin/sh
xrandr --output LVDS1 --set "scaling mode" "Full aspect"
xrandr --output LVDS1 --mode 1024x768

Make executable (chmod +x ~/.xprofile) or add equivalent to KDE’s Autostart. (omid.dev)

Caveats and followups: scaling blurs pixels — native resolution looks best. Full will stretch (distort), Full aspect preserves ratio, Center keeps pixel‑perfect with bars. If those properties aren’t present, you can add a custom modeline and use --newmode/--addmode, but driver/Wayland limitations may prevent it. Compare what OpenSUSE enabled in its config for clues (look for panel‑fitting/scaling entries) and replicate those settings on Kubuntu if needed. (martchus.dyn.f3l.de)

it sounds like you might have a widescreen laptop... which 1024x768 wouldnt really fit exactly right...
yeah i just looked at your screenshots its because of the lcd being widescreen.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.