1. Install poppler-utils
2. To extract original embedded images:
$ pdfimages -j <file.pdf> <to_dir>
3. To extract text:
$ pdftotext -j <file.pdf>
1. Install poppler-utils
2. To extract original embedded images:
$ pdfimages -j <file.pdf> <to_dir>
3. To extract text:
$ pdftotext -j <file.pdf>
OBSERVATION: It allows me to change it, but after a while, it’ll revert back to a particular ringtone, notification sound, or “Unknown ringtone”. No matter which sound I picked, be it from internal storage or SD, it’ll always revert back after a while. It’s like the ringtone is stuck!
SOLUTION: Some profile changing app that you’ve previously set up could be messing with the sound settings in the background, e.g. Llama, Tasker, etc. Check your triggers and actions for these apps, or just disable them completely for a while. See if the problem comes back. If not, bingo, you’ve found the culprit.
After upgrading Ubuntu 12.04 (Precise Pangolin) to 12.10 (Quantal Quetzal), the computer started playing sound through both the internal built-in speaker and external jacked in speakers. To mute the internal speaker, run:
[shell]/usr/bin/amixer -c 0 sset ‘Auto-Mute Mode’ ‘Line Out+Speaker'[/shell]
Just make sure “Auto-Mute Mode” is not set to “Disabled”.
Many companies try very hard to avoid using open source solutions in Singapore because the general impression is that support is poor.
A quick googling suggests that these vendors do provide professional support in Singapore:
Do you know of other vendors in this business? Let me know so that I can grow this list. When it’s substantial, maybe more Singapore companies will be willing to try open source solutions. 🙂
Venerable Thubten Chodron shared some useful advice about how young Buddhist leaders can benefit others and themselves in a recent dialogue with youths.
Organised and compiled by Ow Yeong Wai Kit:
‘crontab -e’ kept telling me ‘crontab: no changes made to crontab’ even though I’ve made changes. When I run ‘crontab -l’ to check, my changes were not saved.
Turned out it’s due to my environment variable:
export EDITOR=/usr/bin/gvim
Changing it to vim solves the problem:
export EDITOR=/usr/bin/vim
Google+ Events 🙂
I had a dual-booting laptop with Linux Mint and Windows XP on it. After deleting the Linux Mint partitions, it failed to boot into XP because grub can no longer find the MBR. This was the error message:
error: no such partition grub rescue>
Solution:
Boot into SystemRescueCD and run this command to create a new MBR:
lilo -M /dev/sda mbr
Note: My XP resides in /dev/sda.
I thought this command should show me which repo the package ‘htop’ belongs to, but I was wrong:
[root@server ~]# yum info htop
Loaded plugins: rhnplugin, security
Installed Packages
Name : htop
Arch : x86_64
Version : 0.8.3
Release : 1.el5
Size : 136 k
Repo : installed
Summary : Interactive process viewer
URL : http://htop.sourceforge.net/
License : GPL+
Description: htop is an interactive text-mode process viewer for...
Notice that it merely indicates ‘installed’ for the ‘Repo’ field? Not very helpful here. I wonder why yum works this way.
To find out which repo ‘htop’ comes from, use this command instead:
[root@server ~]# yum provides `which htop` Loaded plugins: rhnplugin, security htop-0.8.3-1.el5.x86_64 : Interactive process viewer Repo : epel Matched from: Filename : /usr/bin/htop htop-0.8.3-1.el5.x86_64 : Interactive process viewer Repo : installed Matched from: Other : Provides-match: /usr/bin/htop
See ‘epel’ there? Bingo!