Linux Information -----------------
Linux Information
-----------------

cat
Java
JWM
ldd
scrot
split
xev
X.Org





---------
Resources
---------

linfo.org/
linux.die.net/
linuxcommand.org/
wiki.linuxquestions.org/wiki/Main_Page
lowfatlinux.com/




---
cat
---

For help with cat, use terminal command:
# cat --help

http://linfo.org/cat.html
linux.die.net/man/1/cat
lowfatlinux.com/linux-join-files-cat.html


   Example commands:

[command_3]:
# cat puppies-431.1-main-Xserver.iso.part00 puppies-431.1-main-Xserver.iso.part01 > puppies-431.1-main-Xserver.iso

[command_4]:
# cat racy-5.5.iso.part00 racy-5.5.iso.part01 > racy-5.5.iso

[command_6]:
# cat wine-3.15_v1.2.pet.part00 wine-3.15_v1.2.pet.part01 > wine-3.15_v1.2.pet



----
Java
----

https://www.java.com/
https://www.oracle.com/index.html
http://www.oracle.com/technetwork/java/javase/overview/index.html
http://openjdk.java.net/
http://www.javatester.org/
https://en.wikipedia.org/wiki/Java_%28programming_language%29
http://www.puppylinux.org/wikka/Java
http://www.puppylinux.org/wikka/JavaRuntimeEnvironment

http://murga-linux.com/puppy/viewtopic.php?t=77020
http://murga-linux.com/puppy/viewtopic.php?p=871254#871254
http://murga-linux.com/puppy/viewtopic.php?t=91560
  http://murga-linux.com/puppy/viewtopic.php?p=854490#854490
  http://www.smokey01.com/gjuhasz/packages/

There are several ways to install Java.
Here is one way:

  download a java package.
  example package 'jre-8u131-linux-i586.tar.gz'

  copy java package to 'usr' directory
  # cp jre-8u131-linux-i586.tar.gz /usr/

  change directory to 'usr'
  # cd /usr/

  unpack java package
  # tar zxvf jre-8u131-linux-i586.tar.gz

  remove java package
  # rm jre-8u131-linux-i586.tar.gz

  move (rename) 'jre1.8.0_131' directory to 'java' directory
  # mv jre1.8.0_131 java


  for java browser plugin:

  change directory
  # cd /root/.mozilla/

  if directory 'plugins' fails to exist, make directory.
  # mkdir plugins

  create symlink in 'plugins' directory that points to the appropriate file in the java directory.
  # ln -s /usr/java/lib/i386/libnpjp2.so ~/.mozilla/plugins/libnpjp2.so

  add java to your system PATH:
  open file '/etc/profile'
  add to PATH line (without quotes) ":/usr/java/bin/"

  possibly reboot computer or restart graphical server for PATH changes to take effect.





---
JWM
---

JWM (Joe's Window Manager)
joewing.net/projects/jwm/



---
ldd
---

http://linux.die.net/man/1/ldd
https://en.wikipedia.org/wiki/Ldd_%28Unix%29




-----
scrot
-----

One tool for taking screenshots is 'scrot'.
There are graphical user interfaces below that utilize command-line scrot.

For help with scrot, use terminal command:
# scrot --help

https://en.wikipedia.org/wiki/Scrot
linuxbrit.co.uk/scrot (archived)
gposil.com/pets.htm (archived)
puppylover.netsons.org/dokupuppy/programs:screenshot (archived)



Forum:

Now you can use the Print Screen Key | page
SimpleSHOT | page
scrot-x | page
PupSnap-2.5.1 | page




create script file "scrot.sh"
[code]
#!/bin/sh
scrot '%Y-%m%b-%d-%T.jpg' -e 'mv $f /mnt/home/screenshots/'
[/code]

place "scrot.sh" in /root/my-applications/bin/



If you want to use a keyboard key(s) to take a screenshot, instead of typing
"scrot.sh" into a terminal, then adding a line in a config file is one way of doing that.

Window Manager: JWM
Open file /root/.jwm/jwmrc-personal
Remove any references to keycode="111". If left in, they will interefere with
  the new references you put in.

For the "Prt Scrn" key to launch "scrot.sh"
  add: <Key keycode="111">exec:scrot.sh</Key>
For "Ctrl" + "Prt Scrn" keys to launch "scrot.sh"
  add: <Key mask="C" keycode="111">exec:scrot.sh</Key>

Those are just two possibilities.
[https://joewing.net/projects/jwm/config.shtml#keys]




Find the keycodes with xev.

extract contents of "shot-0.1.1.pet" and "shot-0.1.2.pet" for other scripts. [link]







-----
split
-----

For help with split, use terminal command:
# split --help

linux.die.net/man/1/split
en.wikipedia.org/wiki/Split_%28Unix%29

  Example commands:

[command_1]:
# split -b57m -d puppies-431.1-main-Xserver.iso puppies-431.1-main-Xserver.iso.part

[command_2]:
# split --number=2 --numeric-suffixes racy-5.5.iso racy-5.5.iso.part

[command_5]:
# split --number=2 --numeric-suffixes wine-3.15_v1.2.pet wine-3.15_v1.2.pet.part




---
xev
---

Find the keycodes for keyboard keys.

x.org/wiki/UserDocumentation/GettingStarted/
x.org/archive/X11R7.7/doc/man/man1/xev.1.xhtml
wiki.archlinux.org/index.php/extra_keyboard_keys#In_Xorg
linux.die.net/man/1/xev
wiki.linuxquestions.org/wiki/Xev
linuxcommand.org/man_pages/xev1.html




-----
X.Org
-----

x.org/wiki/
x.org/wiki/ModularizationProposal/
en.wikipedia.org/wiki/X_Window_System
en.wikipedia.org/wiki/X.Org_Server









------------------
Edited 2018 Sep 11
------------------