Tag Archives: extension

Hide Files And Folders In Nemo Or Nautilus Without Renaming With This Extension

I recently stumbled upon Nautilus Hide, an extension that adds a context menu option to hide / unhide files or folders without renaming them, and I decided to port it to Nemo file manager.
The extension hides files or folders without renaming them (without adding a dot prefix or a tilde suffix), by adding them to a file called “.hidden”, which can be used by most major file managers to hide files.

This can be done manually (I wrote an article about it a while back) and is supported by most file managers. This extension is for those that need to do this frequently or set up Ubuntu / Linux Mint for someone inexperienced who wants such a feature.

To use this extension to hide a file or folder, simply right click the file/folder and select “Hide file”:

Nemo Hide

To unhide a file or folder, press Ctrl + H (this displays hidden files and folders), then right click the file you’ve previously hidden, and select “Unhide”. Then press Ctrl + H again to hide hidden files and folders.
This obviously only works for files hidden by adding them to a file called “.hidden”, and it doesn’t work with files that have a dot prefix or a tilde suffix.

Install Nemo Hide / Nautilus Hide

Nemo Hide is available in the Nemo 2.x and Nemo 3.x (with Unity patches) WebUpd8 PPAs. If you use Nemo from any of these two PPAs, simply run the commands below to install Nemo Hide:
sudo apt update
sudo apt install nemo-hide

The WebUpd8 Nemo PPAs are not compatible with Linux Mint (because the packages can overwrite Nemo for Cinnamon with Nemo for Unity) or Nemo from the official Ubuntu repositories, but this extension is. So if you use Linux Mint or Nemo from the official Ubuntu repositories, you can grab the Nemo Hide deb (or source) from HERE.

Once installed, restart Nemo:

nemo -q

The Nautilus Hide extension is available in the official Ubuntu repositories so if you use Nautilus, install it using the command below:

sudo apt install nautilus-hide

Once installed, restart Nautilus:

nautilus -q

Note that the Nautilus Hide version from the Ubuntu repositories doesn’t automatically refresh folders, so after hiding a file, you’ll need to refresh the folder by pressing F5. The latest Nautilus Hide does this automatically.

Read More

Copy And Paste Images From The Clipboard In Nautilus And Nemo

If you copy an image in Nautilus or Nemo, you can’t directly paste it in an image editor, like GIMP, because the file is copied and not the image itself.
Here’s where the Nautilus (and Nemo) CopyPaste Images extension comes in. This small extension, created by Lorenzo from atareao.es, allows you to copy and paste images as… images, and not as files.

The extension doesn’t change the way copy / paste works and instead, it adds an extra context menu option which allows you to copy the image:

Nautilus

Nemo

When selecting CopyPaste Images > Copy image, the actual image is copied (ready to be pasted in an image editor for instance) and not the file.

In the same way, if you have an actual image on your clipboard and not just an image file, you can select CopyPaste Images > Paste image to create a new file with the clipboard image, or directly paste the image in an app such as GIMP.

Install CopyPaste Images extension for Nautilus or Nemo

[Nautilus] Install CopyPaste Images extension for Nautilus by using the Atareao Nautilus Extensions PPA. Add the PPA, install the extension in Ubuntu 14.04 and 15.10, and restart Nautilus, using the following commands:
sudo add-apt-repository ppa:atareao/nautilus-extensions
sudo apt-get update
sudo apt-get install nautilus-copypaste-images
nautilus -q

If you don’t want to add the PPA, download the deb (or the source) from HERE.

[Nemo] Atareao has a PPA for Nemo extensions but it doesn’t provide the CopyPaste Images extension for Nemo yet. Until the PPA is updated, you can install this extension for Nemo by using the WebUpd8 Nemo PPA (do not add the PPA if you use Linux Mint – I’ll post a deb download below). To add the PPA, install the Nemo CopyPaste Images extension and restart Nemo, use the commands below:
sudo add-apt-repository ppa:webupd8team/nemo
sudo apt-get update
sudo apt-get install nemo-copypaste-images
nemo -q

If you don’t want to add the PPA, download the extension (either as a deb or source) from HERE.

thanks to atareao.es!

Read More

Polycom phones cannot dial anything past 211 when our extensions go to 2111, 2112, 2113 and so on.

