LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Blogs > xri
User Name
Password

Notices

Software Different programs and tricks to use them.
Old

How to replace letters with carriage returns on VIM

Posted 10-27-2010 at 12:35 PM by xri
Updated 10-27-2010 at 12:38 PM by xri (To add categories)

Problem:
A text file coms with a list comes with the items separated by commas, like:
Quote:
a,b,c....
We need them in column form, like:
Quote:
a
b
c
Solution:
:%s/,/{[Ctrl+v], then [Enter]}/g

Notes:
  1. The % before s, indicates that the range where the replacement is to take place is the whole document.
  2. Ctrl and v are pressed simultaneously, and then the character we mean vim to use (in this case Return).
  3. The g at the end of the
...
xri
Member
Posted in Software
Views 953 Comments 0 xri is offline
Old

Mounting truecrypt volumes on an sshfs mount

Posted 02-16-2010 at 09:53 PM by xri
Updated 02-16-2010 at 09:54 PM by xri

The task:
To mount a remote truecrypt volume locally, using sshfs.

The problem:
truecrypt /home/xri/sshfs-mounted-remote-directory/remote-truecrypt-vol /media/truecrypt1
gives an error message with "permission denied"

The solution:
a) Edit /etc/fuse.conf (or create it), and make sure it has this line:
user_allow_other
b) When mounting the sshfs remote directory, use this option
-o allow_other

...
xri
Member
Posted in Software
Views 2745 Comments 0 xri is offline
Old

Careful with tor and Konqueror

Posted 04-11-2009 at 04:43 PM by xri

After playing with tor + privoxy + tork with Konqueror, y finally decided to remove all three privacy programs and go back to regular use of Konqueror.

Prior to uninstall tork, I reconfigured Konqueror for use without tor.

However, after removing the programs I found that accessing some SSL sites was not possible. Finding information about that was not easy this time.

The browsing settings on Kcontrol had cookies, cache and java disabled. The privacy...
xri
Member
Posted in Software
Views 3001 Comments 0 xri is offline

  



All times are GMT -5. The time now is 11:27 AM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration