User Tools

Site Tools


jak-na-to:linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
jak-na-to:linux [2019/01/17 08:01]
hansek created
jak-na-to:linux [2020/03/22 10:54] (current)
hansek
Line 1: Line 1:
 ====== Linux OS ====== ====== Linux OS ======
 +
 +===== Packages =====
 +
 +<code bash>
 +sudo apt install \
 +  
 +  unrar \ # to Mint Archive Manager properly can extract rar files
 +  p7zip-rar \ # maybe is needed as previous (try it)
 +
 +</code>
 +
 +
 +===== Tools =====
 +
 +  * **screenshots with editor and ftp upload** - [[https://screencloud.net/|screencloud]]
 +  * **onedrive** - https://github.com/abraunegg/onedrive
 +  * **facebook messenger** - https://sindresorhus.com/caprine/
 +
 +
 +===== OneDrive =====
 +
 +https://github.com/abraunegg/onedrive
 +
 +Commands:
 +
 +  * https://github.com/abraunegg/onedrive/blob/master/docs/USAGE.md#onedrive-service-running-as-root-user-via-systemd-arch-ubuntu-debian-opensuse-fedora
 +  * `systemctl --user start onedrive`
 +  * logs `journalctl --user-unit onedrive -f`
 +
  
 ===== Permanent disable ACPI wakeup by USB ===== ===== Permanent disable ACPI wakeup by USB =====
Line 15: Line 44:
 </file> </file>
  
-- Place this file in **/etc/systemd/system/** +  * Unordered List ItemPlace this file in **/etc/systemd/system/** 
-Then do **sudo systemctl daemon-reload**,  +  Then do **sudo systemctl daemon-reload**,  
-do **sudo systemctl start acpi-wakeup-disable**  +  do **sudo systemctl start acpi-wakeup-disable**  
-and check on it with **systemctl status** something,  +  and check on it with **systemctl status acpi-wakeup-disable**,  
-then enable it so it starts after boot with **sudo systemctl enable acpi-wakeup-disable**.+  then enable it so it starts after boot with **sudo systemctl enable acpi-wakeup-disable**. 
 + 
 + 
 +===== Prevent wrong Windows 10 time when using dual boot ===== 
 + 
 +Source: https://www.techsupportalert.com/content/tips-and-tricks-linux-mint-after-installation-mint-18-cinnamon-edition.htm#Set-Clock-Time 
 + 
 +<code bash> 
 +timedatectl set-local-rtc 1 --adjust-system-cloc 
 +</code> 
 + 
 + 
 +===== Reset extended screen to contain all window ===== 
 +<code bash> 
 +xrandr --listmonitors 
 +</code> 
 + 
 +<code bash> 
 +xrandr --output eDP-1 --off && xrandr --output eDP-1 --auto --left-of DP-1 
 +</code> 
 + 
 + 
 +===== Batch conversion of RAW images to JPG ===== 
 + 
 +<code bash> 
 +sudo apt-get install dcraw netpbm 
 +</code> 
 + 
 +<code bash> 
 +mkdir jpg ; for filename in *.NEF ; do echo "$filename" ; dcraw -c -w "$filename" | pnmtojpeg > "jpg/$filename.jpg" ; done 
 +</code> 
 + 
 + 
 +===== Apple DVD superdrive ===== 
 + 
 +source: https://apple.stackexchange.com/a/152468 
 + 
 +<code bash> 
 +sudo apt install sg3-utils 
 + 
 +sg_raw /dev/sr0 ea 00 00 00 00 00 01 
 +</code> 
jak-na-to/linux.1547708507.txt.gz ยท Last modified: 2019/01/17 08:01 by hansek