Tips and Tricks
Tips and Tricks
At this topic you can add your tip or trick which will help somebody else.
LibreOffice send a file via Thunderbird
If you like to make LibreOffice to send documents as email using Thunderbird then do this.
From Tools > Options > Internet > E-mail – E-mail programm enter /usr/bin/thunderbird > OK, next time you select Document as E-mail will start Thunderbird.
LibreOffice send a file via Thunderbird
If you like to make LibreOffice to send documents as email using Thunderbird then do this.
From Tools > Options > Internet > E-mail – E-mail programm enter /usr/bin/thunderbird > OK, next time you select Document as E-mail will start Thunderbird.
Last edited by asinoro on Sun Jan 01, 2017 2:32 am, edited 4 times in total.
Re: Tips and Tricks
Create strong passwords easily and safely
It is the best way to have different strong passwords on different websites using only your personal master password.
How it works
Supposedly you want a strong password for forum.mxlinux.org open the terminal and give the command:
strongpw forum.mxlinux.org
Αfter asks you Enter secret: where you put your personal master code. Let assume that the secret personal master code to use is mycode then:
$ strongpw forum.mxlinux.org
Enter secret: mycode
The code generated by combining forum.mxlinux.org and mycode is:
oHwQhgKMihjnu4FwzfsJ
where it is used for forum.mxlinux.org. So if you forget your password forum.mxlinux.org, open the terminal and the combination forum.mxlinux.org and mycode finds again it.
Thereby having the mycode password and the name of the site you are interested you make a new different strong passwords for each website separately.
With this code process the advantage is that nowhere are store your passwords but only the time you use it, and always on the basis of the combination of password and the name of the website.
How you make it work
Start by opening your document manager:
Where you place at the end of the document the following code, then save and close the document.
After from the terminal the command strongpw and the website's name with the master password will create a strong password. Just use a master password that always you remember and of course the name of the website.
Advantage you do not need to write and store codes disadvantage if you ever forget a password you need your Linux or another Linux, so again to put the code in /etc/bash.bashrc.
Don't worry because there is a website which will give you exactly the same result if you remember your password and the website you are interested, but don't make it a habit because there are keyloggers, without that this means to have something like it the particular website.
http://ss64.com/pass/
It gives exactly the same result password as the example above. Of course if you do not remember the webpage visit again the " Tips and Tricks" to rediscover.
Enjoy it!
It is the best way to have different strong passwords on different websites using only your personal master password.
How it works
Supposedly you want a strong password for forum.mxlinux.org open the terminal and give the command:
strongpw forum.mxlinux.org
Αfter asks you Enter secret: where you put your personal master code. Let assume that the secret personal master code to use is mycode then:
$ strongpw forum.mxlinux.org
Enter secret: mycode
The code generated by combining forum.mxlinux.org and mycode is:
oHwQhgKMihjnu4FwzfsJ
where it is used for forum.mxlinux.org. So if you forget your password forum.mxlinux.org, open the terminal and the combination forum.mxlinux.org and mycode finds again it.
Thereby having the mycode password and the name of the site you are interested you make a new different strong passwords for each website separately.
With this code process the advantage is that nowhere are store your passwords but only the time you use it, and always on the basis of the combination of password and the name of the website.
How you make it work
Start by opening your document manager:
Code: Select all
sudo gedit /etc/bash.bashrc
Code: Select all
strongpw () {
echo -n "Enter secret:"
read -r
echo '' # line break
echo -n "$ REPLY: $ 1" | sha256sum | perl -ne "s / ([0-9a-f] {2}) / print chr hex \ $ 1 / gie" | base64 | tr + / Ea | cut -b 1-20
}
Advantage you do not need to write and store codes disadvantage if you ever forget a password you need your Linux or another Linux, so again to put the code in /etc/bash.bashrc.
Don't worry because there is a website which will give you exactly the same result if you remember your password and the website you are interested, but don't make it a habit because there are keyloggers, without that this means to have something like it the particular website.
http://ss64.com/pass/
It gives exactly the same result password as the example above. Of course if you do not remember the webpage visit again the " Tips and Tricks" to rediscover.
Enjoy it!
Re: Tips and Tricks
Some commands you should know
If for any reason you do not have internet connection.
And restart.
See your technical specifications of your hardware.
View your hard drives info.
How much usage you have.
And more info:
BIOS and memory info.
View the memory info of your system.
You can see all the USB ports and devices.
Network info.
Find your public IP.
Fix broken packages and configure them, if apt-get shows problems.
View your recent terminal history.
Delete the recent history.
Scan your network to see devices that are connected. You need to install the arp-scan if it is not installed.
To copy Ctrl + C and to paste Ctrl + V, but from the terminal Ctrl + Alt + T it can be done with Ctrl + Shift + V.
If for any reason you do not have internet connection.
Code: Select all
sudo apt-get install --reinstall network-manager
Code: Select all
sudo service network-manager restart
Code: Select all
inxi -Fdpluo
How much usage you have.
Code: Select all
df
Code: Select all
sudo parted -l
Code: Select all
sudo blkid
Code: Select all
lsblk
Code: Select all
sudo dmidecode
Code: Select all
cat /proc/meminfo
Code: Select all
lsusb
Code: Select all
ifconfig
Code: Select all
sudo ip addr
Code: Select all
dig +short myip.opendns.com @resolver1.opendns.com
Code: Select all
sudo apt-get install -f
Code: Select all
sudo dpkg --configure -a
Code: Select all
history
Code: Select all
history -c
Code: Select all
sudo apt-get install arp-scan
Code: Select all
arp -a
- linexer2016
- Posts: 666
- Joined: Thu Dec 15, 2016 9:15 pm
Re: Tips and Tricks
Thanks asinoro, to be able to receive tips such as these is a very useful testimony to the benefits of forum membership. Well done.
Re: Tips and Tricks
Moving back to the GUI world, where I spend most of my time: I discovered another good use of Shotwell Viewer when setting up the user face thing. That application does not show up in the menu, but does when you right-click an image > Open with... Here are the two really handy uses for that:
1) the crop function (image) is much better than what is available in Mirage and much easier than using GIMP.
2) conversion jpg < > png is clumsy for me in Mirage, and much easier than using GIMP: File > Save As > menu in Format box.
1) the crop function (image) is much better than what is available in Mirage and much easier than using GIMP.
2) conversion jpg < > png is clumsy for me in Mirage, and much easier than using GIMP: File > Save As > menu in Format box.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Re: Tips and Tricks
I think I just used "save as" in Mirage, and changed the file name extension from jpg to png. The gnome3 collection of user avatar pixmaps come in jpg format and I was able to change a few to png format that way, in mx16.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400
Re: Tips and Tricks
I always run into problems that way, so edited my description above to make it more subjective. I find the pull-down menu easier and faster.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
- linexer2016
- Posts: 666
- Joined: Thu Dec 15, 2016 9:15 pm
Re: Tips and Tricks
Asinoro wrote .... At this topic you can add your tip or trick which will help somebody else. ...
Not sure if this is too basic to be called a tip but here goes (BTW, it's something I've described in a testimonial for MX16) ...
An effective backup routine is as follows:
1. From MX Tools select Snapshot and follow the steps to do that
2. From MX Tools select Live USB and having placed an appropriate USB stick in your computer, follow the relevant steps to burn to the USB the Snapshot you made in step 1.
Repeat this process as regularly as you are comfortable with and take note that the snapshots themselves are saved (usually to your home directory and under snapshots). So, to avoid backing up to the latest snapshot those previous iterations, you may wish to delete some of the earlier snapshots from the HDD/SSD.
Again, hope this tip qualifies as a tip
Not sure if this is too basic to be called a tip but here goes (BTW, it's something I've described in a testimonial for MX16) ...
An effective backup routine is as follows:
1. From MX Tools select Snapshot and follow the steps to do that
2. From MX Tools select Live USB and having placed an appropriate USB stick in your computer, follow the relevant steps to burn to the USB the Snapshot you made in step 1.
Repeat this process as regularly as you are comfortable with and take note that the snapshots themselves are saved (usually to your home directory and under snapshots). So, to avoid backing up to the latest snapshot those previous iterations, you may wish to delete some of the earlier snapshots from the HDD/SSD.
Again, hope this tip qualifies as a tip
Re: Tips and Tricks
How to test if the flash player works with your browser.
This is introduced by Jerry3904 and I thought to put it as a tip.
You can check your browser at this website.
https://helpx.adobe.com/flash-player.html
This is introduced by Jerry3904 and I thought to put it as a tip.
You can check your browser at this website.
https://helpx.adobe.com/flash-player.html
Re: Tips and Tricks
Keys
F4 opens terminal
PrintScreen opens Screen shot.
F4 opens terminal
PrintScreen opens Screen shot.