User Tools

Site Tools


cross_platform:cross_platform

  

tee is a command in command-line interpreters (shells) using standard streams which reads standard input and writes it to both standard output and one or more files, effectively duplicating its input. It is primarily used in conjunction with pipes and filters. The command is named after the T-splitter used in plumbing.

When presented with More pager, spacebar moves forward a page. Bash version q quits. Microsoft DOS more command: P opens a prompt for the number of lines to next display, and you can Quit.


whoami

It is a concatenation of the words “Who am I?” and prints the effective username of the current user when invoked. It has the same effect as the Unix command id -un.

Java

  • GNU/Linux: java -version
  • I do prefer to have Java installed on my Win7 netbook, but whenever I've allowed it to update itself, it subsequently fires up my default browser with Verify Java and Find Out-of-Date Versions, which, if I agree, wants to install a Chrome plug-in, which I'm averse to, so I paste that link into Opera, and allow the offered Applet to run from there.

OpenJDK https://en.wikipedia.org/wiki/OpenJDK

(Open Java Development Kit) is a free and open source implementation of the Java Platform, Standard Edition (Java SE). It is the result of an effort Sun Microsystems began in 2006. The implementation is licensed under the GNU General Public License (GNU GPL) with a linking exception. Were it not for the GPL linking exception, components that linked to the Java class library would be subject to the terms of the GPL license. OpenJDK is the official Java SE 7 reference implementation.

Qt(framework)

http://qt-project.org

PyQt: “a Python binding of the cross-platform GUI toolkit Qt”.And:

Razor-qt [which] also works fine with weak machines

Stellarium

http://en.wikipedia.org/wiki/Stellarium_%28computer_program%29 > http://stellarium.org

Stellarium Portable runs very easily on my old Windows 7 netbook.

It's excellent for looking at the sky, any time, from anywhere! A beautiful piece of software.

VirtualBox

Default Host key is Right Ctrl - which frees the mouse & keyb from the virtual machine, and returns them to the host.

Download it, and the Extension Pack then install it, and the extension pack to allow direct USB 2.0 access.

On my old netbook, the only linux that I could successfully install was debian xfce, which took about 5 hours, but did allow me to access an ext4 drive on one USB adaptor, and copy files over to another USB drive formatted as NTFS, although at a paltry 10MB/minute, so clearly no use for large amounts of data.

Networking

Supplicant

Supplicant (computer)

In computer networking, a supplicant is an entity at one end of a point-to-point LAN segment that seeks to be authenticated by an authenticator attached to the other end of that link. The IEEE 802.1X standard uses the term “supplicant” to refer either to hardware or to software. In practice, a supplicant is a software application installed on an end-user's computer. The user invokes the supplicant and submits credentials to connect the computer to a secure network. If the authentication succeeds, the authenticator typically allows the computer to connect to the network.

wpa_supplicant

Included with the supplicant are a GUI and a command-line utility for interacting with the running supplicant. From either of these interfaces it is possible to review a list of currently visible networks, select one of them, provide any additional security information needed to authenticate with the network (for example, a passphrase, or username and password) and add it to the preference list to enable automatic reconnection in the future.

Wi-Fi Protected Access

Wi-Fi Protected Access

Wi-Fi Protected Setup

A major security flaw was revealed in December 2011 that affects wireless routers with the WPS PIN feature, which most recent models have enabled by default. The flaw allows a remote attacker to recover the WPS PIN in a few hours with a brute-force attack and, with the WPS PIN, the network's WPA/WPA2 pre-shared key. Users have been urged to turn off the WPS PIN feature,[5] although this may not be possible on some router models.

KDE

KDE on Windows “not stable yet”

Konqueror can't show Google Sheets…

System Settings > Global Keyboard Shortcuts > KWin

Okular

Default shortcuts:

  • Ctrl+1Browse Tool
  • Ctrl+3Selection Tool
  • Ctrl+MShow Menubar
  • F7Show Navigation Panel

http://en.wikipedia.org/wiki/Okular

The official version obeys the DRM restrictions of PDF files by default, which may prevent copying, printing, or converting some PDF files. This can be turned off in the options under “Obey DRM limitations”, however.

To avoid the “This document has embedded files.” bar: Settings > Configure Okular > Show hints and info messages.

Using KDE/Comparisons

http://en.wikibooks.org/wiki/Using_KDE/Comparisons

In terms of the basic desktop layout, KDE more-closely follows a Microsoft Windows style with a taskbar, start menu, and various other things. On the other hand, GNOME takes the Mac OS X approach, placing the menu bar on top of the screen and a separate bar for currently-open applications (the Task Bar).
  • KDE is built with the Qt toolkit while GNOME uses GTK.
  • KDE is written in C++ and GNOME in C.

> While GTK is a very popular toolkit for Linux and thus most apps have better integration with GNOME, KDE's interface is normally considered slicker and more polished, possibly due to the underlying Qt toolkit.

KDE Software Compilation 4

KDE Plasma Workspaces

Using KDE/Shortcuts

