未加星标

How To Install Legacy Apps on Unity 8 in Ubuntu 16.10

字体大小 | |
[系统(linux) 所属分类 系统(linux) | 发布者 店小二04 | 时间 2016 | 作者 红领巾 ] 0人收藏点击收藏

How To Install Legacy Apps on Unity 8 in Ubuntu 16.10
Ubuntu 16.10 come withan optionalUnity 8 preview session pre-installed, ready for you to play with.

It’s moreofa technical demo than a fully-fledged alternative to the standard Unity 7 desktop, but you may be curious to stress test it nonetheless.

Providing you have hardware that support it, usingUnity 8 on Ubuntu 16.10 isactually an okay experience. It’s missing pretty much everything you’d expect or want from a modern linux desktop ― not least of which are apps, bar a terminal and a web-browser ― but it’s perfectly functional.

You can install additional ‘Snap’ apps, like the photo gallery, from the command line like so: sudo snap install --edge --devmode gallery-app

But what about the classic apps that youalready know and love? Apps like GIMP, Firefox and Gedit. Well, you can run them in Unity 8 as-well courtesy of the ‘Xmir’ compatibility layer.

How To install Xorg Apps on Unity 8

You can install and use legacy “xorg” apps in the Unity 8 Desktop Session on Ubuntu 16.10 ― you just have to jump through a few hoops first.

Why? Because Unity 8 and “Snappy” apps useCanonical’s custom-made and secure Mir display server to draw themselves on the screen. handle input, and so on. Older applications ― so-called legacy apps or xorg apps ― are built for theXorg display server.

The first thing you’ll need to do (either on your regular desktop or in the Terminal app that is pre-installedin the Unity 8 session) is to install Libertine .

Libertine is described as ‘a confined sandbox where you can install deb-packaged X11-based Ubuntu applications have have them run under Unity 8.’

1. Install Libertine

You can installLibertine on Ubuntu 16.10 straight from themain ubuntu archives ― no PPA or code silos required. Just open a new Terminal window and run the following command:

sudo apt install libertine libertine-scope libertine-tools

Once Libertine and the Libertine Scope are installed you can go ahead and open theApps Scope. ‘Pull to refresh’ it and you’ll see the ‘Libertine’ app icon (a top hat) appear.


How To Install Legacy Apps on Unity 8 in Ubuntu 16.10
2. Create a Libertine Container

Click on the Libertineapp icon to open the Libertine container app.

First time you run this you’llsee a blank white screen with a header. Click on the‘ + ‘ icon in the upper right-hand corner and this screen will appear…


How To Install Legacy Apps on Unity 8 in Ubuntu 16.10

It looks complicated but youcan totally ignore everything in front of you and click OK. Yup, you can leave all the fields blank.

Your new Libertine container will then be created. This takes a couple of minutes to complete as ithas to configure itself, install some packages and set the appropriate permissions.

If you’re running your Unity 8 preview session on device with limited storage then do beaware that each container you create can take up to 500MB, and every app you install in it will add bloat on top of this.


How To Install Legacy Apps on Unity 8 in Ubuntu 16.10

When the spinning circular icon disappears yourcontainer has been successfully created.

Your new container has the default name “Ubuntu ‘Yakkety Yak'”.

3. Install Legacy Apps In Your Container

Click on the container titled “Ubuntu ‘Yakkety Yak’” .

Welcome to your container! Next step is to install some legacy apps !

Click on the ‘ + ‘ icon in the upper right-hand corner to openthe package install wizard.

You’ll be presented with three options:


How To Install Legacy Apps on Unity 8 in Ubuntu 16.10

Select the option named:‘Enter package name’.


How To Install Legacy Apps on Unity 8 in Ubuntu 16.10

Next, type the package nameof the app you want to install (e.g., Leafpad is ‘ leafpad ‘, Firefox is ‘ firefox ‘, VLC is ‘vlc’, etc), in the text field.

Click ‘OK’ when done.

You’ll once again see a spinny circle as the applicationpackages are downloaded and installed within the container.


How To Install Legacy Apps on Unity 8 in Ubuntu 16.10

When done open the Apps Scope and pull-to-refresh. Finally, click on the icon of the app you install…


How To Install Legacy Apps on Unity 8 in Ubuntu 16.10
Going Further

To install another legacyapp, open theLibertine app, click onyourcontainer, and repeat the steps insection 3.

To remove an application, open the Libertine container manager, enter the container which housesthe app you want to remove.

Find the app in the list and right-click on it to reveal the context menu. Select ‘ Delete ‘ ― there’s no double-check/are you sure/cancel after you select it, so make sure you’ve selected the correct app!

本文系统(linux)相关术语:linux系统 鸟哥的linux私房菜 linux命令大全 linux操作系统

主题: UnityUbuntuLinuxFirefox
分页:12
转载请注明
本文标题:How To Install Legacy Apps on Unity 8 in Ubuntu 16.10
本站链接:http://www.codesec.net/view/482595.html
分享请点击:


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 系统(linux) | 评论(0) | 阅读(41)