`
yangzb
  • 浏览: 3492471 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Disabling Desktop Effects from the command line

阅读更多

<!-- icon and title -->
Disabling Desktop Effects from the command line

<!-- / icon and title --><!-- message -->
Hi all

I am using Feisty.

I enabled Desktop Effects on an old NVidia GeForce2 Pro. I'm sure Ubuntu uses the newer NVidia driver which removed support for my card. Anyway, Gnome hangs completely before I even get to the login screen, so I have to start in safe mode by pushing ESC at the GRUB menu. Then I changed my driver from NVIDIA to NV again in xorg.conf. Now I can get to the Gnome login screen, but after I log in I get a blank brown screen and a moveable mouse pointer and nothing else.

How do I revert back to before enabling Desktop Effects FROM THE COMMAND LINE? I have tried dpkg-reconfigure xserver-xorg. I have also tried metacity --replace --display=localhost:0, but it says it can't connect to my x server.

I find it a bit poor that it has been so hard to fix this.

Leslie
<!-- / message -->


<!-- post 2506681 popup menu --> <!-- / post 2506681 popup menu -->

<!-- / close content container --> <!-- / post #2506681 --><!-- post #2506791 --> <!-- open content container -->
<!-- this is not the last post shown on the page -->

  #2

<!-- icon and title -->
Re: Disabling Desktop Effects from the command line

<!-- / icon and title --><!-- message -->
I have now installed the proper nvidia-glx-legacy driver, but I still get the blank brown screen. From other posts I see it may be related to network or sound card drivers. Has anyone solved this?

I still think there needs to be a command line command like this: "desktop-effects-disable".
<!-- / message -->


<!-- post 2506791 popup menu --> <!-- / post 2506791 popup menu -->
<!-- / close content container --> <!-- / post #2506791 --><!-- post #2507589 --> <!-- open content container -->
<!-- this is not the last post shown on the page -->

  #3

<!-- icon and title -->
Re: Disabling Desktop Effects from the command line

<!-- / icon and title --><!-- message -->
Hey Leslie,

I'm having the same problem. Please let me know if you come across a solution, and I'll do the same.

Cheers.
<!-- / message -->


<!-- post 2507589 popup menu --> <!-- / post 2507589 popup menu -->
<!-- / close content container --> <!-- / post #2507589 --><!-- post #2508092 --> <!-- open content container -->
<!-- this is not the last post shown on the page -->

  #4

<!-- icon and title -->
Re: Disabling Desktop Effects from the command line

<!-- / icon and title --><!-- message -->
Hi Leslie,

I've found a solution that works for me.

I had to add the following to xorg.conf

Section "Extensions"
Option "Composite" "Disable"
EndSection
<!-- / message -->


<!-- post 2508092 popup menu --> <!-- / post 2508092 popup menu -->
<!-- / close content container --> <!-- / post #2508092 --><!-- post #2509410 --> <!-- open content container -->
<!-- this is not the last post shown on the page -->

  #5

<!-- icon and title -->
Re: Disabling Desktop Effects from the command line

<!-- / icon and title --><!-- message -->
Alright. I have an inconvenient work-around for the problem I am having.

To recap:

1. I disabled Desktop Effects by reverting to the "nv" driver
2. I try to log in
3. Instead of the starting up icon bar, I get a blank brown screen, and eventually a greay block on the top left of the screen
4. The mouse works, but nothing else happens

To fix, I need to create a new user and use that. If I use the graphical users and groups tool to create the user, the new account has the same blank screen problem.

Here's what I do:

1. Exit my session with ctrl-alt-backspace
2. Go to command line with ctrl-alt-f1
3. Log in as my admin user
4. sudo su
5. useradd -m <new username>
6. passwd <new username> (and set a password)
7. ctrl-alt-f7 to get back to the logon screen
8. Log in as new user

The problem is not group membership - I have verified that. It's some other secret thing that the graphical user manager does and useradd does not.

Once your new user is created you can copy your old user directory's files across.


Les
<!-- / message -->


<!-- post 2509410 popup menu --> <!-- / post 2509410 popup menu -->
<!-- / close content container --> <!-- / post #2509410 --><!-- post #3020510 --> <!-- open content container -->
<!-- this is not the last post shown on the page -->

  #6

<!-- icon and title -->
Re: Disabling Desktop Effects from the command line

<!-- / icon and title --><!-- message -->
Back from the dead...

I just enabled Desktop Effects for the first time, and it seemed to work until I enabled the "Cube" effect. This caused my entire system to hang to the point where I couldn't even stop the X server.
Quote:
Originally Posted by exvision View Post
I had to add the following to xorg.conf

Section "Extensions"
Option "Composite" "Disable"
EndSection
This work-around solved my problem, temporarily, but I'd like to see if I can test out Desktop Effects without the Cube effect (as I'm not sure if that will still crash).

Have there been any developments in turning off Desktop Effects from the command-line? I can no longer access System->Preferences->Desktop Effects ("The Composite extension is not available") due to adding the above lines to xorg.conf.

I feel like there should be a fairly easy way to control these options..the system preference is merely a GUI front-end for something, isn't it?


Dave
<!-- / message -->


<!-- post 3020510 popup menu --> <!-- / post 3020510 popup menu -->
<!-- / close content container --> <!-- / post #3020510 --><!-- post #3022201 --> <!-- open content container -->
<!-- this is not the last post shown on the page -->

  #7

<!-- icon and title -->
Re: Disabling Desktop Effects from the command line

<!-- / icon and title --><!-- message -->
Here's how I got around it.

Go to command line with ctrl-alt-f1 - this opens a terminal
Login to the account that was enabled for desktop effects

remove the following files by typing:
rm -rf .gnome
rm -rf .gnome2
rm -rf .gconf
rm -rf .gconfd
rm -rf .metacity

This resets the entire desktop and disables desktop effects
<!-- / message -->


<!-- post 3022201 popup menu --> <!-- / post 3022201 popup menu -->
<!-- / close content container --> <!-- / post #3022201 --><!-- post #3301610 --> <!-- open content container -->
<!-- this is not the last post shown on the page -->

  #8

<!-- icon and title -->
Re: Disabling Desktop Effects from the command line

<!-- / icon and title --><!-- message -->
rm -rf *the files listed above

Did not solve my problem.

Anyone else had this problem?
<!-- / message -->


<!-- post 3301610 popup menu --> <!-- / post 3301610 popup menu -->
<!-- / close content container --> <!-- / post #3301610 --><!-- post #3304403 --> <!-- open content container -->
<!-- this is not the last post shown on the page -->

  #9

<!-- icon and title -->
Re: Disabling Desktop Effects from the command line

<!-- / icon and title --><!-- message -->
rm -rf *the files listed above DID solve the problem for me.

Thanks, wevsler.
<!-- / message -->


<!-- post 3304403 popup menu --> <!-- / post 3304403 popup menu -->
<!-- / close content container --> <!-- / post #3304403 --><!-- post #3332892 --> <!-- open content container -->

 

 

 


  #10

<!-- icon and title -->
Re: Disabling Desktop Effects from the command line

<!-- / icon and title --><!-- message -->
I enabled desktop effects on my only admin account (ooops) and got the previously mentioned blank screen. Could login normally with other userID's.

A solution from another thread helped me (http://ubuntuforums.org/showthread.php?t=494947):

I logged into failsafe terminal and uninstalled desktop effects:
sudo apt-get remove --purge compiz-core desktop-effects

At next "normal" login the blank screen was gone, and my normal desktop was back.
I haven't re-installed desktop-effects, as I don't want a menu option that enables a "blank screen". I might give it another try later - e.g. if I upgrade to a newer machine!
<!-- / message -->

 

  <!-- icon and title -->
Re: Disabling Desktop Effects from the command line

<!-- / icon and title --><!-- message -->
rm -rf *the files listed above worked for me! I just got my new computer and wanted to see whether or not it could handle the effects. I guess it has some work left. Thanks a lot. I thought I was a goner for sure.
<!-- / message --> <!-- sig -->
__________________
~TeamArkansas wiki ~Join The Team! ~#ubuntu-arkansas ~Forum Home
<!-- / sig -->

<!-- controls -->  <!-- / controls -->
<!-- post 3421227 popup menu --> <!-- / post 3421227 popup menu -->

<!-- / close content container --> <!-- / post #3421227 --><!-- post #3492804 --> <!-- open content container -->
<!-- this is not the last post shown on the page -->

  #12
<!-- icon and title -->
Re: Disabling Desktop Effects from the command line

<!-- / icon and title --><!-- message -->
thanks for the instructions on removing the packages. That did the trick.
<!-- / message -->
<!-- controls -->  <!-- / controls -->
<!-- post 3492804 popup menu --> <!-- / post 3492804 popup menu -->
<!-- / close content container --> <!-- / post #3492804 --><!-- post #5045618 --> <!-- open content container -->

  #13
<!-- icon and title -->
Re: Disabling Desktop Effects from the command line

<!-- / icon and title --><!-- message -->
I did enable some settings in compizconfig settings manager (in Ubuntu Hardy 8.04) which messed up my screen, and I could not see anything but "white" windows ... I was searching around to find an solution to "disable desktop effects" .. what worked for me was this :

You have to type this "blindfolded", but that worked for me :

Press
Code:
Alt+F2
(opens Run Application dialouge)
Type :
Code:
gnome-terminal
(this opens up the terminal window)
Type :
Code:
metacity --replace
(this disables compix)

And I was back

Now I could open up compizconfig settings manager, and disable the effect that caused the error, and enable Extra visual effects again .... PS: the setting caused my problems was "bicubic filter"

hope this can help somebody else.
<!-- / message -->
   <!-- controls --> Reply With Quote

 

分享到:
评论

相关推荐

    The_Ultimate_Anti-Reversing_Reference

    Disabling or escaping from the control of the debugger can be achieved in both generic and specific ways. Exploiting a vulnerability, however, is achieved against specific debuggers. Of course, the ...

    Utilities for Windows NT 源码

    PASSWD This utility allows changing passwords on the command line or from within a batch file (non-interactive) instead of the usual CTRL-ALT-DEL dialog. It is also possible to change the password on ...

    2009 达内Unix学习笔记

    DOS内部命令 用于退出当前的命令处理器(COMMAND.COM) 恢复前一个命令处理器。 Ctrl+d 跟exit一样效果,表中止本次操作。 logout 当csh时可用来退出,其他shell不可用。 clear 清屏,清除(之前的内容并未删除,只是...

    Microsoft Codeview and Utilities User's Guide

    15.1.1 Managing Libraries with the LIB Command Line 15.1.2 Managing Libraries with the LIB Prompts 15.1.3 Managing Libraries with a Response File 15.1.4 Terminating the LIB Session 15.2 Performing ...

    Getting Started using PC-lint Plus

    From the command line, navigate to your source code directory and invoke the `lint` executable with your configuration file and source files: ``` lint -f my_config.gsl src/*.c src/*.cpp ``` This ...

    rip问题一.rar

    Disabling split horizon on the incoming interface will also cause the system to perform this validation check. For unnumbered IP interfaces (interfaces configured as ip unnumbered), no checking is ...

    Visual Studio插件:VSTweak

    If you don’t find that you benefit from dynamic help then disabling it here can speed up the IDE. 3、The second section, Import or Export Keyboard Bindings, is an easy to use interface for the ...

    Quest Vworkspace Desktop Optimizer

    Customise Widows XP, Windows 7 or Windows 8 for VDI byt disabling sevel feature of the operation system for best performance.

    微软内部资料-SQL性能优化2

    If you restart with the 3 GB switch, also known as 4-Gig Tuning, the amount of non-paged pool is reduced to 128 MB from 256 MB. For a process to access 3 GB of address space, the executable image ...

    JLink_Windows_V648.zip

    Commander: "erase" did not use the EraseChip command to erase the entire flash but the EraseSector command. Changed. Commander: "erase" did not use the EraseChip command to erase the entire flash but ...

    stm32下载用软件

    + Add of a Command line version of the flash loader demonstrator + Add of Source Files of the command line version + Add headers and and library files of common run-time DLLs + Support all STM...

    FlexGraphics_V_1.79_D4-XE10.2_Downloadly.ir

    - FIX: In "Windows ClearType" font rendering mode (OS Windows mode) the "garbage" pixels can appear from the right and from the bottom sides of the painted rectangle of the TFlexText object....

    微软内部资料-SQL性能优化3

    Setting an intent lock at the table level prevents another transaction from subsequently acquiring an exclusive (X) lock on the table containing that page. Intent locks improve performance because ...

    OCP 042 试题库

    What are the two effects of this command? (Choose two.) **选项**: - A) It fails if any existing row violates the constraint. - B) It does not validate the existing data in the table. - C) It ...

    01450A (1).pdf

    Enabling/disabling of delays is configured in the code by commenting/uncommenting the following lines of code: ;; 2 lines below enable rising and falling edge delays #define RISING_EDGE_DELAY #define...

    Improving the Performance of an IP-over-P2P

    Code analysis shows that the current IPOP version suffers from implementation issues in the code handling packet forwarding. Solutions are proposed, implemented and tested, with discovered issues ...

    ubuntu ref

    ### Ubuntu Reference: Key Commands and Concepts ... From managing privileges to configuring the display and network, this guide serves as a handy reference for anyone working with Ubuntu.

    istat memos

    Menu items can be reordered by holding down the ⌘ key (command key) and dragging the icon in your Mac’s menubar. Please see our page on reordering items for more information. Changing the layout and...

    FS6818芯片手册破解版 可复制

    The Interrupt Pending status is cleared by disabling the relevant interrupt. Therefore, if the corresponding bit of the RTCINTENB register is set as "1", the relevant interrupt is enabled. If the ...

Global site tag (gtag.js) - Google Analytics