Context menu in Mint file manager

You very easily add a context menu to the Nemo file manager in Linux Mint, which can be very convenient, if you must carry on some repetitive task on files.

If you are using the default Caja flie manager, it still may be worth to install Nemo, even if you will use it just for specific tasks.

  • Go to ~/.local/share/nemo/actions.
  • Create text file rotate.nemo_action
  • Add the following content:
[Nemo Action]
Name=Rotate CC 90o
Comment=Losslessly rotate image counter clockwise 90o
Quote=double
Exec=exiftran -i -2 %F
Selection = any
Extensions=jpg;jpeg;JPG;JPEG;

Now just right-click a file in Nemo file manager and select the new command from the context menu (This particular action will rotate a JPEG image file losslessly by 90 degrees counterclockwise).

 


CUPS – Unable to send data to printer

You can’t  print. In CUPS Web interface (port 631 of your print server) you see a message:

Paused – “Unable to send data to printer.”

Try to solve it like this:

  • Go to Printers
  • Click your printer name
  • Select Maintenance
  • Select Resume Printer

File empty in Android Studio

After software malfunction and reboot you open your project in Android Studio just to discover that the source file you had been working on is empty and all your code is gone.

Don’t panic!

On the main menu of the application go to: VCS -> Local History -> Show History .

You will find all the earlier versions of your code there.


Useful shortcuts in Mac OS X Preview image viewer

Go full screen: ^+⌘+F

Zoom into image: ⌘+”+”

Zoom out: ⌘+”-”

Pan with mouse: Keep pressed ⌥+space, cursor turns into hand, grab with LMB and move the mouse.


Re-mount disk read only in Mac OS X

You have connected an external disk. You want to re-mount it read-only.

What you do is you list the disks, pick the partition you are interested in, unmount it and then mount again with readOnly option:

  • diskutil list
  • diskutil unmount /dev/disk2s1
  • diskutil mount readOnly /dev/disk2s1

Copy file name to command line in mc in Mac OS X

In Mac OS X the shortcut Alt+Enter, which is used to copy file name from file list pane to command line, does not work.

Instead use Esc+Enter.


Calendar Mac OS X “Failed to authenticate with Google”

You are trying to set up your Mac OS X Calendar to work with your Google account. You know it is possible, because you have done it before, but this time it just does not work. Everything seems to be correct, but whatever you do, you keep getting the message:

Authentication failed

Failed to authenticate with Google

One special reason for this may be that if you are using some kind of a personal firewall, e.g. TCPBlock, it is blocking attempts of the Calendar application to reach the Google server.

Try to disable the firewall for a short while and see if Calendar begins to work as it should. If it does, adjust your firewall settings.

 

 


Follow

Get every new post delivered to your Inbox.

Join 25 other followers