Friday, April 25, 2014

Browing unix directories and editing files using Notepad++

Suppose you want to copy a text from your unix system to windows system and you dont have a terminal opened in windows for the unix box, then the only way is to write data to a temp file in unix system and open that file in windows using winscp. Making changes to that file from windows involves a bit of work.

We can use our favorite Notepad++ to do this job, where we can browse, open and edit the files in the same window.

1. Open Notepad++
2. In Menu, choose "Plugins" --> NppFTP --> Show NppFTP Window
3. It will open a window on the right side of notepad++ window.
4. Click on Settings icon, then select "Profile Settings"


5.  Click on "Add New" to define a new profile for a unix system. Give a name to the profile.


6. Select the created profile and give Hostname, Username, Password values.
Select "Ask for password" checkbox, if you want to enter the password everytime you make a change to remote file.
You can give the initial directory to be shown as well, when the connection is established.
7. Click Close
8. Now click on "(Dis)connect" icon and select the created profile, to browse that unix directory.




Now you can open any file directly in notepad and edit it.



Tuesday, April 15, 2014

Recording desktop screen using vlc media player

It is very easy to record the screen using vlc.

Steps:

1. Open VLC media player

2. Select "Media" in file menu, and then click "Stream..."

3. Select 4th tab "Capture Device"

4. Select "Capture Mode" as "Desktop"

5. By default "Desired frame rate for capture." will be "1.00f/s", i.e., it takes one screenshot for one second. So if you do an activity for 1 minute, your video will be made up of 60 screenshots.
For better view of video, select the frame rate as 10.00f/s

6. In the bottom right of window, you can see an option called "Stream". Click the down arrow available beside "Stream" option.



7. Select "Convert"

8. In the "Destination file" field, browser (or) give full file path to be created

9. Click on "Start"



10. Now your video recording will be started.
Minimize the vlc player and do whatever activities you want.

11. Once you are done with the recording, close the VLC media player.


12. Now you can see that a media file will be created with the specified name, which is your recorded video.

Good luck...