Archives For jimingkui

Corebird  GTK+ 3 Twitter Client

Corebird, Linux native GTK+ 3 twitter client has reached version 0.9 with great perfermance improvements. PPA’s ready for Ubuntu 14.04, Ubuntu 14.10, and Linux Mint 17.

Corebird Twitter Client in Ubuntu 14.10 Corebird Twitter Client in Ubuntu 14.10

What’s new in Cordbird 0.9:

  • Mentions, hashtags and links now get highlighted directly in the compose window
  • You can now click the avatar to edit and change the user account.
  • You can now toggle the “autostart” switch in each user account’s settings window.
  • The setting regarding the dark theme is gone (existing configurations will keep working).
  • When viewing an image of a tweet with multiple images/videos attached, you can now use the cursor keys to navigate between them.
  • Avatars in tweets and profiles now show if the user is verified.
  • Lots of the application should now react better to missing network connections.
  • Some things now get immediately applied instead of needing a restart
  • Add a back button in the top of window.
  • UI improvements.

For more, see the release page (Click the suspension points after the version number to view changes).

Install Corebird in Ubuntu:

While there’s no binary packages available for Ubuntu, I’ve made the latest Corebird into my PPA repository, available for Ubuntu 14.04 LTS, Ubuntu 14.10, and Linux Mint 17.

Corebird depends on GTK+ >=3.12, so Ubuntu 14.04 users need to add the Gnome 3 and Gnome 3 staging PPA for the dependencies and that might broken your desktop, do it at your own risk!

sudo add-apt-repository ppa:gnome3-team/gnome3

sudo add-apt-repository ppa:gnome3-team/gnome3-staging

Once Corebird is properly installed, remove the Gnome3 Staging PPA via:

sudo add-apt-repository -r ppa:gnome3-team/gnome3-staging && sudo apt-get update

To install it, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run the commands below one by one:

sudo add-apt-repository ppa:ubuntuhandbook1/corebird

sudo apt-get update

sudo apt-get install corebird

Install Corebird Twitter Client from PPA

If you don’t want to add the PPA, grab the .deb installer directly from this page.

As a workaround to fix the background transparency bug, I’ve edited the .desktop file so that Corebird window uses the old fat scroll bars instead of the overlay scroll bars.

(Optional) To remove Corebird:

To remove the twitter client as well as the PPA repository:

sudo apt-get remove corebird

sudo add-apt-repository -r ppa:ubuntuhandbook1/corebird

If you’ve added the Gnome 3 PPA, install ppa-purge from Ubuntu Software Center. Then purge the PPAs via commands below:

sudo ppa-purge ppa:gnome3-team/gnome3

sudo ppa-purge ppa:gnome3-team/gnome3-staging

Nvidia 346.16

NVIDIA recently introduced the 346.xx graphics driver series for Linux with the release of the 346.16 beta driver. Xorg-Edgers PPA has made the binary packages available for Ubuntu 14.10 and Ubuntu 14.04

According to the release highlights, the new driver added below new features:

  • Added support for GeForce GTX 970M and GeForce GTX 980M GPUs.
  • Added support for decoding VP8 video streams using the NVCUVID API on GPUs with VP8 hardware decode support.
  • Added the ability to increase the operating voltage on certain GeForce GPUs in the GeForce GTX 400 series and later. Voltage adjustments are done at the user’s own risk.
  • Added accelerated support for r8g8b8a8, r8g8b8x8, b8g8r8a8 and b8g8r8x8 RENDER formats.
  • Added support for the EGL_EXT_device_base, EGL_EXT_platform_device, and EGL_EXT_output_base extensions.
  • Added support in nvidia-settings for GTK+3 UI, an option --use-gtk2 available to force the use of GTK+2 library.
  • Support for the latest Linux Kernel 3.17 / 3.18 series.
  • Performance improvements and various bug fixes.

For more changes and supported products, see the Nvidia page.

How to Install Nvidia 346.16 in Ubuntu:

Besides using the official installer package, you can install the new driver in Ubuntu 14.10, Ubuntu 14.04, or Linux Mint 17 from the xorg-edgers fresh X crack ppa.

