Page 3 of 9 FirstFirst 12345 ... LastLast
Results 21 to 30 of 90

Thread: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

  1. #21
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    5,572
    Distro
    Ubuntu Development Release

    Re: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

    If you are having problems with nvidia drivers and the new kernel RC then fooman has the answer.
    v3.7-rc2-raring


    Re: Kernel 3.7-rc1
    lost the nvidia drivers when i first booted up (GTX480), no top panel or unity....had to right-click on desktop to open terminal. from there i opened firefox and got the command to install the x-edgers PPA:
    Code:
         sudo add-apt-repository ppa:xorg-edgers/ppa
    ran that, then opened synaptic from the terminal (sudo synaptic), updated the repos, let it install all updates plus the edgers nvidia-current (vers. 310.14). rebooted and all is well:

    Code:
    jackel@jackel-GA-990FXA-UD5:~$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=12.10 DISTRIB_CODENAME=quantal DISTRIB_DESCRIPTION="Ubuntu 12.10" jackel@jackel-GA-990FXA-UD5:~$ uname -r 3.7.0-030700rc2-generic
    ...working great!!
    Last edited by ventrical; October 23rd, 2012 at 05:27 AM.
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

  2. #22
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    5,572
    Distro
    Ubuntu Development Release

    Re: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

    Anyone having problems changing their hostnames or want to rename them (if you did not get a chance to do so during install) then here is an excellent link to achieve that.

    http://www.webupd8.org/2012/03/how-t...r-name-in.html
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

  3. #23
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    5,572
    Distro
    Ubuntu Development Release

    Re: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

    If you download a document file (or any other file for that matter) and conventional ways of searching for that file do not work then you can use the gnome-terminal and enter the code:



    dpkg -S name_of_downloaded_or_installed_file_here


    This will give you the path and directory name as to where the file is.
    For example, if you are searching for the mir-doc files - here are the results
    of that code:

    Code:
    mir-doc: /share/doc/mir-doc/html/inherit_graph_89.png
    mir-doc: /share/doc/mir-doc/html/inherit_graph_116.map
    mir-doc: /share/doc/mir-doc/html/buffer__initializer_8h__dep__incl.map
    mir-doc: /share/doc/mir-doc/html/classmir_1_1client_1_1_null_logger__inherit__graph.map
    mir-doc: /share/doc/mir-doc/html/classmir_1_1client_1_1_native_client_platform_factory__inherit__graph.map
    mir-doc: /share/doc/mir-doc/html/classmir_1_1client_1_1_mir_binder_rpc_channel__inherit__graph.png
    mir-doc: /share/doc/mir-doc/html/surfaces_2surface_8h__incl.map
    mir-doc: /share/doc/mir-doc/html/android__client__buffer_8h__dep__incl.png
    mir-doc: /share/doc/mir-doc/html/mir__binder__rpc__channel_8h__incl.md5
    mir-doc: /share/doc/mir-doc/html/registration__order__focus__sequence_8h__dep__incl.png
    mir-doc: /share/doc/mir-doc/html/size_8h__incl.map
    mir-doc: /share/doc/mir-doc/html/inherit_graph_104.md5
    mir-doc: /share/doc/mir-doc/html/search/all_79.html
    mir-doc: /share/doc/mir-doc/html/mir__basic__rpc__channel_8h__incl.png
    mir-doc: /share/doc/mir-doc/html/classmir_1_1client_1_1_client_context__inherit__graph.md5
    mir-doc: /share/doc/mir-doc/html/classmir_1_1surfaces_1_1_graphic_region.html
    mir-doc: /share/doc/mir-doc/html/structmir_1_1shell_1_1_surface_creation_parameters-members.html
    etc...
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

  4. #24
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    5,572
    Distro
    Ubuntu Development Release

    Re: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

    Command line code on how to tell which video driver you are using:

    Code:
    /usr/lib/nux/unity_support_test -p -f
    Sould give a report somthing like this:

    Code:
    ventrical@ventrical-AcerAMD64bitDual:~$ /usr/lib/nux/unity_support_test -p -f
    OpenGL vendor string:   NVIDIA Corporation
    OpenGL renderer string: GeForce G210/PCIe/SSE2/3DNOW!
    OpenGL version string:  3.3.0 NVIDIA 304.84
    
    Not software rendered:    yes
    Not blacklisted:          yes
    GLX fbconfig:             yes
    GLX texture from pixmap:  yes
    GL npot or rect textures: yes
    GL vertex program:        yes
    GL fragment program:      yes
    GL vertex buffer object:  yes
    GL framebuffer object:    yes
    GL version is 1.4+:       yes
    
    Unity 3D supported:       yes
    ventrical@ventrical-AcerAMD64bitDual:~$
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

  5. #25
    Join Date
    Oct 2008
    Location
    ExodusHair<Čubura
    Beans
    3,889
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

    Quote Originally Posted by ventrical View Post
    For ATI users:
    fglrx uses xorg.conf, but syntax has changed in the past year (a 10.10 xorg.conf will get you a black screen).
    So after upgrading, run:
    Code:
    sudo rm /etc/X11/xorg.conf sudo aticonfig --initial
    User in our LoCo stumbled upon this and (of course since copy&paste is prefered method worldwide...) complained... There should be some divider between these two commands...
    Code:
    sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.ventrical
    sudo aticonfig --initial
    We use not to r(e)m(ove) file but just m(o)ve it, so, in case of any trouble, file can be easily retreived...
    Last edited by zika; March 30th, 2013 at 07:06 PM.

  6. #26
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

    Quote Originally Posted by zika View Post
    User in our LoCo stumbled upon this and (of course since copy&paste is prefered method worldwide...) complained... There should be some divider between these two commands...
    Code:
    sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.ventrical
    sudo aticonfig --initial
    We use not to r(e)m(ove) file but just m(o)ve it, so, in case of any trouble, file can be easily retreived...
    Shouldn't the command look like this?


    Code:
    sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.ventrical && sudo aticonfig --initial

  7. #27
    Join Date
    Oct 2008
    Location
    ExodusHair<Čubura
    Beans
    3,889
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

    Quote Originally Posted by cariboo907 View Post
    Shouldn't the command look like this?


    Code:
    sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.ventrical && sudo aticonfig --initial
    Yes if You want to keep it in one row... De gustibus non est disputandum...
    The way the were written originally was a typo... That was the point of my post... To correct an obvious typo...
    Do not shoot the messenger...
    Last edited by zika; March 30th, 2013 at 10:30 PM.

  8. #28
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

    I wonder why this thread is under Ubuntu +1, and not in Tutorials & Tips. The commands mentioned here so far are not raring-specific, are they?

  9. #29
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

    Quote Originally Posted by schragge View Post
    I wonder why this thread is under Ubuntu +1, and not in Tutorials & Tips. The commands mentioned here so far are not raring-specific, are they?
    They aren't specific to any +1 version, but we seem to get quite a few new users that have no idea how to solve a problem via the command line, so the thread will stay where it is, to help them on their way to fixing a broken installation.

  10. #30
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    5,572
    Distro
    Ubuntu Development Release

    Re: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

    Quote Originally Posted by zika View Post
    User in our LoCo stumbled upon this and (of course since copy&paste is prefered method worldwide...) complained... There should be some divider between these two commands...
    Code:
    sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.ventrical
    sudo aticonfig --initial
    We use not to r(e)m(ove) file but just m(o)ve it, so, in case of any trouble, file can be easily retreived...
    Yes .. thanks .. I was busy that day , obviously My bad.
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

Page 3 of 9 FirstFirst 12345 ... 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
  •