http://en.wikibooks.org/wiki/Using_KDE/Shortcuts

  • Ctrl-F{1..8} Switch to a specific desktop
  • Ctrl-Alt-L Lock your session. This will display a box with a password area for you to login back into your session, and a button that will allow someone else to login while keeping your session active.
  • Ctrl-Alt-Del Display logout screen. You have 3 choices : close your session, turn off your computer and restart your computer.
  • Ctrl-Alt-Esc Window destroyer (every window you click on will be destroyed). Press Esc to cancel the killer cursor.
  • Ctrl-Alt-Backspace This exits KDE (without saving!) Use this as a last resort.
  • Win-Q Displays the Activities list
  • Win-Tab Switches to next Activity

Security

ClamAV

ClamWin

I deselect the Outlook integration, and I prefer an icon on the Desktop with

Properties > Advanced > Run as administrator

And in ClamWin, I set:

Preferences > Internet Updates > Update Virus Database On Logon

Then, from time to time I run it as Administrator to scan the Memory, and my C: partition (and very occasionally other disk partitions).

File Manage

File archivers

7-Zip

  • http://en.wikipedia.org/wiki/7-Zip > http://www.7-zip.org/ - is the bees knees! It appears as a right-click context item. Super easy to install, and works beautifully. Easy to just pack a load of files together uncompressed, but highly encrypted (file names invisible), or zip something tight, or unpack a tar.gz.
  • Snag: the built in File Manager allowed me to open an odt file inside an archive, and apparently save it back into the archive, but in fact it was saved into MSWin's Temp directory.

Command Line Version User's Guide:

    • gci *.7z | %{7z.exe x $_} - extracts all of the 7z's, requesting passwords if necessary
    • 7z a -mx0 -p g1i-N130-Keys Keys/ requests a password to encrypt uncompressed the folder Keys (goes to g1i-N130-Keys.7z)

P7ZIP:

FSArchiver

Boot with Gentoo's SystemRescueCd and then read Quickstart.

http://en.wikipedia.org/wiki/FSArchiver

a continuation of PartImage, which was a project from one of the same authors, and implements new features that PartImage lacks… support for the commonly used Ext4 filesystem. For Windows users, FSArchiver includes support for NTFS… FSArchiver supports most modern Linux file systems such as ext4, reiser4 and btrfs.

Documenting

OpenDocument The Open Document Format (ODF) for Office Applications

Portable Document Format (PDF)

Adobe Reader

http://en.wikipedia.org/wiki/Adobe_Reader

Keyboard shortcuts:

  • Ctrl+H = Read Mode (includes toggling away the right-pane, if it's there)
  • Ctrl+K = Preferences
  • F8 toggles Hide Toolbar

LibreOffice

Download the installer or run a portable version, though the latter's slow to get going.

Installation

  • GB LibreOffice Fresh “the stable version with the most recent features.”
  • Installing is fairly easy, but takes a long time to complete on MSWin.

Load during start-up installation option doesn't seem to achieve anything. So once installed, I set:

Options > Memory > Quickstarter on

Which seems to speed up accessing documents, and gets me a Windows 7 tray icon, which I keep visible like this:

Notification Area Icons > soffice > Show

The main value to me of seeing this icon is when I want to kill LibreOffice Quickstarter because it's somehow hanging onto a file location that it should've let go of (and blocking me from moving that file's directory). A secondary benefit is that when the Quickstarter icon's finally appeared on my underpowered N130 netbook, I know that my netbook has loaded up all of it's startup functions.

porting your settings

I only keep backups of these two nodes, which are enough to recreate my LibreOffice setup:

Usage

Ctrl+Shift+O (= File > Page Preview) is super-handy

Calc shortcuts:

  • Ctrl + Page Up/Down to move between Sheets
  • Add > Edit > Fill Down ain't necessary as Ctrl+D get Fill Down

Snags:

  • Automatic URL Recognition is pretty good, but can't cope with an address like this: http://en.wikipedia.org/wiki/Eclipse_(software). The fix is to use the Hyperlink button to manually add the link (for your selected text) into your document.
  • Autocompletion I do not like, so I remove all the AutoCorrect Options.
  • Calc: entering “7-9” causes it to be converted to the date, and when I try to reset the field to General, it becomes 41524. Cured by prefacing with a single quote: '7-9
  • Changing the (Windows 7) system time while a document is open raises a LibreOffice query at Save about the file having being changed elsewhere.
  • Ctrl+F2 (Fields) > Document > File name greyed out when I try to add it. Cured by making it black.
  • Recovery works well if your computer's crashed, but I've occasionally had a persistent defunct recovery message appear, which I got rid of by hitting Escape first then Yes to Cancel it.

Writer

  • Default Font Size is set per document: Tools > Options > Writer > Basic Fonts > Default

Writer Guide:

  • a monster document, that snags up my netbook's resources, so I search for the chapter that I want, and open it separately.
  • WG4016-CustomizingWriter.odt > Assigning macros to events
cross_platform/cross_platform.txt · Last modified: 2016/10/05 10:24 (external edit)