LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

Gruesome PDF to JPG converter script

Posted 03-28-2014 at 08:57 PM by the dsc (linux-related notes)
Updated 04-10-2014 at 12:11 PM by the dsc (fixing a bug)
Tags pdf

Requires gs, imagemagick, jpegoptim, cpulimit, and "coolloop" (or maybe not).

Has no options or anything.

You run it like:

howeveryounameit.sh appropriate-filename portable-document-file-to-convert.pdf

The result will be:

appropriate-filename-001.jpg, appropriate-filename-002.jpg and so on.

So you don't add numbers or extension on the first parameter ($1). I guess it may not deal well with spaces...
Member
Posted in Uncategorized
Views 237 Comments 0 the dsc is offline
Old

Ugly script to sleep "accordingly" to CPU temperature, on loops

Posted 03-28-2014 at 08:40 PM by the dsc (linux-related notes)

Sometimes you have a script or one-liner loop thing that may put quite a heavy load on the CPU, that can be at least bothersome due to the noise of the fan, or somewhat worrisome if the temperature approaches or goes beyond what the processor specifications recommend, and yet the system doesn't do anything by itself to avoid it.

One could simply add some arbitrary, constant sleep time within the loop, but that will likely make the whole thing slower than it needs to be. If within...
Member
Posted in Uncategorized
Views 170 Comments 0 the dsc is offline
Old

converting all Lower chareacters to Upper and vice versa using sed

Posted 03-27-2014 at 05:30 AM by dinakumar12

sed -i 's/\(.*\)/\U\1/' samplefile #This converts the contents of samplefile (filename) from Lower to upper


sed -i 's/\(.*\)/\L\1/' samplefile #This converts the contents of samplefile (filename) from Upper to Lower
Member
Posted in Uncategorized
Views 184 Comments 0 dinakumar12 is offline
Old

SlackEX 14.1 :: build 140326

Posted 03-26-2014 at 02:35 PM by exton (Exton's Blog)
Updated 03-27-2014 at 02:15 AM by exton

New features in version 140326 of SlackEX
SlackEX build 140326 comes as a ZIP-file for direct installation to an USB stick. I have replaced kernel 3.12.6-x86_64-exton with kernel 3.13.7-x86_64-exton with support for “everything”. All packages are upgraded to the latest version by now (140326). Study the full package LIST.

Install SlackEX to hard drive
Use this INSTRUCTION . You can (if you want) use Grub2 (new GRUB) as boot loader. (Slackware original still uses LILO)....
ExTiX Admin
Posted in Uncategorized
Views 193 Comments 0 exton is offline
Old

CruxEX 3.0 64 bit :: build 140321

Posted 03-22-2014 at 03:08 AM by exton (Exton's Blog)
Updated 03-22-2014 at 08:03 AM by exton

CruxEX 3.0 2014 64bit Linux Live USB is based on CRUX 3.0 (latest version, released 130119), which is all Linux enthusiasts/nerds favorite OS. (CRUX 3.0 is a lightweight Linux distribution for the x86-64 architecture targeted at experienced Linux users). CruxEX 3.0 2014 uses the LXDE Desktop environment. I have replaced the original CRUX kernel 3.6.11 with “my” special kernel 3.13.6-cruxex, with support for “extra everything”.

Software etc
Kernel 3.13.6 is the latest available...
ExTiX Admin
Views 199 Comments 0 exton is offline

  



All times are GMT -5. The time now is 01:54 PM.

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