Jan 31, 2013

How To Get Unity Launcher Window Dodge In Ubuntu 12.10 Or 13.04




The patch that adds the old window dodge autohide behaviour for the Unity Launcher hasn't been updated for Ubuntu 12.10, but an old script that implements the same behaviour now works with Ubuntu 12.10 and even 13.04.



The Unity Dodge Windows script was initially created by Jorge for Ubuntu 12.04 and it has now been updated by WebUpd8 reader Alex Piggott to work with Ubuntu 12.10. With a minor change, I've also got it to work with Ubuntu 13.04.







Dodge Windows?




Unity used to support "window dodge" autohide behaviour until Ubuntu 12.04. Using "dodge windows", the Launcher hides when the active window or a maximized window overlaps it.



There are two window dodge scripts (both packaged as debs so you don't have to set up anything manually) you can use with Ubuntu 12.10 and 13.04: one that adds a "real" window dodge behaviour, just like it was implemented in Unity until Ubuntu 12.04, as described above, and another one that makes the launcher dodge only for maximized windows.



Below you can watch the Unity Dodge Windows script in action, under Ubuntu 13.04 Raring Ringtail:





(direct video link)







Known issues / limitations




The Unity Dodge Windows script isn't perfect and has some limitations:


  • it doesn't work with multiple monitors

  • if you were using two monitors but disabled / unplugged one, you need to log out and log back in for Unity Dodge Windows to work

  • the icons on the desktop will shift to the left when the launcher hides and move back to their initial location when the launcher is revealed (you can see this in the video above). This isn't a big issue if you're using the script that makes the launcher dodge only for maximized windows, but for the other one you may find it a bit annoying. A work-around is to disable the file manager from handling the desktop (e.g.: using GNOME Tweak Tool: on the "Desktop" tab, set "Have file manager handle the desktop" to OFF). If you find a better work-around, let us know!


Those are the only limitations that I know about, but there might be others.





Install Unity Dodge Windows in Ubuntu 12.10 or 13.04



The Unity Dodge Windows scripts are available in the WebUpd8 PPA for Ubuntu 12.10 or 13.04 (you don't need it for Ubuntu 12.04, see THIS post instead). To add the PPA, use the following commands:


sudo add-apt-repository ppa:nilarimogard/webupd8

sudo apt-get update




A) And then, to get the "real" Unity Dodge Windows, meaning the Launcher will dodge / hide if a window overlaps it, even if the window is not maximized, use the following command to install the script from our PPA:


sudo apt-get install unity-dodge-windows



Once installed, press ALT + F2 and run:


unity-dodge-windows



This is only required once because the script is automatically loaded on startup.



B) Or, if you want the launcher to only hide for maximized windows, install the following package:


sudo apt-get install unity-dodge-maximized-windows



Then, press ALT + F2 and enter:


unity-dodge-maximized-windows



Once again, this is only required once because the script is automatically loaded on startup.



Don't worry, you can't install both packages in the same time: installing "unity-dodge-maximized-windows" will automatically remove "unity-dodge-windows" and the other way around, so there won't be any conflicts.



If you don't want to add our PPA, you can download the deb files below:








Revert the changes




Disabling Unity Dodge Windows is just as easy as enabling it: all you have to do is uninstall the package (alternatively, you can also simply disable it from the Startup Applications dialog):



To remove unity-dodge-windows, use:


sudo apt-get remove unity-dodge-windows



Or, for unity-dodge-maximized-windows, use:


sudo apt-get remove unity-dodge-maximized-windows



Then, log out and log back in and Unity Dodge Windows should be gone.





Thanks to Jorge and Alex Piggott for the scripts!






via Web Upd8 - Ubuntu / Linux blog http://feedproxy.google.com/~r/webupd8/~3/yWHAdXwojms/how-to-get-unity-launcher-window-dodge.html

Dropbox Uploader Bash Script: Useful For Servers, Raspberry Pi And More

