Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Ubuntu 12.04 Windows Snap Feature

  1. #1
    Join Date
    Oct 2010
    Beans
    56

    Question Ubuntu 12.04 Windows Snap Feature

    Greetings,

    When I first installed Ubuntu 12.04 LTS 32.bit from a Live-CD without internet connection and any updates the snapping feature worked fine for windows of all applications. However, after some updates and installations it stopped working. I can no longer drag a window to the edge of the screen and have it resized. Thinking the problem is from my lack of experience I did a clean install of Ubuntu 12.04 again with internet connection; however, the problem still persists and I am fed up with this. Do you have any suggestions for remedy? Thanks in advance.

    P.S: The feature when working properly was just like that in Windows 7. I am a new user BTW so I might be skipping some important details, and I would be glad if you can remind me of them. In addition to that when I drag a tab in Google Chrome it just opens it in a new window instead of replacing it. How can I change this situation? I also tried installing Nvidia Bumbleebee before these problems occurred, yet I have formatted since then.

  2. #2
    Join Date
    Aug 2012
    Beans
    10

    Re: Ubuntu 12.04 Windows Snap Feature

    When you log in did you use the ubuntu 2D or 3D desktop? because if i remember right the 2D desktop doesn't have the snap feature

  3. #3
    Join Date
    Oct 2010
    Beans
    56

    Re: Ubuntu 12.04 Windows Snap Feature

    Since I am a complete beginner I don't know if it is possible to select 2D or 3D desktop, since I am not asked at startup. Can you please explain the 2D and 3D desktops?

  4. #4
    Join Date
    Oct 2008
    Beans
    3,509

    Re: Ubuntu 12.04 Windows Snap Feature

    What is your output of the terminal command...
    Code:
    echo $DESKTOP_SESSION
    eg my output...
    Code:
    glen@Quantal:~$ echo $DESKTOP_SESSION
    ubuntu
    Last edited by stinkeye; October 14th, 2012 at 12:47 AM.

  5. #5
    Join Date
    Oct 2010
    Beans
    56

    Re: Ubuntu 12.04 Windows Snap Feature

    Thanks for the command the output is as follows:

    vesnog@Vesnog:~$ echo $DESKTOP_SESSION
    ubuntu-2d

    I think this is the reason why Chrome fails when I try to change the position of a tab and the Window Snap feature does not work. Am I correct?

    Note: I am running a Dell Laptop with model number XPS L502X which has a Nvidia GT540M video card with Optimus enabled. By the way I downloaded drivers supporting this video card from the website of Nvidia, but they have the extension ".run" which I am unfamiliar with. How can I install these drivers?
    Last edited by Vesnog; October 14th, 2012 at 11:00 AM. Reason: Additional Information

  6. #6
    Join Date
    Oct 2010
    Beans
    56

    Re: Ubuntu 12.04 Windows Snap Feature

    I am posting some information which might be related with the problem:

    @Vesnog:~$ dpkg-query -l nvidia*
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
    |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name Version Description
    +++-==============-==============-============================================
    un nvidia-180-mod <none> (no description available)
    un nvidia-185-mod <none> (no description available)
    ii nvidia-common 1:0.2.44.2 Find obsolete NVIDIA drivers
    ii nvidia-current 304.51-0ubuntu NVIDIA binary Xorg driver, kernel module and
    un nvidia-current <none> (no description available)
    ii nvidia-current 295.49-0ubuntu NVIDIA binary Xorg driver, kernel module and
    ii nvidia-setting 304.51-0ubuntu Tool of configuring the NVIDIA graphics driv
    ii nvidia-setting 295.33-0ubuntu Tool of configuring the NVIDIA graphics driv

    The part of the output of the command "sudo lspci -v" is as follows:

    01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 540M] (rev a1) (prog-if 00 [VGA controller])
    Subsystem: Dell Device 050e
    Flags: bus master, fast devsel, latency 0, IRQ 16
    Memory at f0000000 (32-bit, non-prefetchable) [size=16M]
    Memory at c0000000 (64-bit, prefetchable) [size=256M]
    Memory at d0000000 (64-bit, prefetchable) [size=32M]
    I/O ports at 3000 [size=128]
    Expansion ROM at f1000000 [disabled] [size=512K]
    Capabilities: [60] Power Management version 3
    Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
    Capabilities: [78] Express Endpoint, MSI 00
    Capabilities: [b4] Vendor Specific Information: Len=14 <?>
    Capabilities: [100] Virtual Channel
    Capabilities: [128] Power Budgeting <?>
    Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
    Kernel driver in use: nvidia
    Kernel modules: nvidia_current_updates, nvidia, nouveau, nvidiafb

  7. #7
    Join Date
    Oct 2008
    Beans
    3,509

    Re: Ubuntu 12.04 Windows Snap Feature

    Your problem seems to be nvidia optimus.
    Your being dropped back to the 2d session which doesn't run compiz and doesn't need the 3d drivers.
    Can you turn optimus off in the BIOS?
    If not there is a solution called bumblebee.
    I don't have sufficient knowledge about this to give you answers.
    Hopefully someone who does, will come along, or do some searches for
    your card(GeForce GT 540M) and optimus, bumblebee.

    Ps. Just to check, try logging out, then at the greeter click on the cog wheel and choose ubuntu as the session.
    Log in and run...
    Code:
    echo $DESKTOP_SESSION
    Is it still telling you Ubuntu-2d?
    Attached Images Attached Images
    Last edited by stinkeye; October 14th, 2012 at 01:11 PM.

  8. #8
    Join Date
    Nov 2010
    Location
    /Earth/Asia/India
    Beans
    218
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Ubuntu 12.04 Windows Snap Feature

    Did you update nvidia drivers in recent ??

  9. #9
    Join Date
    Oct 2010
    Beans
    56

    Re: Ubuntu 12.04 Windows Snap Feature

    Thanks for the answer, and the command you mentioned returns Ubuntu 2-D. Thinking it is safer than messing up with BIOS, I have tried installing Bumblebee up to no avail. I failed to understand why the attempt was unsuccessful. I would be glad if someone could provide an explanation.

    user@Vesnog:~$ echo $DESKTOP_SESSION
    ubuntu-2d

    P.S: Let me now if further information is needed.

    Thanks

  10. #10
    Join Date
    Oct 2008
    Beans
    3,509

    Re: Ubuntu 12.04 Windows Snap Feature

    I can't help much more except you could try installing the latest drivers from the x-swat/x-updates ppa.
    Install Latest Nvidia Drivers in Ubuntu 12.10/12.04/11.10/Linux Mint 13/12

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •