gnu/linux

How to resolve keybinding conflict between Eclipse and XFCE

XFCE

P. The default Eclipse keybinding comes into conflict with XFCE default keybinding, Eclipse use CTRL + ALT + ↑ and CTRL + ALT + ↓ to duplicate and copy text lines respectively, while XFCE used them to change from a higher to a lower workspace or vice versa. How to change this behavior?

R. To resolve the situation above you can follow one of the following procedures

Procedure 1 – change the shortcuts in the Eclipse configuration

Change keybinding

Windows->Preferences->General->Keys
[caption id="attachment_1261" align="alignleft" width="630"]Change keybinding in Eclipse Eclipse, change the keybinding for copy and paste actions[/caption]

Eclipse, change the keybinding for duplicate and copy actions

[caption id="attachment_1262" align="alignleft" width="630"]Eclipse, change the keybinding for copy and paste actions Eclipse, change the keybinding for copy and paste actions[/caption]

Procedure 2 – Change the XFCE keybinding for change a workspace to another actions

Xfce Menu->Settings->Windows manager
[caption id="attachment_1260" align="alignleft" width="630"]Keybinding in XFCE XFCE keybinding settings[/caption]

Mount ISO, BIN and NRG images

GNU/Linuxfuseiso is an utility that allows you to mount ISO, BIN and NRG images in the userspace file system then you can browse them with any file manager such as any directory can be inspected.

Install fuseiso

Debian/Ubuntu and derivatives

$ sudo apt-get install fuseiso

CentOS/RHEL
Enable rpmforge

# yum install fuse-iso

Use fuseiso

$ fuseiso -p my.iso access-point

access-point = DIR where you will mount the image

Unpack .iso with 7-Zip

See 7-Zip – An excellent archive compressor / decompressor

Further reading

– man fuseiso

7-Zip – An excellent archive compressor / decompressor

7-zip is a file compressor with a high ratio of compression. The main features are:

  • High ratio of compression (LZMA algorithm)
  • Compress / decompress: 7z, ZIP, GZIP, BZIP2 and TAR
  • Unzip: ARJ, CAB, CHM, CPIO, DEB, DMG, HFS, ISO, LZH, LZMA, MSI, NSIS, RAR, RPM, UDF, WIM, XAR and Z
  • Robust encryption: AES-256 for 7z and ZIP formats
  • Allows to create self-extracting archives (SFX)
  • Command line version
  • Integration with File Roller, XArchiver and XArchive
  • Multi-platform
  • Multi-language

Mount remote directory using SSHFS

GNU/Linux
SSHFS (Secure SHell FileSystem) is a file system for GNU/Linux, BSD and other UNIX like OS that allows you to mount a remote directory in userspace (filesystem userspace) making use of FUSE and ssh. Once you mounted the remote directory you can do any operation over it as if it were a local DIR.

Activate mod_filter in Apache on CentOS


When you install Apache HTTP on CentOS, mod_filter is not enabled by default then if you try to use some of its directives an error like this is raised: "Invalid command 'FilterDeclare', perhaps misspelled or defined by a module not included in the server configuration", so to resolve the above error is enough to add the following line to the httpd.conf.

Change the state of package from automatic to manual

Debian GNU/Linux
I have installed the basic packages of the XFCE desktop, by typing:

$ sudo apt-get install xfce4

The above command installs some packages that I do not use as: Orage so I typed:

$ sudo apt-get purge orage
 ...
 The following packages will be REMOVED:
  orage* xfce4*
 ...
 Do you want to continue[Y/n]? y

P. Now every time I try to install an application apt-get show a message that there are packages that were installed automatically, and which are not required but they are essential packages to keep my desktop running correctly. How to resolve this?

R. You must change the state of those packages from automatic installation to manual installation by typing:

$ sudo apt-mark manual paquete1 paquete2  ...
Further reading

– man apt-mark