Polycom phones cannot dial anything past 211 when our extensions go to 2111, 2112, 2113 and so on. The problem ended up being the digit map…

At one of our customer’s sites they have extensions in the 2110-2120 range. Everything seemed fine when we installed the PBX. They started dialing 2111 2112 2113 2114 and they would get all circuits are busy. The PBX was only seeing 211.

Here is what I was seeing from Asterisk.

[Jul 11 10:09:47] VERBOSE[3220] logger.c: == Spawn extension (from-internal, 211, 4) exited non-zero on ‘SIP/2155-0901
[Jul 11 11:11:06] VERBOSE[3367] logger.c: — Executing [211@from-internal:1] ResetCDR(“SIP/2155-b7881038”, “”) in ne
[Jul 11 11:11:06] VERBOSE[3367] logger.c: — Executing [211@from-internal:2] NoCDR(“SIP/2155-b7881038”, “”) in new s

The Polycom digitmap was the problem. We upgraded our polycoms to the latest firmware SoundPoint IP, SoundStation IP and Polycom VVX SIP 3.2.5 [Combined] we have polycom 330, 650, 600, 4000, and 6000. Here is the default digitmap for this firmware version.

The problem was this [2-9]11 for dialing like 411 and 911. I had to change it to [3-9]11 which fixed the problem. I was able to figure out the problem by reading this page http://apetec.com/voip/Polycom-DialPlan.htm

At the bottom of the page it has the following which helped me figure it out.

It means the following:

[2-9]11: 911 rule: 211, 311, 411, 511, 611, 711, 811, 911 are dialled immediately
0T: Local operator rule: After dialing “0” the phone waits T seconds and then completes the call
100: Auto-attendant default extension
101: Voicemail default extension
011xxx.T: International rule without prefix
9011xxx.T: International rule with prefix
1[2-9]xxxxxxxxx: LD rule without prefix
91[2-9]xxxxxxxxx: LD rule with prefix
9[2-9]xxxxxx: Local call with prefix
*xx: 2-digit star codes
*xx[2-7]xxx: Enables immediate dial for services like intercom/paging and directed call pickup.
*4[2-7]xxx: Retrieve call from park (if park slot is x digit extension)
[1-7]xx: A regular 3 digit extension that does not start with 9 or 8 is dialed immediately
[2-7]xx: A regular 3 digit extension that does not start with 9 or 8 or 1 is dialed immediately
[2-7]xxx: A regular 4 digit extension that does not start with 9 or 8 or 1 is dialed immediately
[8]xxx: A 3 digit extension prefixed with an 8 (routes calls directly to voicemail of extension xxx)
[8]xxxx: A 4 digit extension prefixed with an 8 (routes calls directly to voicemail of extension xxxx)

Here is what I saw after I fixed the issue.

[Jul 11 16:16:15] VERBOSE[4448] logger.c: — Executing [2118@from-internal:1] Macro(“SIP/2155-090c0ba0”, “exten-vm|2
[Jul 11 16:16:15] VERBOSE[4448] logger.c: — Executing [s@macro-user-callerid:13] NoOp(“SIP/2155-090c0ba0”, “TTL: A
[Jul 11 16:16:15] VERBOSE[4448] logger.c: — Executing [s@macro-exten-vm:3] Set(“SIP/2155-090c0ba0”, “VMBOX=2118”) i
[Jul 11 16:16:15] VERBOSE[4448] logger.c: — Executing [s@macro-exten-vm:4] Set(“SIP/2155-090c0ba0”, “EXTTOCALL=2118
[Jul 11 16:16:15] VERBOSE[4448] logger.c: — Executing [s@macro-exten-vm:8] Macro(“SIP/2155-090c0ba0”, “record-enabl
[Jul 11 16:16:15] VERBOSE[4448] logger.c: — Executing [s@macro-exten-vm:9] Macro(“SIP/2155-090c0ba0”, “dial|20|tr|2
[Jul 11 16:16:15] VERBOSE[4448] logger.c: — dialparties.agi: dbset CALLTRACE/2118 to 2155
[Jul 11 16:16:15] VERBOSE[4448] logger.c: — Executing [s@macro-dial:7] Dial(“SIP/2155-090c0ba0”, “SIP/2118|20|tr”