Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Wednesday, April 12, 2017

How To Install GNOME 3 20 In Ubuntu GNOME 16 04 Xenial Xerus

How To Install GNOME 3 20 In Ubuntu GNOME 16 04 Xenial Xerus


Now that Ubuntu GNOME 16.04 (Xenial Xerus) is out, you may want to install the latest GNOME 3.20. I wont get into details about whats new in GNOME 3.20 since Ive already covered that.

GNOME 3.20 Ubuntu 16.04

Ubuntu GNOME 16.04 uses GNOME 3.18 for the most part: GTK 3.18, along with GNOME Shell 3.18, GDM 3.18 and the 3.18.x release for most GNOME applications. Exceptions are Nautilus (3.14), GNOME Software and GNOME Calendar (both updated to version 3.20.x).

To upgrade to GNOME 3.20 in Ubuntu GNOME 16.04, youll have to use the GNOME 3 Staging PPA.

The PPA doesnt have the complete GNOME 3.20 though. On a first look, I can tell you that the following packages werent updated to version 3.20 in the PPA: Bijiben, Cheese, Epiphany, Evince, Boxes, Disks and probably others.

GNOME 3.20 Ubuntu 16.04

Nautilus (Files), Gedit, Maps, Documents, System Monitor, Terminal and so on, along with GTK+, Settings (Control Center / Settings Daemon), GNOME Shell, and GDM were all updated to version 3.20.

To see all the packages available for Ubuntu (GNOME) 16.04 in the GNOME 3 Staging PPA, click HERE.

GNOME 3.20 Ubuntu 16.04

Ive been using GNOME 3.20 in Ubuntu GNOME 16.04 for a few hours and I didnt encounter any major issues however, there might be things I didnt notice. Furthermore, bugs can be introduced with future updates, especially since the PPA packages are not as widely tested as the packages available in the official Ubuntu repositories.

So use the PPA with care and only if you know what youre doing!

Update: pierremichaud points out in a comment below that the GNOME Calendar and Evolution calendar synchronization with Google doesnt work for now.

If something doesnt work the way its supposed to or you simply dont want to use GNOME 3.20 any more, you can purge the PPA and go back to the default GNOME version (3.18) available in Ubuntu GNOME 16.04. Youll find instructions for how to do this at the end of the article.


How to upgrade to GNOME 3.20 in Ubuntu GNOME 16.04 (Xenial Xerus)


Before proceeding, its important to mention that you should only use this PPA in Ubuntu GNOME. In Unity for instance, updating GTK and other libraries, along with applications without Unity patches can result in quite a bad desktop experience, crashes, etc.

Also, I recommend switching to the default GNOME theme (Adwaita), to avoid any issues that may occur with a newer GTK+ version and the theme youre using.

To add th GNOME 3 Staging PPA and upgrade to GNOME 3.20 in Ubuntu GNOME 16.04, use the following commands (read the important notice below before running the "dist-ugrade" command):
sudo add-apt-repository ppa:gnome3-team/gnome3-staging
sudo apt update
sudo apt dist-upgrade
Important! Read the output of "apt dist-upgrade" before entering Y to make sure important packages wont be removed! This is up to you to figure out.

For instance, in my test, the "dist-upgrade" command displayed a message saying that "grilo-plugins-0.2-base" was about to be removed. I knew thats ok because "grilo-plugins-0.3-base" was mentioned below, in the section that lets you know about new packages that will be installed:
$ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
grilo-plugins-0.2-base grilo-plugins-0.2-extra libmutter0g
The following NEW packages will be installed:
gir1.2-geoclue-2.0 gir1.2-grilo-0.3 gir1.2-lokdocview-0.1 grilo-plugins-0.3
grilo-plugins-0.3-base grilo-plugins-0.3-extra libcamel-1.2-57 libgexiv2-2
libgrilo-0.3-0 libgspell-1-1 libjpeg62 libmutter0h libreoffice-gtk3
The following packages will be upgraded:
...................

The same goes for "grilo-plugins-0.2-extra" and "libmutter0g". This is just an example though!

Once the upgrade is completed, its best to restart your system to avoid running into issues.


How to revert the changes and go back to GNOME 3.18 in Ubuntu GNOME 16.04


If you want to revert the changes and go back to GNOME 3.18 in Ubuntu 16.04 (Xenial Xerus), you can purge the PPA. To purge the PPA, use the following commands:
sudo apt install ppa-purge
sudo ppa-purge ppa:gnome3-team/gnome3-staging


Available link for download

Read more »

Wednesday, April 5, 2017

How To Install Budgie Desktop In Ubuntu 16 04 Or 15 10 Via PPA

How To Install Budgie Desktop In Ubuntu 16 04 Or 15 10 Via PPA


Budgie is a modern GTK-based desktop that was written from scratch, with simplicity and elegance in mind.

Budgie Desktop Ubuntu screenshot

Used by default in Solus (not to be confused with SolusOS), a relatively new Linux distribution, Budgie Desktop integrates tightly with the GNOME stack and it features a libmutter-based window manager and a customizable panel which includes Raven, an applet, notification and customization center.

