Monday, June 15, 2015

Add Open Folder as Root to PCMan File Manager's context menu

Create the directory ~/.local/share/file-manager/actions

 In that folder, create root.desktop (not pcman_root.desktop or anything else).

leafpad ~/.local/share/file-manager/actions/root.desktop

Add this content:

[Desktop Entry]
Tooltip=Open Folder As Root
Name=Open Folder As Root

[X-Action-Profile profile-zero]
Exec=/usr/bin/gksu /usr/bin/pcmanfm %u
Name=Default profile
Save the file.

Restart pcmanfm:

killall pcmanfm


Tuesday, May 26, 2015

Monday, May 25, 2015

Set Xterm font size

Create or edit this file:

Add this:

xterm*font:     *-fixed-*-*-*-18-*

(or other font size)

Then do

xrdb -merge ~/.Xresources

Friday, May 22, 2015

Record playing sounds with Audacity

  1. If not already installed, add PulseAudio Volume Control (pavucontrol) to your system. This is usually available in the distribution's repository.
  2. Ensure that PulseAudio is running. In Audacity's Device Toolbar, set the Host to ALSA and the input device to pulse.
    • On systems where PulseAudio is the default sound system the input device may be set to default.
    • The output may be set to pulse or to any available soundcard.
  3. Ensure that "Software Playthrough" is not enabled in the Transport Menu then left-click on the Recording Meter to turn monitoring on.
  4. Open PulseAudio Volume Control and choose the "Recording" tab.
  5. In the "Capture from" dropdown, select the "Monitor" option of the playback device used by the application you want to record from, as shown below:
  6. Launch the application that you wish to record and begin playback.
  7. In the "Recording" tab of PulseAudio Volume Control, drag the volume sliders so that the input level in Audacity's Recording Meter is to left of 0 dB (-6 dB is a good level to aim for).
    • The playback level of the application being recorded will also affect the level of the recording. Use the "Playback" tab in PulseAudio Volume Control or the volume control in the application to adjust the output level.
  8. When the input level has been correctly adjusted, press the Record button in Audacity .

Audacity should look like so:

The PulseAudio Volume Control should see Audacity:

Thursday, May 21, 2015

Record audio and split

To record, one can use Audio Recorder or Audacity. To split the recorded audio, import it in Audacity, and after identifying the separation between two tracks, click there and then Ctrl-B (that is 'Tracks-Add label at selection').

Then,  Ctrl-Shift-L (File-Export multiple).

Saturday, May 16, 2015

Set cursor theme in terminal

sudo update-alternatives --config x-cursor-theme

Also set your theme in /usr/share/icons/default/index.theme