Dropbox Uploader is a bash script you can use to access your Dropbox files from the command line, without having to install the Dropbox client. The script can upload, download, delete, share or list the files available in your Dropbox account.



The script is useful in many situations, including: automatic backups, access Dropbox from an ARM server / Raspberry Pi , etc. (since Dropbox isn't available for ARM). That's because its only requirement is cURL, so you don't have to install the Dropbox client to quickly upload or download some files from Dropbox.




Dropbox Uploader isn't just for Linux and it should work on Mac OSX, FreeBSD or Windows/Cygwin too. Also, since it uses the official Dropbox API for the authentication process, you don't have to enter your username and password and you can easily revoke its access to your account from the Dropbox website.



The first time your run the script, you must create a Dropbox app and allow the script to access your Dropbox account. Simply run ./dropbox_uploader.sh and follow the steps: create a Dropbox App, enter the application key and secret, select if you want to give the script full Dropbox access or just for the app folder and in the end, you'll have to access a link in your web browser to authorize Dropbox Uploader.



Everything is explained by the Dropbox Uploader script, as you can see in the screenshots below:













To see all the available options, simply run the script:


./dropbox_uploader.sh



Supported Dropbox commands at the time I'm writing this post: upload, download, delete, mkdir, list, share, info and unlink:










Download Dropbox Uploader




You can download Dropbox Uploader from GitHub - here's a direct link to the script.



To make it easier, you can copy/paste the following commands to download Dropbox Uploader in your home folder, install curl and make the script executable (the first command will install curl in Debian-based Linux distributions, required for using Dropbox Uploader):


sudo apt-get install curl

cd && curl -O https://raw.github.com/andreafabrizi/Dropbox-Uploader/master/dropbox_uploader.sh

chmod +x dropbox_uploader.sh




Thanks to Adam for the tip!







via Web Upd8 - Ubuntu / Linux blog http://feedproxy.google.com/~r/webupd8/~3/pYT1Yiocr4I/dropbox-uploader-bash-script-useful-for.html

Jan 30, 2013

Office 2013 or Office 365 – Which Edition Should You Buy?

Microsoft has introduced a new version of their trusted Office productivity suite and home consumers essentially have to make a choice between Microsoft Office 2013 and Office 365.

Office 2013 vs Office 365


Also see: Where to Download Microsoft Office 2013


Tweet this Share on Facebook




Digital Inspiration @labnol This story, Office 2013 or Office 365 – Which Edition Should You Buy?, was originally published at Digital Inspiration on 30/01/2013 under Microsoft Office, Software.






via Digital Inspiration Technology Blog http://www.labnol.org/software/compare-office-2013-editions/27771/

Jan 29, 2013

Turn On Click-to-Play and Make your Google Chrome More Stable

You are watching a video in Google Chrome and suddenly a yellow notification bar pops-up saying that the Shockwave Flash plug-in isn’t responding. While Chrome may have come a long way, these frequent Flash Player crashes still remain the most annoying thing about Google’s browser.


Shockwave Flash in Google Chrome

Shockwave Flash isn’t responding – the most frustrating error in Google Chrome?



Fixing Shockwave Flash Crashes in Chrome


The easiest solution to the problem would be that you completely disable the Shockwave Flash plug-in inside Chrome. Go to the Chrome address bar, type chrome://plugins and find the entry that says “Adobe Flash Player /Shockwave Flash.” Click Disable.


While this certainly resolves the crashing behavior, you now have to deal with another problem. You can’


YouTube is probably the biggest reason why we need the Flash Player in our browser and once we disable the Shockwave Flash plugin, some of the videos won’t play. YouTube does offer an HTML5 video player but videos that are enabled for advertising (most professional content) still require the Flash Player. Also, the YouTube video player served with Flash seems to offer more features.


Run the Flash Player On-demand inside Chrome


A better alternative is that instead of completely blocking the Flash plugin, you configure Chrome such that the plugin loads only when required.


Enable Flash on-demandIn this case, the plugin stays inactive by default but if you happen to visit a web page that requires Flash, you can load the plugin on-demand.


Go to the address bar and type chrome://settings to open the Chrome Settings windows. Choose Show Advanced Settings -> Content Settings (under Privacy) and then choose “Click to Play” under the Plug-ins group.


If a YouTube video or an audio clip on the Soundcloud requires Flash, you can click the plug-in icon to temporarily enable the Flash Player for that page. This obviously isn’t a permanent fix but just a workaround to deal with a very frustrating and common problem of Google Chrome.


Also see: Why is your Flash Player Green?


Tweet this Share on Facebook




Digital Inspiration @labnol This story, Turn On Click-to-Play and Make your Google Chrome More Stable, was originally published at Digital Inspiration on 29/01/2013 under Google Chrome, Software.






via Digital Inspiration Technology Blog http://www.labnol.org/software/google-chrome-flash-crashes/27753/

XBMC 12.0 `Frodo` Stable Released. Use It On Ubuntu, Raspberry Pi, Android And More

XBMC Media Center 12.0 "Frodo" has been released today with HD audio, Live TV and PVR support and many other enhancements. Also, the application is now available for Android and Raspberry Pi (although there are no official Raspberry Pi builds provided by XBMC).








Here are the new features and improvements in the latest XBMC 12.0 "Frodo":


  • Support for Raspberry Pi, but no official builds are provided: you can use OpenELEC, Raspbmc, Xbian or Raspbian. Downloads here;

  • Android support - official builds are now available for download, but only from xbmc.org (XBMC isn't available in the Google Play Store yet);

  • Live TV and PVR support. This allows users with a TV tuner to watch live TV, listen to radio, view an EPG, schedule recordings, etc. Supported backends include: DVBViewer, MythTV, Tvheadend, VDR, Argus TV / ForTheRecord, NextPVR, Njoy Digital, MediaPortal and more;

  • HD audio support, including DTS-MA and Dolby True-HD;

  • New unified "AudioEngine" audio abstraction framework with an API and platform sinks;

  • h.264 10bit (aka Hi10P) video software decoding for anime;

  • Improved AirPlay support;

  • Improved controller support;

  • Video library tags and advanced library filtering;

  • Advanced UPnP sharing;

  • Added support for direct playback of ISO image files for Blu-ray Disc media;

  • Added Bluray HDMV menu support (but not BD-J / BD-Live menus);

  • Improved Bluray playback support of unencrypted bdmv and mpls files without menus;

  • Added option to set a default preference for subtitles and audio tracks based on language;

  • Added HLS (HTTP Live Streaming) and M3U8 (Extended M3U) playlist support;

  • Linux: improved VAAPI (Video Acceleration API) and VDPAU (Nvidia) support;

  • Linux: added dedicated AMLPlayer and OMXPlayer video players for hardware accelerated video decoding on AMLogic devices and OpenMAX IL API;

  • more




Below you can see a few screenshots featuring the latest XBMC 12.0, running in Ubuntu:






















The default Android skin isn't optimized for touch devices but you can change to a touch-optimized skin from the XBMC for Android settings (set the skin to "Touched"). Here are some screenshots with the default Android skin:









And with the "Touched" skin (using XBMC under Android):














One note about XBMC for Android though: it looks like the official XBMC addons aren't available in the application, even though the XBMC wiki mentions that the addons should work as long as they aren't platform-specific. But maybe this has something to do with today's release and their servers being slow (although the addons are displayed on my computer).





Install XBMC 12.0 in Ubuntu




To add the XBMC stable PPA and install XBMC 12.0 in Ubuntu 13.04, 12.10, 12.04 or 11.10, use the following commands:


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

sudo apt-get update

sudo apt-get install xbmc




For other Linux distributions, Windows, Mac OS X, ATV/2, iOS and the newly added Android and Raspberry Pi, see the XBMC downloads page.






via Web Upd8 - Ubuntu / Linux blog http://feedproxy.google.com/~r/webupd8/~3/b_w8J6sIXTQ/xbmc-120-frodo-stable-released-use-it.html