Since recent Budgie Desktop versions werent available in any Ubuntu PPA, fossfreedom decided to maintain such a PPA, which offers the latest Budgie Desktop version (10.2.4 at the time Im writing this article), for Ubuntu 15.10 and 16.04. The PPA doesnt support Ubuntu 14.04 because Budgie Desktop requires a newer GTK version.

Ive briefly tested Budgie Desktop in Ubuntu and it works great for the most part - the only issue I have with it so far is that the tray applet doesnt display the nm-applet or Dropbox icons (and probably others). Update: this bug was fixed and the nm-applet icon now shows up in the tray!

I should also mention that Budgie Desktop doesnt support AppIndicators, though this feature might be added in the future.


In other Budgie Desktop news:
  • Solus 1.1 was released yesterday featuring the latest Budgie Desktop and various improvements. See THIS article for more information;
  • Budgie Remix is a new Ubuntu (16.04) based Budgie Desktop Linux distributions which, from what I understand, might be the foundation for a new Ubuntu flavor. Right now, this is work in progress and should only be used for testing. More info HERE.


Budgie Desktop video


For a quick look at Budgie Desktop (version 10.2.4) in Ubuntu, check out the video below:


(direct video link)


Install Budgie Desktop in Ubuntu 15.10 or 16.04 via PPA


-----------------------------------------------
Important update for Ubuntu 16.04 users.

The PPA below now updates Nautilus to version 3.18 (while Ubuntu 16.04 has version 3.14.x), without any Unity patches and because of this, Nautilus doesnt come with any Unity integration, so it uses header bars, it doesnt uses a traditional menu and so on.

If youre using Unity and you know what youre doing, you can lock Nautilus so it never upgrades to the version from this PPA. The other option is to not use the PPA below!

If youve already added the PPA and upgraded Nautilus, you can use PPA Purge to purge the PPA (see below).
-----------------------------------------------

To add the budgie-remix PPA and install the latest Budgie Desktop (version 10.2.4 at the time Im writing this article) in Ubuntu 15.10 or 16.04, use the following commands:
sudo add-apt-repository ppa:budgie-remix/ppa
sudo apt-get update
sudo apt-get install budgie-desktop
Once installed, log out and select "Budgie Desktop" from the login screen session list:



For best results, fossfreedom has included the Moka icon theme and Arc GTK theme in the PPA, and they should be installed automatically when installing budgie-desktop. After logging in, you can switch the GTK/icon themes by clicking on the Status Indicator applet (battery/sound/power), click the top-right settings icon and select "Arc-Dark" for the "Widget theme" and "Moka" for the "Icon theme".

Tip: if youve used THIS to fix large black borders around header bar apps with some themes in Ubuntu 15.10, remove it or else you wont have any shadow for header bar applications under Budgie Desktop.

Update: theres a bug that prevents the GNOME appmenu from being displayed in Budgie Desktop 10.2.4. Until this is fixed, you can use the command below to get it working:
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{Gtk/ShellShowsAppMenu: ,Gtk/DecorationLayout: <menu:minimize,maximize,close>}"


Purging the PPA


Since the PPA in this article provides a Nautilus version newer than the one available in the official Ubuntu 16.04 repositories, and without any Unity patches, you might need to purge the PPA at some point. 

To purge the budgie-remix PPA (disable it and downgrade any packages installed from that PPA), you can use the following commands:
sudo apt-get install ppa-purge
sudo ppa-purge ppa:budgie-remix/ppa

via xpressubuntu


Available link for download

Read more »

Sunday, March 5, 2017

How To Get Flash And H 264 To Work In Vivaldi Browser Ubuntu Linux Mint

How To Get Flash And H 264 To Work In Vivaldi Browser Ubuntu Linux Mint


Vivaldi 1.0 stable was released today and if you gave it a try, you might have noticed, at least on a fresh Ubuntu installation, that Flash and H.264 dont work out of the box.

Heres how to get Adobe Flash and H.264 (used, for instance, by the YouTube HTML5 player) to work with Vivaldi browser, in Ubuntu, Linux Mint and derivatives.


Get Vivaldi browser to support H.264


Vivaldi Browser no H.264
Before installing "chromium-codecs-ffmpeg-extra"

Vivaldi Browser h.264 enabled
After installing "chromium-codecs-ffmpeg-extra"

To enable H.264 support for Vivaldi in Ubuntu, you need to install a package called "chromium-codecs-ffmpeg-extra".

This is already available if Chromium browser is installed on your system. If you dont have Chromium browser, you can install the package that provides H.264 support by using the following command:
sudo apt-get install chromium-codecs-ffmpeg-extra

And restart Vivaldi.

You can check if your browser supports H.264 by visiting the YouTube HTML5 page.


Get Adobe Flash working in Vivaldi Browser


Important note: since Google Chrome is now only available for 64bit on Linux, it means that its Pepper Flash plugin is also only available on 64bit. So the instructions below only work on 64bit! Flash might work on Vivaldi 32bit if you have an old Google Chrome for 32bit installed, but it wont receive any updates so you shouldnt use it.