1. Press Ctrl+Alt+T on keyboard to open terminal. When it opens, paste the command below and hit run to add the PPA:

sudo add-apt-repository -y ppa:xorg-edgers/ppa

2. Update the package lists and install the new driver:

sudo apt-get update

sudo apt-get install nvidia-346 nvidia-settings

(Optional) To purge the PPA:

sudo apt-get install ppa-purge && sudo ppa-purge ppa:xorg-edgers/ppa

To remove the Nvidia 346 driver:

sudo apt-get remove nvidia-346

How to Install Brightness Indicator in Ubuntu 14.10

Last updated: November 17, 2014

Indicator Brightness

The Fn brightness control doesn’t work on your Ubuntu Laptop? Try indicator-brightness, an applet on panel to set your screen brightness, which also supports keyboard shortcuts.

The indicator-brightness is inspired by the original Gnome brightness applet, it allows the Unity users to set screen brightness by using the indicator menu or the scroll wheel of your mouse over the indicator icon. With it, you can assign custom keyboard shortcuts to control brightness with your keyboard.

brightness-indicator-ubuntu1410

Install Brightness Indicator Ubuntu 14.10:

It’s easy to install the applet though the developer doesn’t update the package for Ubuntu 14.10. And it works good on my laptop.

To install it, click the link below to go to the developer’s PPA package repository and download the .deb installer for Ubuntu 14.04 Trusty.

Download indicator-brightness

Select download the “indicator-brightness_0.4~bzr11~ubuntu14.04.1_all.deb”. Once downloaded, double-click the package to open it with Ubuntu Software Center and finally click the “install” button.

Once installed, start the applet from the Unity Dash and enjoy!

To add custom shortcuts to control screen brightness:

Open System Settings and navigate to “Keyboard -> Shortcuts tab -> Custom Shortcuts”.

Click the plus sign to add two new shortcuts with:

  • name: Brightness up
    command:

    /opt/extras.ubuntu.com/indicator-brightness/indicator-brightness-adjust --up
  • name: Brightness down
    command:

    /opt/extras.ubuntu.com/indicator-brightness/indicator-brightness-adjust --down

Assign shortcut keys to them and done!

Add Brightness Control Shortcuts

Speed Up the Unity Dash response

This quick tutorial shows how to improve your Ubuntu experience by speeding up the Unity Dash (search utility) response in Ubuntu 14.10 or Ubuntu 14.04.

The Unity Dash

1. Remove undesired search results

By default, the Dash displays Unity lens, scopes, Amazon online search results, and records file and application usage. You can disable some of them via below tips:

  • Disable online search results:

    Launch System Settings and go to Security & Privacy, under “Search” tab turn off the switch which says “When searching in the Dash: include online search results”

    Disable Online Search Results

  • Stop recording file and app usage:

    Also launch System Settings and go to Security & Privacy, under “Files & Applications” tab first clear records and then turn off the switch:

    Stop recording file and app usage

  • Remove unwanted Unity lens, scopes:

    Open Ubuntu Software Center and search for unity-scope. In the results, check the information of installed scopes and remove the scopes you don’t need.

    unity-scopes

    Do same to Unity lens by searching unity-lens.

2. Reduce Graphics Settings.

First click the link below to bring up Ubuntu Software Center and click install Compiz Config Settings Manager.

Click to install CCSM

Then launch CCSM from the Unity Dash and do below changes:

  • Go to Ubuntu Unity Plugin page under the Desktop category. Select No Blur from the drop-down box for Dash Blur.

    No Dash Blur

  • Go back and then go to OpenGL settings page under General category. Select Fast from the drop-down box for Texture Filter.

    texure-filter-fast

    Note that this change would affect the whole Ubuntu System graphics and not Unity alone.

To apply all the changes, restart your computer. Enjoy!

Midori Broswer 0.5.9 Ballet

The Midori Browser 0.5.9 “Ballet” was released recently with various important bug fixes. The developer announced in the blog post:

Seven months of sweat and tears… oh well, not quite so dramatic. In any event Midori 0.5.9 is out!

We’re already scheming… I mean planning for the next cycle. We want to go WebKit2 and GTK+3 only now and do away with the fourfold compatibility setup. Anyone who finds this thrilling is more than welcome to join in; the fun is going to start soon.

