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

Saturday, June 7, 2014

My donation for Ubuntu 14.04


Just because it is cool and useful - 22$:

DescriptionUnit priceQtyAmount
Ubuntu Desktop$20.00 USD1$20.00 USD
...


Tip to Canonical$2.00 USD1$2.00 USD

Thursday, March 20, 2014

My contribution to Ubuntu development

My contribution to Ubuntu development, Ubuntu deserve it !!!!! :

DescriptionUnit priceQtyAmount
'desktop'$1.00 USD50$50.00 USD
'hardware'$1.00 USD25$25.00 USD

Saturday, December 28, 2013

Mount Nexus5 to Ubuntu 12.04

Instruction how to connect Nexus phone to Ubuntu 12.04:

1) Activate developer options on Nexus 5, instructions, that mode have to be switched ON always to be mounted.

2) just follow http://bernaerts.dyndns.org/linux/74-ubuntu/268-ubuntu-automount-any-mtp-device , at the end of article there is a script that do all that steps automatically (that require only 2 chapter to be done).

ATTENTION: unlock phone before connection to PC, if phone is locked auto connection/mount is not happen!!!!

it works for any device - Nexus 4, Nexus 5, Nexus 7, .... that use MTP protocol.

Only one minor nuance is noticed: Nautilus does not copy files/folders if you use Tabs in Nautilus, workaround just use separate nautilus windows.

Friday, July 5, 2013

move window to other monitor at ubuntu



You need to install Compiz Config Settings Manager:
"sudo aptitude install compizconfig-settings-manage"

and launch it from Dash(main button) by filtering "compiz".

select in the "Window Management" section a "Put" item. With that enabled, you can set a shortcut key in the "bindings" tab for "Put to Next Output". By default, it's disabled, but is easy to set.
No restart is required (at least on Ubuntu 12.04 x64).

If you have two monitors - this combination will work like swap of window location on monitors.

My default is "Cntl+~".

Thursday, April 25, 2013

Share folder between Windows and Ubuntu 12.04 by mean of Samba

The best way to share folder between different Windows and Linux is to share it on Linux and let Windows explore it in network. Sharing on Windows and exploring from computer and folder from Ubuntu is never stable (Linux guru could do this, but it is not for ordinary user).

Follow pretty good illustrated instructions, works fine for 12.04:
http://www.liberiangeek.net/2010/06/how-to-quickly-change-workgroup-name-in-ubuntu-10-04-lucid-lynx/

Restart samba service after each sharing( just in case :) ), in Ubuntu 12.04 as:

sudo restart smbd

If smth does not work, restart Linux PC, this will help windows to see your Linux :). 

Sunday, March 31, 2013

RDP connection from Windows to Ubuntu 12.04

manual: http://www.ubuntututorials.com/remote-desktop-ubuntu-12-04-windows-7/

That connection create only new connections to PC, no way to connect to existing session.

unfortunately did not worked for me as screen after login is empty.
Here is advise how to fix that problem, see two last comments of "".

It works, but ! if you try to launch FireFox or Chrom from that session, Firefox will fail to launch if it existing in different session, Chrome launched in new session and disappeared (it appear in my real session at laptop).

So that behavior is not appropriate, failed to fix, fed up ... .

Sunday, January 20, 2013

How to show git branch/status information in bash

extension for terminal/command line to use git more effectively:

For Mac users, (zsh): https://github.com/olivierverdier/zsh-git-prompt

For bash(works fine for Ubuntu): https://github.com/magicmonty/bash-git-prompt
I do following update for /home/USER/.bash/gitprompt.sh :
PROMPT_START="$WHITE$Time12a $Yellow$PathShort$ResetColor"
PROMPT_END=" $ "

For simple branch show(works very fast), (link second comment):
Simply add following line it ~/.bashrc
PS1='[\u@\h`__git_ps1` \W]\$ '



Sunday, December 30, 2012

Install Sublime text to Ubuntu

Sublime text - text editor that Mac user love to use, so let try it in Ubuntu,
What I like:
- it is quick
- outline view of whole file on the right side.
- Columns/Block selection, how to.
- line numbers as out of the box functionality.

Instruction:

sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text

Wednesday, November 14, 2012

Print a folders structure to file

I come to a tast to examine whole source code structure on SVN and propose restructure it to new layout. some projects were grouped in sub folders.

Install "tree" tool:
sudo apt-get install tree

Command to print tree, without temporary and useless folders, dig in 4th level:
tree -L 4 -d -I "target|webapp|doc|docs|site|src|deploy|sh|java|data|scripts|lib|conf|work|bin|web|webscr|META-INF|hibern|www|css|images|templates|test-conf" > structure.txt

Output is like:


├── auth
│   ├── apache-modules
│   │   ├── auth_client
│   │   │   └── test
│   │   ├── googleauth
│   │   │   └── example
│   │   ├── jansson-2.2
│   │   │   └── test
│   │   ├── m4
│   │   └── mod_some_auth
│   ├── auth-client
│   ├── auth-errors
│   ├── auth-server

Friday, November 9, 2012

Ubuntu get popularity from other Linuxes

Ubuntu become more and more popular, but is it due to new users that come from Windows ?

I do believe to wikipedia statistics as it only resource that is visited by all internet user no matter what OS or browser they use.

data sources links:
http://stats.wikimedia.org/wikimedia/squids/SquidReportOperatingSystems.htm
http://stats.wikimedia.org/archive/squid_reports/2011-10/SquidReportOperatingSystems.htm

Result show that Ubuntu get popularity from other Linux systems, but we see 0.07% of grow :) in general.
Does it mean that Linux users become more lazy and choose Linux that works out-of-the-box, and fed-up with doing all from scratch ? or it is just statistical rounding that significant grow other OS in amount of users
red - decrease of popularity.
green - grow of popularity.