Vivaldi supports the Google Chrome built-in Pepper Flash plugin, but it doesnt come bundled with it. If you have Google Chrome installed on your system, Vivaldi should already be using its Pepper Flash plugin, so theres nothing you need to do.

Vivaldi Browser pepper flash plugin

If Google Chrome is not installed on your system, to get Vivaldi browser to use the Google Chrome Pepper Flash plugin, you can install a package called "pepperflashplugin-nonfree".

The package is available in Ubuntu 14.04, 15.04, 14.10 and 16.04 / Linux Mint 17.x and derivatives and you can install it by using the following command:
sudo apt-get install pepperflashplugin-nonfree

Then restart Vivaldi. Thats it!

Update: the bug that caused pepperflashplugin-nonfree not to work in Ubuntu 16.04 was fixed.


Extra tip:

If Google Chrome is installed, Vivaldi will automatically pick up its Widevine Content Decryption plugin (it comes with a symbolic link to the location of the libwidevinecdm.so plugin in the Google Chrome stable installation folder).

If you dont want to install Google Chrome and you need this plugin, you can extract libwidevinecdm.so from the Google Chrome deb and place it in /opt/vivaldi/, replacing the existing symbolic link.

thanks to B.Jay for the tip!


Available link for download

Read more »

Wednesday, February 15, 2017

How To Install Cinnamon 3 0 In Ubuntu 16 04 Or 15 10 Via PPA

How To Install Cinnamon 3 0 In Ubuntu 16 04 Or 15 10 Via PPA


Cinnamon 3.0 was released yesterday and it includes improved GTK+ 3.20 support, new accessibility and sound settings and more.

Cinnamon 3.0 Ubuntu

Cinnamon is a GTK3 desktop environment, initially started as a fork of GNOME Shell, which is used by default in Linux Mint Cinnamon edition. Among its features are:
  • panel with a menu, launchers, window list, system tray;
  • support for panel applets and desktop widgets (Desklets);
  • supports desktop animations and transition effects;
  • highly configurable: users can customize the panel (besides applets, the panel supports autohide and the panel layout can be changed: you can use one panel or two panels like the old GNOME 2 layout), easily change themes, customize desktop animations, hot corners, etc.;
  • much more.


Changes in Cinnamon 3.0 include:
  • window management improvements on tiling, mapping and unmapping windows, compositor’s window groups and tracking of full screen windows
  • improved out of the box touchpad support (edge-scrolling and two-finger-scrolling can now be configured independently and are both enabled by default)
  • new accessibility and sound settings (both rewritten as native cinnamon-settings modules)
  • battery powered devices can be renamed
  • different favorite applications can now be set for plain-text, documents and source code files
  • panel launchers now include application actions
  • animation effects are now enabled by default on dialogs and menus
  • favorites and system options can now be disabled in the menu applet
  • the photo-frame desklet now also scans subdirectories
  • improved support for GTK 3.20, Spotify 0.27, Viber

Here are the new Cinnamon accessibility and sound settings:

Cinnamon 3.0 Ubuntu

Cinnamon 3.0 Ubuntu

And the Preferred Applications dialog which now allows settings different applications for opening documents, plain text, and source code files:

Cinnamon 3.0 Ubuntu

Cinnamon 3.0 will be included with Linux Mint 18 Cinnamon edition. Its not yet clear if it will be available for Linux Mint 17.3, but I assume thats pretty difficult to achieve, considering that Linux Mint 17.3 is based on Ubuntu 14.04 which uses a pretty old GTK+ version (3.10).

Update: Clem mentioned in a comment that "versions 3.0, 3.2, 3.4 and 3.6 are targeting Mint 18.x.", so Linux Mint 17.x users wont be getting Cinnamon 3.x.

Note that in the screenshots above, Im using the new Linux Mint Mint Y GTK and icon themes as well as the Linux Mint Cinnamon theme. Youll find download links for these below, under "Cinnamon 3.0 tweaks for Ubuntu".


Install Cinnamon 3.0 in Ubuntu 16.04 or 15.10 via PPA


Important: if you want to install Cinnamon in Ubuntu and youre using the WebUpd8 Nemo PPA, purge that PPA before proceeding. Also, dont add this PPA if you use Linux Mint.

The PPAs that uses to provide Cinnamon stable werent updated with the latest Cinnamon 3.0. I did find 2 PPAs with Cinnamon 3.0:
  • Sunderland93s Cinnamon PPA (Ubuntu 16.04 only - its still in the process of being updated at the time Im writing this article)
  • embrosyns Cinnamon PPA (for Ubuntu 16.04 and 15.10)

Theres also the Cinnamon Nightly Builds PPA, but its not recommended for regular users because it contains untested / unstable code from Git!

For the instructions below Im using embrosyns Cinnamon stable PPA.

To add the PPA and install Cinnamon 3.0 in Ubuntu 16.04 or 15.10, use the following commands:
sudo add-apt-repository ppa:embrosyn/cinnamon
sudo apt update
sudo apt install cinnamon blueberry

Once installed, log out and select Cinnamon from the login screen:



Tweaks


1. Themes

In Ubuntu 16.04, Ambiance and Radiance themes have some issues in Cinnamon, like missing shadows for CSD apps. 