Midori Broser in Ubuntu

According to the changelog, the 0.5.9 release brings below changes:

  • Fix the problem that Downloads do not work with WebKit2
  • about:new in urlbar for new tabs has been fixed.
  • Fix visibility of SpeedDial, Toolbar, Bookmarkbar context menu items
  • Fix crash right-clicking forms on local pages
  • Fix crash when activating the edit menu
  • Fix “open all in tabs” for bookmarks
  • Fix crash when saving with associated resources
  • Fixes tab history undo
  • Fix a few simple leaks
  • Show search menu upon left icon click in location bar
  • Connect bookmarks-db singleton correctly to fix menus
  • Make middle clicking reload button duplicate the current tab, similar to other browsers

For the detailed changes, read the ChangeLog file from the Source Code page.

How to Install / Upgrade to Midori 0.5.9:

The 0.5.9 release is not yet now available in the official PPA. If you really want to install or upgrade to the new release, use the Development PPA. Ubuntu 14.10 and Ubuntu 14.04 are supported so far.

1. Press Ctrl+Alt+T to open terminal. When it opens, run commands below to add the PPA:

sudo add-apt-repository -y ppa:midori/ppa && sudo apt-get update

2. After added the PPA, install the package via below command:

To install the GTK+2 version:

sudo apt-get install midori

To install the GTK+3 version:

sudo apt-get install midori-gtk3

3. (Optional) To remove the PPA as well as midori:

sudo add-apt-repository -r ppa:midori/ppa

sudo apt-get remove midori

Windows Like Start Menu

Quick tutorial that shows you how to install and use Whisker Menu, a Windows like Start Menu for Linux, in (X)Ubuntu Xfce4 Desktop.

Whisker Menu is an alternate application launcher for Xfce Desktop. It is the default app launcher in Linux Mint Xfce edition since Mint 15 Olivia. With it, you can search for and browse through all of your installed applications.

Whisker Menu in Xfce4

Install Whisker Menu:

For (X)Ubuntu 15.04, (X)Ubuntu 14.10, and (X)Ubuntu 14.04, just click the link below to bring up Ubuntu Software Center and click the install button.

Click to Install Whisker Menu

For (X)Ubuntu 12.04, install it from the developer’s PPA by running the commands below one by one in terminal (Ctrl+Alt+T):

sudo add-apt-repository ppa:gottcode/gcppa

sudo apt-get update

sudo apt-get install xfce4-whiskermenu-plugin

To add the menu to panel:

  1. Right-click on panel and navigate to panel -> panel preferences …
  2. When the preferences window opens, navigate to Items tab
  3. Click on the green plus sign to add new item.
  4. Search for and add Whisker Menu to the Items list.
  5. Finally click the arrow button to move it to the top.

Add Whisker Menu to Launcher

Set Windows (Super) key to launch Whisker Menu:

  1. Start Settings Manager from the menu, and navigate to Keyboard
  2. When the Keyboard utility opens, navigate to Application Shortcuts tab.
  3. Add new shortcut with command xfce4-popup-whiskermenu
  4. Press the Super/Windows key when it prompts.

xfce4-launcher-key

Theming Whisker Menu: See the developer’s post.

Remove Xfce Desktop Icons

Quick tutorial that shows beginners how to remove the shortcut icons from Xfce4 Desktop in (X)Ubuntu 14.10, (X)Ubuntu 14.04.

Xfce4 shows Home, Devices, Trash icons on desktop out-of-the-box. You can’t simply remove them from the right-click context menu. But it’s easy to hide or disable them via the Desktop Settings utility.

1. Open Desktop Settings from the Application Menu. Or right-click on desktop and select it from the pop-up context menu.

Xfce Desktop Settings

2. When the utility opens, navigate to Icons tab. Un-check all the boxes under Desktop Icons.

Note that you might need to re-size the window so that you can see the checkboxes.

Disable Desktop Icons

This should remove user’s Home, Trash, and Devices icons.

If you want to hide all desktop icons besides removing application shortcuts from ~/Desktops folder, just set Icon Type to None. Note that this also changes the desktop right-click menu.