Monday, October 29, 2012

Demand GoToMeeting support for Linux


GotoMeeting does not support Linux at all, even Wine and  CrossOver does not help.

Please help to raise question for support again and again, fill form:
http://www.citrixonline.com/collaboration/product_support

Sunday, October 21, 2012

Turn off sound in Krusader on delete operations in Ubuntu

Sounds are not configured in Krusader, but in common KDE settigns. To manage them install KDE system settings, source:

sudo apt-get install system-settings

Launch system-settings from terminal, and navigate to KDE Workspace settings.
Remove "Play sound" selection from event:


Thursday, October 4, 2012

Browser HL-4570CDW for Ubuntu 12.04

Drivers are not in ubuntu set of driver, need to be installed manually:
http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_prn.html#HL-4570CDW%20/%20HL-4570CDWT

installed both packages by means of Ubuntu Center. Center show WARNING of package structure but still allow you to install. I continued installation - works fine.

After drivers are installed, driver could be seen(automatically picked up) from install printed wizard. Install driver before launching "Printing" application.

Issues:
After "Print Test Page" is done - need to go to printer and press button "GO" on printer.
Printing from other application does not need this.

Saturday, September 8, 2012

Eclipse complains about com.sun.tools 1.5.0 is missing

During compilation of some opensource project you could come up to error "artifact  com.sun.tools 1.5.0 is missing" in Eclipse, but compilation works fine from terminal.

Problem is in what JDK Eclipse use and provide it the same path.
check correctness of $JAVA_HOME
You need to check $PATH variable to be sure that required JDK is in Path.
Even you have JAVA_HOME/bin in path, java could be taken from other location due to the fact that it could be found in path early than your, to check it:
which java
ls -la /usr/bin/java
ls -la /etc/alternatives/java
Make sure that /etc/alternatives/java points to your JDK. In my case it was to OpenJDK but my JAVA_HOME was pointed JDK 1.6. So I removed all openjdk packages from Synaptic in Ubuntu and  after that all worked fine.

Similar problem is described here.


Friday, August 3, 2012

Quick Notes application for Ubuntu 12.04 with Unity support


I used gnote for a while - it is good but it lacks a Unity support in Ubuntu 12.04 that is inconvenience.
Googling over internet  .... point to interesting application ZIM (http://zim-wiki.org/)

Just install "sudo apt-get install zim",
launch it and Menu Edit -> Preferences ... tab "Plugin" , enable  plugin "Tray Icon".

video tutorial

Beware of bug that make it slow to open: https://bugs.launchpad.net/zim/+bug/995919
You need to install latest version from ppa:
sudo add-apt-repository ppa:jaap.karssenberg/zim
sudo apt-get update
sudo apt-get install zim

To launch Zim notes on Ubuntu start-up, in tray, create shell script zim-in-tray.
echo -e '#!/usr/bin/bash\nzim --plugin trayicon' > zim-in-tray
chmod ugo+rx zim-in-tray

Open "Startup Applications" from Dash, create new launch configuration and point to zim-in-tray.

Saturday, May 26, 2012

Hot keys for ubuntu dash that helps a lot

Unity has more then just pretty view panel, mouse more and more become useless stuff for day to day rutines:
http://askubuntu.com/questions/28086/what-are-unitys-keyboard-and-mouse-shortcuts

My hints:
This helps me to shutdown Laptop without mouse usage -  press Alt , type "shutdown".
switching to application by index - Supper + <NUMBER>.
long-press the Super key - shows hints for hotkeys,

Wednesday, February 8, 2012

Gnome shell extensions for Ubuntu 11.10

Source of wizdom part1, part 2,

1. Install repository:

 sudo add-apt-repository ppa:webupd8team/gnome3
 sudo apt-get update

2. Install tool for extensions management
sudo apt-get install gnome-tweak-tool

3. Install all plugins, do not forget to switch them on in gnome-tweak-tool at "Shell Extension" tab, and LogOut after that
sudo apt-get install gnome-shell-extensions-alternative-status-menu  - to show Power Off in menu
sudo apt-get install gnome-shell-extensions-user-theme                     - different themes for gnome
sudo apt-get install gnome-shell-extensions-apps-menu
sudo apt-get install gnome-shell-extensions-drive-menu
sudo apt-get install gnome-shell-extensions-places-menu
sudo apt-get install gnome-shell-extensions-native-window-placement  - make thumbs be in proporsion to window size
sudo apt-get install gnome-shell-extensions-gajim
sudo apt-get install gnome-shell-extensions-gpaste - buffer manager
sudo apt-get install gnome-shell-system-monitor
sudo apt-get install gnome-shell-extensions-windowoverlay-icons  - overlay application icon to tumbnail
sudo apt-get install gnome-shell-extensions-weather - weather.yahoo.com, copy RSS link, and put city code to settings

4. how to disable universal access settings icon


5. additionally remove Bluetooth icon, open the same file
sudo gedit /usr/share/gnome-shell/js/ui/panel.js
, and comment out

/*if (Config.HAVE_BLUETOOTH)
    STANDARD_STATUS_AREA_SHELL_IMPLEMENTATION['bluetooth'] = imports.ui.status.bluetooth.Indicator;
*/

Result:

Friday, December 23, 2011

GoldenDict is not starting due to "Another GoldenDict copy started already."

smth happen...
Golden dict could not be started. Launch from menu will not open anything.
Launch from terminal:
rivanov@rivanov-desktop:~$ goldendict
Another GoldenDict copy started already.

There is no goldendict process.

Solution:
rm -f ~/.goldendict/pid