Is there an easy way to change Ubuntu flavor during upgrade?

209

Solution 1

You can install Lubuntu within your existing Ubuntu installation, giving you the option to select either Unity or LXDE upon login. Alternatively, you could even completely remove Unity after installing Lubuntu in order to clear out unnecessary packages and save yourself some space.

To install Lubuntu within your existing installation, run the following command from a terminal:

sudo apt-get install lubuntu-desktop

To remove Unity, you have two options:

1) Remove Unity while retaining applications associated with it:

sudo apt-get remove unity unity-2d

2) Remove Unity along with all associated applications:

sudo apt-get remove unity unity-2d-places unity-2d unity-2d-panel unity-2d-spread unity-asset-pool unity-services unity-lens-files unity-lens-music unity-lens-applications gir1.2-unity-4.0 unity-common indicator-sound indicator-power indicator-appmenu libindicator6 indicator-application evolution-indicator indicator-datetime indicator-messages libnux-1.0-0 nuxtools

Solution 2

You can install the Lubuntu package in a terminal, this will let you choose bettween ubuntu and Lubuntu without any modifications.

sudo apt-get install lubuntu-desktop

Now log out and next to your user name is a little icon click it and choose Lubuntu and log back in.

Thats it you now can use the lightweight Lubuntu or the Ubuntu default desktop

If you dont want Unity anymore run this

sudo apt-get remove unity unity-2d

Or if you want to get rid of all Ubuntu apps for a pure Lubuntu then this

sudo apt-get remove unity unity-2d-places unity-2d unity-2d-panel unity-2d-spread unity-asset-pool unity-services unity-lens-files unity-lens-music unity-lens-applications gir1.2-unity-4.0 unity-common indicator-sound indicator-power indicator-appmenu libindicator6 indicator-application evolution-indicator indicator-datetime indicator-messages libnux-1.0-0 nuxtools

Good luck...

Share:
209

Related videos on Youtube

user2589824
Author by

user2589824

Updated on September 18, 2022

Comments

  • user2589824
    user2589824 over 1 year

    I have created a test WCF service WcfSampleLib with contract as IWcfSampleLib and ny service class is clsWcfSampleLib.

    namespace WcfSampleLib
    {
        public class clsWcfSampleLib:IWcfSampleLib
        {
            public string getMsg(string name)
            {
                return " HI " + name;
            }
        }
    
        [ServiceContract]
        public  interface IWcfSampleLib
        {
             [OperationContract]
            string  getMsg(string name);
        }
    }
    

    Now I have added a window form application to host my WCF. I have created a App.config as

    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
      <system.serviceModel>
    
        <behaviors>
              <serviceBehaviors>
                <behavior name="Beh">
                  <serviceMetadata  httpGetEnabled="true" httpGetUrl="http://{server}:9097"/>
                  </behavior>
               </serviceBehaviors>
        </behaviors>
        <services>
    
          <service name ="WcfSampleLib.clsWcfSampleLib" behaviorConfiguration="Beh">
            <endpoint address="http://{server}:9096/SomeName" binding="basicHttpBinding" contract ="WcfSampleLib.IWcfSampleLib"/> 
            <endpoint address="net.tcp://{server}:9095/SomeName1" binding="netTcpBinding" contract ="WcfSampleLib.IWcfSampleLib"/>
          </service>
    
        </services>    
      </system.serviceModel>
    </configuration>
    

    I have two endpoints to use WCF from two different clients with different end point. I have added following lines of code in Form1_Load event of Host Application

     host = new ServiceHost(typeof(WcfSampleLib.clsWcfSampleLib));
     host.Open();
     MessageBox.Show("started");
    

    Now I can add reference of service with http://{server}:9097 only. Is there any way so that I can use both endpoints with different URL means net.tcp://{server}:9095/SomeName1 and http://{server}:9096/SomeName

    • Admin
      Admin over 11 years
      What are you upgrading from/to?
    • Admin
      Admin over 11 years
      @loklaan: From Ubuntu Desktop 11.10 to (hopefully) Lubuntu Desktop 12.04.
  • Kendor
    Kendor over 11 years
    I just did this and it made a huge difference.