Yarock Music Player

Yarock, a Qt4 Modern Music Player, has just reached 1.0 release, which brings new clean and elegant design, adds artists images, album cover support, and fixes a few bugs.

Yarock is a music player in c++/Qt designed to provide a clean, simple and beautiful music collection based on album cover art. It features:

  • Music collection database (SQLite 3)
  • Browse your local music collection based on cover art
  • Easy search and filter music collection
  • Manage favorites item (album, artist)
  • Play music directly from collection or playqueue
  • Simple Playqueue
  • Smart playlist generator
  • Support mp3,Ogg Vorbis,flac music files (depending on phonon backend)
  • Support load/save playlist file (m3u, pls, xspf)
  • Play radio stream (tunin, shoutcast, dirble, …)
  • Mp3Gain tag support for volume normalization
  • Cover art download
  • Last Fm scrobbler
  • Command line interface, Mpris interface
  • Clean and simple user interface
  • No GNOME or KDE dependancies

Yarock Tunin view

Yarock artists view

Yarock Track View

The 1.0 release was announced a few hours ago with below changes:

  • new clean and elegant design, new icon set, new app icon
  • add support for artists images (new view, download artists images)
  • save rating to file
  • add advanced library search
  • add album cover for playqueue widget
  • add stars rating for playqueue widget
  • add multiple tracks edition
  • rewrite now playing widget
  • improve browser view multiple selection with SHIFT key
  • improve artist/album/track tags edition
  • support more scalable ui items
  • file dialog various improvements
  • improve file system view performance
  • fix “open with” yarock from KDE menu
  • fix playqueue restoration at startup
  • fix translation installation path
  • fix rating mp3 tag reading
  • minor fix for genre sorting view

How to Install Yarock 1.0 in Ubuntu:

For Ubuntu 14.10, Ubuntu 14.04 and Linux Mint 17 Qiana, Yarock 1.0 is available in a launchpad PPA repository.

Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, run the commands below one by one:

sudo add-apt-repository ppa:ubuntuhandbook1/apps

sudo apt-get update

sudo apt-get install yarock

For those who don’t want to add the PPA, grab the installer directly from the Launchpad Page. Depends on your OS type, select download & install i386 (32-bit) or amd64 (64-bit) deb.

Nvidia 340.58 PPA

Nvidia Graphics Driver for Linux has just released version 340.58 with new GPUs support and a few bug fixes.

The latest long lived branch release Nvidia 340.58 was released this Wednesday with below changes:

  • Added support for the following GPUs:
    • GeForce GT820M
    • GeForce GTX 760A
    • GeForce GTX 850A
    • GeForce 810A
    • GeForce 820A
    • GeForce 840A
  • Fixed a bug that could cause VT-switching to fail following a suspend, resume, and driver reload sequence.
  • Fixed a bug that caused incorrect colors to be displayed on X screens running at depth 8 on some GPUs.
  • Fixed a bug that prevented GPUs from being correctly recognized in MetaMode strings when identified by UUID.
  • Implemented support for disabling indirect GLX context creation using the -iglx option available on X.Org server release 1.16 and newer.  Note that future X.Org server releases may make the -iglx option the default. To re-enable support for indirect GLX on such servers, use the +iglx option.
  • Added the “AllowIndirectGLXProtocol” X config option. This option can be used to disallow use of GLX protocol. See “Appendix B. X Config Options” in the README for more details.

How to Install / Upgrade to Nvidia 340.58:

The Xorg-Edgers PPA provides the binary packages of the driver for Ubuntu 14.10, and Ubuntu 14.04.

Press Ctrl+Alt+T on keyboard to open terminal. When it opens, run the commands below one by one:

sudo add-apt-repository -y ppa:xorg-edgers/ppa

sudo apt-get update

sudo apt-get install nvidia-340

Above commands will add the PPA and install the new driver. After that, restart your computer to take effect.

If for some reason, the new driver does not work properly. Open terminal or log into command console (Ctrl+Alt+F2), run below commands to install ppa-purge and purge the PPA:

sudo apt-get install ppa-purge

sudo ppa-purge ppa:xorg-edgers/ppa

