Compare commits

..

3 Commits

3 changed files with 43 additions and 39 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

View File

@ -1,8 +1,8 @@
--- ---
title: Transfer Linux Lamp title: Transfer Linux Tricks 2
description: description:
published: 1 published: 1
date: 2024-02-02T20:13:38.624Z date: 2024-02-02T20:26:50.948Z
tags: tags:
editor: markdown editor: markdown
dateCreated: 2024-02-01T23:17:04.906Z dateCreated: 2024-02-01T23:17:04.906Z
@ -26,7 +26,7 @@ Clear snap folder: /var/lib/snapd/snaps
`[https://unix.stackexchange.com/questions/130786/can-i-remove-files-in-var-log-journal-and-var-cache-abrt-di-usr](https://unix.stackexchange.com/questions/130786/can-i-remove-files-in-var-log-journal-and-var-cache-abrt-di-usr)` [https://unix.stackexchange.com/questions/130786/can-i-remove-files-in-var-log-journal-and-var-cache-abrt-di-usr](https://unix.stackexchange.com/questions/130786/can-i-remove-files-in-var-log-journal-and-var-cache-abrt-di-usr)
``` ```
$ journalctl --disk-usage $ journalctl --disk-usage
@ -36,11 +36,11 @@ $ journalctl --disk-usage
`D3 with Python in Jupyter:` D3 with Python in Jupyter:
`[https://livingwithmachines.ac.uk/d3-javascript-visualisation-in-a-python-jupyter-notebook/](https://livingwithmachines.ac.uk/d3-javascript-visualisation-in-a-python-jupyter-notebook/)` [https://livingwithmachines.ac.uk/d3-javascript-visualisation-in-a-python-jupyter-notebook/](https://livingwithmachines.ac.uk/d3-javascript-visualisation-in-a-python-jupyter-notebook/)
`[https://nbviewer.jupyter.org/github/bokeh/bokeh-notebooks/blob/master/quickstart/quickstart.ipynb](https://nbviewer.jupyter.org/github/bokeh/bokeh-notebooks/blob/master/quickstart/quickstart.ipynb)` [https://nbviewer.jupyter.org/github/bokeh/bokeh-notebooks/blob/master/quickstart/quickstart.ipynb](https://nbviewer.jupyter.org/github/bokeh/bokeh-notebooks/blob/master/quickstart/quickstart.ipynb)
@ -55,10 +55,10 @@ $ journalctl --disk-usage
<br></br>
# Install equalizer on Ubuntu 20.04
# `Install equalizer on Ubuntu 20.04` [https://ubuntu-mate.community/t/equalizer-for-ubuntu-20-04-lts/22218](https://ubuntu-mate.community/t/equalizer-for-ubuntu-20-04-lts/22218)
`[https://ubuntu-mate.community/t/equalizer-for-ubuntu-20-04-lts/22218](https://ubuntu-mate.community/t/equalizer-for-ubuntu-20-04-lts/22218)`
`sudo apt install -y pulseeffects lsp-plugins` `sudo apt install -y pulseeffects lsp-plugins`
@ -74,9 +74,9 @@ $ journalctl --disk-usage
# `Execute JNLP files in Linux` # Execute JNLP files in Linux
`[https://linux-tips.com/t/execute-jnlp-files-in-linux/252](https://linux-tips.com/t/execute-jnlp-files-in-linux/252)` [https://linux-tips.com/t/execute-jnlp-files-in-linux/252](https://linux-tips.com/t/execute-jnlp-files-in-linux/252)
@ -85,17 +85,17 @@ $ sudo apt-get install icedtea-netx
$ sudo apt-get install icedtea-plugin $ sudo apt-get install icedtea-plugin
`$ javaws filename.jnlp` $ javaws filename.jnlp
# `Take Screenshot` # Take Screenshot
`Druck` Druck
`Shift + druck for selecting area` Shift + druck for selecting area
@ -106,22 +106,22 @@ $ sudo apt-get install icedtea-plugin
# `Install writer2latex in Ubuntu` # Install writer2latex in Ubuntu
`$ ``sudo apt update` $ sudo apt update
`$ ``sudo apt install writer2latex` $ sudo apt install writer2latex
`[http://writer2latex.sourceforge.net/index15.html](http://writer2latex.sourceforge.net/index15.html)` [http://writer2latex.sourceforge.net/index15.html](http://writer2latex.sourceforge.net/index15.html)
`Specific instructions for Ubuntu: To install Java and Java support in LibreOffice, open a terminal window and type` Specific instructions for Ubuntu: To install Java and Java support in LibreOffice, open a terminal window and type
`$ ``sudo apt-get install default-jre` $ sudo apt-get install default-jre
`$ ``sudo apt-get install libreoffice-java-common` $ sudo apt-get install libreoffice-java-common
@ -129,15 +129,15 @@ $ sudo apt-get install icedtea-plugin
`[https://superuser.com/questions/1192004/why-unable-to-install-writer2latex-1-4-on-ubuntu](https://superuser.com/questions/1192004/why-unable-to-install-writer2latex-1-4-on-ubuntu)` [https://superuser.com/questions/1192004/why-unable-to-install-writer2latex-1-4-on-ubuntu](https://superuser.com/questions/1192004/why-unable-to-install-writer2latex-1-4-on-ubuntu)
`try in command line` try in command line
`$ ``sudo apt-get insall libreoffice-writer2latex` $ sudo apt-get insall libreoffice-writer2latex
`if not working install java if not already installed` if not working install java if not already installed
`$ ``sudo apt-get install default-jre` $ sudo apt-get install default-jre
@ -148,7 +148,7 @@ $ sudo apt-get install icedtea-plugin
# `**Latex topics**`` in Ubuntu` # Latex topics in Ubuntu
@ -198,13 +198,14 @@ $ locate caption.sty
# `**Latex **``**export with writer2latex (v1.6.1)**` # Latex export with writer2latex (v1.6.1)
- `By using the following settings, a .tex file could be exported, but there were issues using \usepackage{hyperref} and \usepackage[pdftex]{``graphicx``} ==> these commands in the preamble had to be commented out or replaced by \usepackage{``graphicx``}` - `By using the following settings, a .tex file could be exported, but there were issues using \usepackage{hyperref} and \usepackage[pdftex]{``graphicx``} ==> these commands in the preamble had to be commented out or replaced by \usepackage{``graphicx``}`
`![](Linux_tricks_2_html_a0fd7fb6fff0adcc.png) ` ![](Linux_tricks_2_html_a0fd7fb6fff0adcc.png)
![linux_tricks_2_html_a0fd7fb6fff0adcc.png](/pictures/linux_tricks_2_html_a0fd7fb6fff0adcc.png)
@ -213,21 +214,21 @@ $ locate caption.sty
# `interactive mode with Juptyer Notebooks` # interactive mode with Juptyer Notebooks
`Issue: ` Issue:
`@interact and @interactive decorators did not update figures/etc.` @interact and @interactive decorators did not update figures/etc.
`Solution ``(not working)``: ` Solution (not working):
`[https://stackoverflow.com/questions/36351109/ipython-notebook-ipywidgets-does-not-show](https://stackoverflow.com/questions/36351109/ipython-notebook-ipywidgets-does-not-show)` [https://stackoverflow.com/questions/36351109/ipython-notebook-ipywidgets-does-not-show](https://stackoverflow.com/questions/36351109/ipython-notebook-ipywidgets-does-not-show)
`$ pip install ipywidgets` $ pip install ipywidgets
`$ jupyter nbextension enable --py widgetsnbextension` $ jupyter nbextension enable --py widgetsnbextension
@ -257,7 +258,7 @@ $ locate caption.sty
# `**Using Ctrl+V to paste unformatted text by default **` # Using Ctrl+V to paste unformatted text by default
[https://superuser.com/questions/73450/using-ctrlv-to-paste-unformatted-text-by-default-in-openoffice-orgs-calc](https://superuser.com/questions/73450/using-ctrlv-to-paste-unformatted-text-by-default-in-openoffice-orgs-calc) [https://superuser.com/questions/73450/using-ctrlv-to-paste-unformatted-text-by-default-in-openoffice-orgs-calc](https://superuser.com/questions/73450/using-ctrlv-to-paste-unformatted-text-by-default-in-openoffice-orgs-calc)
@ -268,6 +269,7 @@ What you want to do is change the keystrokes that are associated with the “Pas
Start by choosing Tools > Customize. When the dialog box appears, select the “Keyboard” tab.  A dialog box containing 4 panels and some control buttons appears.  The top panel contains a list of every key the system allows modifying along with the command that key performs.  For example, pressing <kbd class="western">F2</kbd> starts a formula expression; <kbd class="western">F11</kbd> invokes the styles panel. Start by choosing Tools > Customize. When the dialog box appears, select the “Keyboard” tab.  A dialog box containing 4 panels and some control buttons appears.  The top panel contains a list of every key the system allows modifying along with the command that key performs.  For example, pressing <kbd class="western">F2</kbd> starts a formula expression; <kbd class="western">F11</kbd> invokes the styles panel.
_[![Keyboard Customization Dialog Box](Linux_tricks_2_html_19ebb791d64bdfba.png)](https://i.stack.imgur.com/9RpcX.png)_ _[![Keyboard Customization Dialog Box](Linux_tricks_2_html_19ebb791d64bdfba.png)](https://i.stack.imgur.com/9RpcX.png)_
![linux_tricks_2_html_19ebb791d64bdfba.png](/pictures/linux_tricks_2_html_19ebb791d64bdfba.png)
In the ****Category**** panel, lower left corner, scroll down and highlight the ****Edit**** Category. In the ****Category**** panel, lower left corner, scroll down and highlight the ****Edit**** Category.
@ -762,4 +764,6 @@ OR:
[https://www.how2shout.com/linux/open-ubuntu-file-manager-as-root-user/](https://www.how2shout.com/linux/open-ubuntu-file-manager-as-root-user/) [https://www.how2shout.com/linux/open-ubuntu-file-manager-as-root-user/](https://www.how2shout.com/linux/open-ubuntu-file-manager-as-root-user/)
sudo nautilus sudo nautilus