However, there are quite a few themes out there that should work properly in Cinnamon, like Numix GTK Theme (available in the official repositories). To install Numix GTK Theme, use the following command:
sudo apt install numix-gtk-theme

You can also download the official Linux Mint themes, including the new Mint Y Theme from Linux Mint 18, by using the links below:
  • mint-themes (youll also need libreoffice-style-mint because mint-themes depends on it, as well as mint-x-icons and mint-themes-gtk3, both linked below)
  • mint-themes-gtk3 (download the 3.18 version - its for GTK 3.18, available in Ubuntu 16.04)
  • mint-y-theme
  • mint-x-icons
  • mint-y-icons
  • cinnamon-themes

Note: to be able to install "libreoffice-style-mint", youll need to remove the "libreoffice-style-human" package, which is installed by default in Ubuntu 15.10.

To install them, download the deb files using the links above and place them in a folder - lets call it "deb" -, in your home directory (~/deb). Then use dpkg to install all the packages at once, using the following command:
sudo dpkg -i ~/deb/*.deb


2. Shutdown fix

In my test in Ubuntu 15.10, selecting "Quit" from the Cinnamon menu (which allows you to shutdown the computer) doesnt work properly - the dialog doesnt display any buttons other than "Cancel".

If you have this issue, fix it by using the following commands:
gsettings set org.cinnamon.desktop.session settings-daemon-uses-logind true
gsettings set org.cinnamon.desktop.session session-manager-uses-logind true
gsettings set org.cinnamon.desktop.session screensaver-uses-logind false
... and restart the session (logout or restart the system).

I should also mention that I didnt encounter this issue in Ubuntu 16.04.

Thanks to Kevin @ AskUbuntu for the fix!


How to revert the changes


There are two ways you can revert the changes made by using the PPA above to install Cinnamon: either completely remove Cinnamon 3.0 or you can downgrade the packages installed from the PPA and use the Cinnamon version available in the official Ubuntu repositories.

A) Completely remove Cinnamon 3.0

Firstly remove the PPA:
sudo rm /etc/apt/sources.list.d/embrosyn-cinnamon*.list

Then, to completely remove Cinnamon, you can use the following command:
sudo apt purge cinnamon* libcinnamon* nemo* libnemo-extension1 cjs libcjs0e blueberry gir1.2-cinnamondesktop-3.0 gir1.2-meta-muffin-0.0 libmuffin0 muffin-common

You may then use "autoremove" to remove all the depedencies that were installed and are no longer required:
sudo apt autoremove

B) Purge the PPA

By purging the PPA, you can downgrade Cinnamon to the version available in the official Ubuntu repositories. You can do this with PPA Purge:
sudo apt install ppa-purge
sudo ppa-purge ppa:embrosyn/cinnamon


Available link for download

Read more »

Thursday, January 26, 2017

How To Get A Unity Like HUD Searchable Menu In Xubuntu Ubuntu MATE Linux Mint More

How To Get A Unity Like HUD Searchable Menu In Xubuntu Ubuntu MATE Linux Mint More


Youre probably familiar with the Unity HUD, or Head-Up Display, which lets you search through and applications menu. Thanks to Rafael Bocquets i3-hud-menu (and J.A. McNaughtons fork), you can use this menu search feature in pretty much any desktop environment (and in any Linux distribution in which you can install unity-gtk-module).

i3-hud-menu allows searching and navigating through an applications menu using the keyboard, with the use of dmenu (dmenu doesnt have mouse support by default). Heres how it looks like in Xubuntu 16.04:

i3-menu-hud Xubuntu

And in Linux Mint 17.3 Cinnamon:

i3-menu-hud Linux Mint Cinnamon


i3-hud-menu works with GTK2, GTK3 (but not client-side decorated apps) and Qt4 applications.

The tool is buggy with Qt5 applications as well as LibreOffice - see the limitations / issues section below for more information.


Important: issues and limitations


i3-hud-menu has quite a few issues / limitations but I decided to post an article about it anyway since some of you might still find it useful.

Also, Im hoping someone reading this article might be able to fix or at least come up with some workarounds for some of the issues below. If you do, please let us know in the comments!

i3-hud-menu limitations / issues:
  • it doesnt work with client-side decorated applications;
  • it doesnt work with Firefox or Thunderbird;
  • it doesnt work with Qt5 apps (make sure appmenu-qt5 and libdbusmenu-qt5 are not installed or else you wont have a menu for Qt5 apps, such as VLC in Ubuntu 16.04 - if you do install those packages, you can use the menu via i3-hud-menu, but the actual menu wont be visible in the application);
  • using it, LibreOffice no longer has a menu if the "libreoffice-gtk" package is installed - this package is used for GTK+ integration (though using i3-hud-menu, you can search the menu, but actually using the menu items doesnt work for some reason);
  • to get i3-hud-menu to work with Java swing applications, youll need JAyatana;
  • probably more.

It appears that the LibreOffice and the Qt5 applications issue occur because "APPMENU_DISPLAY_BOTH=1" is not respected. Furthermore, using "UBUNTU_MENUPROXY=" (for example, using "UBUNTU_MENUPROXY= libreoffice --writer") or blacklisting it via Dconf Editor (com > canonical > unity-gtk-module > blacklist) doesnt get the LibreOffice menu to show up.

On Arch Linux (possibly in other Linux distributions as well), which requires the unity-gtk-module-standalone-bzr package, you need to run the following command (or change this via Dconf Editor: com > canonical > unity-gtk-module, set gtk2-shell-shows-menubar to "false") and reboot to ensure that menus are displayed in GTK applications:
gsettings set com.canonical.unity-gtk-module gtk2-shell-shows-menubar false


Install and configure i3-hud-menu


Important note: I included exact instructions for Xubuntu, Ubuntu MATE and Linux Mint Cinnamon edition, but this should work with any Ubuntu or Linux Mint flavor (14.04 and newer only). It may also work in other Linux distributions, as long as you can install unity-gtk-module and appmenu-qt.

1. Install the required dependencies: python3, python-dbus, dmenu, appmenu-qt and unity-gtk-module.

In Ubuntu (14.04 and newer), use the following command (will also install "wget", required under step 2):
sudo apt install python3 python-dbus dmenu appmenu-qt unity-gtk2-module unity-gtk3-module wget

2. Download and install i3-hud-menu

To download and install J.A. McNaughtons i3-hud-menu fork from the command line, use the following commands:
cd /tmp
wget https://github.com/jamcnaughton/i3-hud-menu/archive/master.tar.gz
tar -xvf master.tar.gz
sudo mkdir -p /opt/i3-hud-menu
sudo cp -r i3-hud-menu-master/* /opt/i3-hud-menu/

If you want to install it yourself, grab the code from GitHub (but note that the instructions below assume that youve installed i3-hud-menu in /opt/i3-hud-menu/)


3. Load the Unity gtk module

Open ~/.profile with a text editor (".profile" is a hidden file in your home folder so use Ctrl + H to see hidden files in your gile manager), paste the following at the end of the file:
export APPMENU_DISPLAY_BOTH=1
if [ -n "$GTK_MODULES" ]
then
GTK_MODULES="$GTK_MODULES:unity-gtk-module"
else
GTK_MODULES="unity-gtk-module"
fi

if [ -z "$UBUNTU_MENUPROXY" ]
then
UBUNTU_MENUPROXY=1
fi

export GTK_MODULES
export UBUNTU_MENUPROXY
... and save the file.

If after completing all the steps below, i3-hud-menu doesnt work, you can try to paste the lines above in ~/.bashrc instead of ~/.profile.

4. Add i3-appmenu-service.py to startup

The next step is to add i3-appmenu-service.py to the system startup. If youve installed i3-hud-menu using the commands above, this file should be located in /opt/i3-hud-menu/

Xubuntu: To add i3-appmenu-service.py to startup, launch Session and Startup from the menu / System Settings, and on the "Application Autostart" tab click "Add", enter "i3 menu service" under "Name", and "/opt/i3-hud-menu/i3-appmenu-service.py" (without the quotes) under "Command":


Ubuntu MATE: launch Control Center and open Startup Applications, click "Add", use "i3 menu service" under "Name", and "/opt/i3-hud-menu/i3-appmenu-service.py" (without the quotes) under "Command", and click "Add":


Linux Mint (Cinnamon): launch Startup Applications from the menu, click Add > Custom Command, use "i3 menu service" under "Name", and "/opt/i3-hud-menu/i3-appmenu-service.py" (without the quotes) under "Command", and click "Add":



5. Assign a keyboard shortcut to i3-hud-menu.py

The keyboard shortcut you assign to i3-hud-menu.py will be used to open i3-hud-menu and search through an applications menu. Heres how to configure it in some Ubuntu flavors and Linux Mint (Cinnamon).

Xubuntu: open "Keyboard" from the menu / System Settings, and on the "Application Shortcuts" tab, click "Add". Use "/opt/i3-hud-menu/i3-hud-menu.py" (without the quotes; if youve installed i3-hud-menu to a different location, make sure you use the correct path) for the command, click "OK:


... and assign it a keyboard shortcut:


You can even use "Alt", like in Ubuntu (with Unity), but I dont recommend it as you wont be able to use other shortcuts that use Alt. You can use something like Alt + 1 or any other keyboard shortcut thats not already in use.

Ubuntu MATE: from Control Center open Keyboard Shortcuts, click "Add", under "Name" enter "i3-hud-menu" (without the quotes), and use "/opt/i3-hud-menu/i3-hud-menu.py" (without the quotes; if youve installed i3-hud-menu to a different location, make sure you use the correct path) for "Command":


... and assign it a keyboard shortcut. Note that unlike Xubuntu, Ubuntu MATE doesnt allow assigning Alt as a shortcut. You can use something like Alt + 1 or whatever other keyboard shortcut you want, but make sure its not already in use.

Linux Mint (Cinnamon): launch Keyboard from the menu, click "Add custom shortcut", enter "i3-hud-menu" (without the quotes) under "Name", "/opt/i3-hud-menu/i3-hud-menu.py" (without the quotes; if youve installed i3-hud-menu to a different location, make sure you use the correct path) under "Command" and click "Add":


... and assign it a keyboard shortcut.

6. And finally, restart the session (logout/login), focus an application and use the keyboard shortcut you set in step 5 to open i3-hud-menu.


via / further reference:

  • Reddit (thanks to JaZoray)
  • jamcnaughton.com


Available link for download

Read more »

Wednesday, January 25, 2017

GNOME Software Update That Fixes Installing Third Party Deb Files Lands In Ubuntu 16 04 Proposed Repository

GNOME Software Update That Fixes Installing Third Party Deb Files Lands In Ubuntu 16 04 Proposed Repository


A GNOME Software update that fixes the issue with installing third-party deb files was pushed to the Ubuntu 16.04 Proposed repository a few minutes ago.

GNOME Software Ubuntu

Ubuntu 16.04 shipped with a pretty nasty bug (see here and here): GNOME Software (rebranded as Ubuntu Software in Ubuntu with Unity) doesnt allow installing third-party deb files, like Google Chrome, Google Talk Plugin, the Mega client and so on. 

A fix for this has been pushed to the Ubuntu 16.04 Proposed repository and will be promoted into the main repositories once its tested.

Other changes available with this GNOME Software update:
  • support for apt:// URLs;
  • increased the number of displayed reviews from 10 to 30;
  • GNOME Software now displays version and size information for non-installed applications;
  • enabled the Snappy backend.

Those interested in testing the latest GNOME Software from the Proposed repository should see THIS page. Note that the Proposed repository is for testing purposes only and may introduce instability! Also, the option to enable the Proposed repository was moved to the "Developer Options" tab in Software & Updates in the latest Ubuntu 16.04.

Until the update is available in the main repositories, you can use GDebi GTK (or dpkg via command line) to install deb files. Check out our Things To Do After Installing Ubuntu 16.04 article for how to install and set GDebi GTK to open deb files, along with other tweaks.


Available link for download

Read more »

Saturday, January 21, 2017

How to Install Bluegriffon on linux backbox ubuntu and more

How to Install Bluegriffon on linux backbox ubuntu and more



Now Comback with me localtechno, this time i will show you How to Install Bluegriffon on linux | backbox | ubuntu and more 

what is bluegriffon : BlueGriffon is a new WYSIWYG content editor for the World Wide Web. Powered by Gecko, the rendering engine of Firefox, its a modern and robust solution to edit Web pages in conformance to the latest Web Standards.
 
Very simple , first you have to do is BlueGriffon download Here
choose according to the type of your os, then run the terminal and type sudo nautilus after a window open on linux it is time to do BlueGriffon extract files that you have downloaded earlier, going up in place where the results extracted earlier , but localtechno advised to put in the directory /opt/ 

After all is done then just run it by going to the directory /opt/bluegriffon with cd /opt/bluegriffon then press enter after this run with code :

root@1nspiron:/opt/bluegriffon#./bluegriffon  and press enter





You can also create a shortcut or launcher for that application.

has it all. once very simple and may be useful "thanks for coming" ^ _ ^


Available link for download

Read more »

Saturday, January 7, 2017

GNOME Twitch 0 2 0 Adds Chat Feature Ubuntu PPA

GNOME Twitch 0 2 0 Adds Chat Feature Ubuntu PPA


GNOME Twitch

GNOME Twitch was updated to version 0.2.0 recently, adding a much needed chat feature, along with various user interface improvements and bug fixes.

In case youre not familiar with Twitch.tv, this is a popular live streaming video platform that primarily focuses on video gaming. GNOME Twitch lets you play Twitch streams without Flash, browse games and channel lists, add favorite channels and change the video quality.

The latest GNOME Twitch 0.2.0 brings support for chat. To be able to see and/or join the conversation, youll need to log in to Twitch from the GNOME Twitch preferences.

GNOME Twitch

For now, logging in to Twitch only allows using the chat feature (and its not possible to view the chat without logging in, but this should be fixed in a future release), while other features, like receiving notifications when a stream goes live, subscribing or following streams, and so on, are not yet supported.

An alternative to get notifications when the channels you follow go live is Twitch.tv Indicator.

You can add streams to your favorites in the app, even without logging in to Twitch though.

GNOME Twitch

The chat implementation in GNOME Twitch supports displaying Twitch emotes, including subscriber, turbo, etc. badges, allows using a dark or light background and to set its opacity, width and height as well as to hide the chat. 

Right now, the chat doesnt display the user list and links in chat are not clickable, but thats on the todo list.

I should also add that after logging in to Twitch, you need to restart GNOME Twitch to be able to use the chat feature.

Note that GNOME Twitch uses header bars (client-side decorations), so it will look out of place in Ubuntu (with Unity), at least with the default Ambiance theme (it looks ok with other themes, such as Numix or Greybird). Header bars were fixed in Ubuntu 16.04, but not for all applications and GNOME Twitch is of them (heres a screenshot in Ubuntu 16.04 with Ambiance theme).

According to the release notes, GNOME Twitch is still very much a work in progress and there are quite a few planned features, including support for followed streams, recording and taking stream screenshots, as well as using different player backends, such as mpv (this is partially implemented) and VLC.

For more information about GNOME Twitch, see its GitHub page as well as our initial GNOME Twitch article.


Install GNOME Twitch in Ubuntu


The official GNOME Twitch PPA was discontinued because the application is now available in the official Ubuntu (and Debian) 16.04 repositories, though its an older version (0.1.0). Getdeb provides GNOME Twitch too, but it wasnt updated to version 0.2.0 at the time Im writing this article.

Because of this, I decided to upload the latest GNOME Twitch 0.2.0 to the main WebUpd8 PPA (using its official Debian packaging, with modifications for the latest release), for Ubuntu 15.10 and 16.04. 

The application doesnt work in Ubuntu versions older than 15.10 because it requires GTK 3.16 or newer, which is not available by default in Ubuntu 15.04 or 14.04.

To add the main WebUpd8 PPA and install GNOME Twitch in Ubuntu 16.04 or 15.10 (and derivatives), use the following commands:
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install gnome-twitch

If you dont want to add the PPA, you can grab the deb from HERE.

Note that in my test in Ubuntu 16.04, installing gstreamer1.0-vaapi (which provides hardware accelerated video decoding, encoding and processing via VA-API) caused frequent GNOME Twitch crashes. This might not be the case for you, but if the app crashes frequently, try removing the "gstreamer1.0-vaapi" package.

For installing GNOME Twitch in other Linux distributions, see THIS page.


Available link for download

Read more »

Saturday, November 12, 2016

How To Install The Latest Nvidia Drivers In Ubuntu Via PPA

How To Install The Latest Nvidia Drivers In Ubuntu Via PPA


Upgrading to the latest version of the proprietary Nvidia drivers in Ubuntu was pretty complicated a while back. You would either have to use the official Linux installer, which was not always reliable, at least for me, or use a bleeding edge PPA, like the Xorg Edgers PPA, which would upgrade multiple packages, most of which were unstable.

Thats no longer the case thanks to the Proprietary GPU Drivers PPA, which offers stable proprietary Nvidia graphics driver updates, without updating other libraries to unstable versions (some libraries may still be updated using this PPA, if they are needed by the drivers, but theres nothing unstable in the PPA).

Despite its name, the PPA only provides proprietary Nvidia graphics drivers updates, with no support for AMD or Intel.

Even though the PPA is probably the most stable way of upgrading to the latest proprietary Nvidia drivers version in Ubuntu, its still considered in testing. That means issues may still occur (though I didnt encounter any and Ive been using it for some time), so you should only use this PPA if you have experience with recovering your system from a failed graphics driver upgrade.

I should also mention that the PPA provides packages for all supported Ubuntu versions (16.10, 16.04, 15.10, 14.04 and 12.04). At the time Im writing this article, the PPA provides the latest long lived branch version (367.27) of the Nvidia graphics drivers for Ubuntu 16.10 and 16.04 and the latest short lived branch version (364.19) for Ubuntu 15.10, 14.04 and 12.04.

You can check the latest Nvidia Linux graphics drivers version by visiting THIS page.

Install the latest Nvidia graphics drivers in Ubuntu via PPA


1. Add the PPA.

Before proceeding, please read the PPA description!

To add the Proprietary GPU Drivers PPA in Ubuntu and update the software sources, use the following commands:
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update

2. Install (and activate) the latest Nvidia graphics drivers

From System Settings or directly from the menu / Dash, open Software & Updates, click on the "Additional Drivers" tab, select the driver you want to use, and click "Apply changes":


After the driver is downloaded and installed, restart your system. Thats it!

You can also install the latest drivers using Synaptic or from the command line. To see the available versions, you can use:
apt-cache search nvidia
or:
apt search nvidia
And look for the packages called "nvidia-VERSION", for instance "nvidia-367" for the latest 367.27 graphics drivers, and install it ("sudo apt install nvidia-VERSION").


Available link for download

Read more »

Wednesday, November 2, 2016

How To Change Ubuntu Default Root SU Password

How To Change Ubuntu Default Root SU Password


Comparing to Windows, Ubuntu has more restriction in the file system and other system settings. To change some root level configurations you need to enter root password. By default the Root account password is locked in Ubuntu. In this case you can either change the default root password or use sudo command to login as root user which is stored by default for 15 minutes. After that time, you will need to enter your password again.

In this post I included the simple steps to change the default root su password in Ubuntu.

1. Open Terminal (Ctrl + Alt + T)
2. Type sudo passwd and press Enter ( enter sudo password )
3. Then you will be asked to Enter new UNIX password twice.

ubuntu default su password

Thats it .. Your Password Successfully changed.


Available link for download

Read more »

Sunday, October 23, 2016

GUIDE How to Setup Ubuntu Preconfigured Android Compile Environment v2 1 1

GUIDE How to Setup Ubuntu Preconfigured Android Compile Environment v2 1 1


Ask and ye shall receive! Another sylentprofet joint -

Builduntu is a prebuilt virtual machine, based on my guide here for configuring Ubuntu 13.10 Saucy Salamander to compile Android ROMs from source. It includes everything you need to sync with the repo of your choice (Cyanogenmod, AOKP, AOSP, etc) and start building.

Features:
- Ubuntu 13.10 base
- Installed all necessary software for compiling (list available in the guide link above)
- Unnecessary programs removed (media players, games etc.)
- Geany for editing code
- Repo located in ~/bin and added to PATH

All you have to do is download the source!

The only requirement is that the host machine supports a 64 bit OS. 32 bit systems will not work!

Instructions:
1. Download and install VirtualBox for your host system from here.
2. Download the latest builduntu zip archive and extract builduntu.ova to your hard drive.
3. Start VB, click File > Import Appliance. Select "Open Appliance" and choose builduntu.ova, then click Next to import the virtual machine.
4. Highlight builduntu in VirtualBox Manager and open Settings. Under "System" you may want to give it more RAM and Processor Cores. The higher these values are, the faster you will compile ROMs.
5. Start the machine, pull up a terminal and initialize a git repo. Once the source is finished downloading, youre ready to go!

Download:

build ubntu v2.1 via MediaFire

Username/Password: android/android

Let me know how it works for you! If it turns out to be useful for people here at XDA, I may update periodically.
Changelog:

v1 - Initial Release Dec 26, 2013

v2 - Released Jan 3, 2014
.. Added swap space
.. Increased dynamic drive max to 100 GB
.. Installed latest VirtualBox Guest Additions
.. Updated
.. Optimized

v2.1 - Jan 16, 2014
.. Updated and repackaged OVA file for VMWare


Available link for download

Read more »

Monday, October 10, 2016

How To Save And Restore The Unity Session In Ubuntu Using A Script

How To Save And Restore The Unity Session In Ubuntu Using A Script


Unity doesnt support saving the current session and restoring it upon login for quite some time however, you can do this with the help of a script.

Arnon Weinberg created a script that allows saving and restoring a desktop session. The script doesnt work exactly like the GNOME session save and restore feature, but it does the job and gives some control over what you want to restore and when.

Heres how the script works: you must manually save a session using a simple command, and then choose when to restore it, with three different options:
  • restore geometries of existing windows - restores the window geometry and position (including workspace) for all running windows;
  • restore matching windows - restores the window geometry and position (including workspace) for both apps that are still running as well as those that were restarted;
  • restore running applications: restores all application windows that were running (even if they are now closed) when the session was saved, along with their position (including workspace) and window geometry;
Important note: The script can only restore app windows that were open when the session was saved and cant restore applications that were running in the background (so to be able to restore an app, that app needs to have at least one open window when the session is saved).

Obviously, if you dont want to restore the session manually, you can add the script to startup so it restores your last saved session at login, but youll still have to save the session manually.

Arnons original session save and restore script doesnt work properly in Unity, but I was able to get it to work with some very simple fixes. 

The script is not perfect and there are a few things you should know before using it:
  • it doesnt work for every single application. For instance, it cant restore an open Nemo window because Nemo lacks the "--new-window" command line option (which does exist in Nautilus);
  • when using "restore 2" (so the apps that arent running are restored along with their window position and size): theres a delay between launching the app and resizing / positioning its window - thats because the script waits a few seconds to make sure the app actually starts before trying to manipulate its window.

Despite this, the script does the job pretty well and its probably the best solution for saving and restoring the Unity session.

Its important to mention that the script is not Unity or even Ubuntu specific! In fact, Arnon created it for Fedora and GNOME Shell however, Ive only tested it in Ubuntu with Unity (and thus, Ive only included modifications for it).


Unity session save and restore script installation and usage


1. The script requires perl, xprop (available in the x11-utils package), wmctrl and xdotool. To install these in Ubuntu, use the command below:
sudo apt-get install perl x11-utils wmctrl xdotool
2. To download my modified script, install it in /usr/local/bin and make it executable, use the following commands:
wget http://raw.githubusercontent.com/hotice/webupd8/master/session -O /tmp/session
sudo install /tmp/session /usr/local/bin/
sudo chmod +x /usr/local/bin/session
You can check out the script code HERE. Or, if you want to download Arnons script (without my Unity fixes), see his post HERE.

Thats it!

To save the current session, simply use the following command:
session save
Then, when you want to restore the session, use:
session restore X
where X is:
  • 2 - Restore geometries of missing windows (opens any previously running app windows and restores both windows positions and geometries);
  • 1 - Restore geometries of matching windows (restores window geometry and position for all running apps, even if they were restarted since the session was saved);
  • 0 - Restore geometries of existing windows (restores window geometry and position for apps that werent closed since the session was saved).

For instance "session restore 2" to restore geometries of missing windows, etc.

Below you can see a quick demo video, which shows using the script to save the session and restore window geometries of missing windows (opens any previously running app windows and restores both windows positions and geometries), equivalent to the command "session restore 2":


(direct video link)


Original script via thewebsitepeople.org


Also see:
  • Organize Your Unity Launcher Based On The Current Workspace With LSwitcher
  • Set Different Wallpapers For Each Workspace While Keeping Desktop Icons With Unity WallpaperSwitcher


Available link for download

Read more »