Above commands should remove Nvidia Driver 340.58 and revert your graphics driver to original.

Tomahawk Music Player

Tomahawk social media player has recently released version 0.8, which features redesigned UI, Beats and Google Play Music support and more.

Tomahawk is a music player that not only plays your local collection, but also streams from SoundCloud, Beats, Spotify, Google Play Music, YouTube and many more. You can even connect Tomahawk with your friends via Jabber / GTalk and share your playlists and collections.

Tomahawk Music Player 0.8 in Ubuntu

What’s new in Tomahawk 0.8:

  • Redesigned – Shiny new interface. Simplified. New icons.
  • Added Friend Feed.
  • Now Playing notifications (OS X & Windows) – support for OS-level notification systems (e.g. Notification Center) with fallback to its own native notification system.
  • Many actions now available in context menu – including Favorite and Send to a Friend.
  • Drag and drop support for iTunes, Deezer, Beats Music, Rdio, Spotify, SoundCloud links (into Tomahawk) for playlists/tracks/artists/album links.
  • Support for clicking source icon for currently playing track in audio controls to take user to associated page on source’s site
  • Added Hatchet plug-in.
  • Added Google Play Music and Beats Music support.
  • Add links to Support site, Bug Reports and Translations to Help menu.
  • Add “What’s New” page to display on first launch (or until user dismisses it) – also available from Help menu.
  • Changed label from “Resolvers” and “Services” to more generic “Plug-Ins”.
  • Clarified some labels, help text and status messages.
  • Changed icon color a bit.
  • Added “Acoustic” and “Electric” songtypes to Stations options.
  • Removed some stale Chart sources.
  • Playback Queue now saves its state across sessions.
  • Queue now moved to sidebar
  • Added “Inbox” feature, showing incoming song recommendations. Dropping a track on a user in the sidebar sends a recommendation to them.
  • You will now be asked whether you want to trust invalid SSL certificates.
  • Improved connecting between Tomahawk peers and support having multiple IPs (including IPv6).
  • Removed Top Loved from sidebar.
  • Removed Spotify playlist syncing (will be back in future versions).
  • HTTP(S) streaming is now done by Tomahawk instead of the Phonon backend (fixed HTTPS streaming on MacOS).
  • Heavily reduced memory footprint during and after indexing the database.
  • Retina display and DPI scaling fixes.
  • New Collection views. Re-added support for tracklist view of Collection.
  • Added Telepathy support.
  • Plugin refactoring (and .AXE resolver binaries).
  • Removed Twitter due to change in Twitter’s API.
  • Removed auto-playlists.
  • Improved error messages.
  • Added basic remote control API.
  • Add support for Opus codec (requires TagLib 1.9).
  • Support rtmp:// streams.
  • Support custom headers in CustomUrlHandler.
  • Fuzzy search indices for JS Resolvers.
  • Add metadata retrieval of HTTP(S) streams in JavaScript resolvers.

How to Install Tomahawk in Ubuntu:

While Ubuntu repositories provide an old version of Tomahawk, you can always install the latest release from its official PPA. So far, Ubuntu 14.04, Ubuntu 14.10, and Linux Mint 17 are supported.

To get started, press Ctrl+Alt+T on keyboard to open the terminal. When it opens, run the command below to add the PPA:

sudo add-apt-repository ppa:tomahawk/ppa

Then install Tomahawk 0.8 via Synaptic Package Manager or commands below:

sudo apt-get update

sudo apt-get install tomahawk tomahawk-dbg

Install Tomahawk from PPA

After that, you can receive future updates by running regular updates via Software Updater.

More:

1. You can remove Tomahawk either from Ubuntu Software Center or by running the command below:

sudo apt-get remove tomahawk

To remove the PPA repository run:

sudo add-apt-repository -r ppa:tomahawk/ppa

2. To remove Tomahawk controls from Sound Menu:

  1. Install dconf-editor from Ubuntu Software Center.
  2. Launch dconf-editor and navigate to com -> canonical -> indicator -> sound
  3. Remove ‘tomahawk.desktop’ from the value of interested-media-players.
  4. To prevent it from showing in Sound Menu again, add ‘tomahawk.desktop’ to value of blacklisted-media-players.