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

cat
Java
JWM
ldd
pre
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/java
https://www.oracle.com/downloads/
 https://www.oracle.com/technetwork/java/javase/downloads/index.html
  https://www.oracle.com/technetwork/java/javase/archive-139210.html
https://jdk.java.net/
https://openjdk.java.net/
http://www.javatester.org/
https://en.wikipedia.org/wiki/Java_%28programming_language%29
https://en.wikipedia.org/wiki/Java_Development_Kit
https://en.wikipedia.org/wiki/Java_virtual_machine#Java_Runtime_Environment

http://wikka.puppylinux.com/Java
http://wikka.puppylinux.com/JavaRuntimeEnvironment

http://murga-linux.com/puppy/viewtopic.php?t=62939
http://murga-linux.com/puppy/viewtopic.php?t=67371
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://murga-linux.com/puppy/viewtopic.php?t=101592
 get_java at woof-CE


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

  download recent java packages at https://www.java.com/ or https://www.oracle.com/technetwork/java/javase/downloads/index.html
  download archived java packages at https://www.oracle.com/technetwork/java/javase/archive-139210.html
    archived versions require creating an account at https://www.oracle.com/

  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



---
pre
---

pre as it relates to html
http://smokey01.com/newsletters/2018/January/0013-PuppyLinuxNewsletter-January2018.html#14



-----
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.
https://web.archive.org/save
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.html#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 2021 Apr 27
------------------