Posts Tagged ‘flash’
Make Any Website into Desktop App
Written by
Nativefier is a CLI tool that easily create a executable desktop application of any website with succinct and minimal configuration. Anybody can use it and it is a lot lighter than typical Electron apps.
Nativefier is based on the electron-package and since Electron apps are platform independent, any Nativefiered app will run on GNU/Linux distros as well as on Windows and Mac Operating Systems.
Talking about the reason why he created Nativefier, the developer wrote on GitHub:
I did this because I was tired of having to ⌘-tab or alt-tab to my browser and then search through the numerous open tabs when I was using Facebook Messenger or Whatsapp Web.
Features in Nativefier
- Free and open-source with code available on GitHub.
- Works on GNU/Linux, Windows, and Mac.
- Desktop Notifications.
- OS-specific icons.
- Make single-page web apps (e.g. Telegram and WhatsApp) executable stand-alone apps.
How to Install and Use Nativefier in Linux
Installing Nativefier is as easy as running the following command in terminal.
$ npm install nativefier -g
The developer has done some heavy lifting by setting up a template app containing appropriate event listeners and callbacks in the /app
folder.
This is the directory that is copied to the temporary directory when the nativefier
command is called and then the core methods of electron packager follow. meaning that getting a URL and invoking the nativefier
gets the job done.
So, for example, creating a GitHub or WhatsApp web executable (or any web page) is as easy as typing:
$ nativefier -name GitHub http://github.com $ nativefier web.whatsapp.com
The -name
flag is the option that tells Nativefier the name to give your executable. There are other options including:
- flash to enable flash in your application explorer.
- version is prints the version of your nativefier install.
- platform automatically determined based on the current OS. Overwrite it by specifyinglinux, windows (or win32), or osx (darwin).
The full list of options and more usage details are on its GitHub page.
Note:
- Nativefier doesn’t have any back button by default because it is designed to wrap just single-page apps. That notwithstanding, you can build an executable from any url and hitting
backspace
on your keyboard will take you to the previous page. - Don’t put spaces when defining the app name with the
-name
option on Linux because it will cause problems when pinning the app to the launcher.
Linux Mint, Linux Os, Linux Ubuntu
Install Nativefier, Nativefier Install, Nativefier Linux, Nativefier Release, Nativefier Ubuntu Ppa
Encrypt USB Drive on Ubuntu
Encryption is the best way to protect your important documents personal info and other credentials. Suppose, you have a USB pen drive and your all important data stored on it. In case you will lose your USB pen drive, all data stored on it will be lost. It will be in hands of some other person which will access your personal information and misuse it. So, the best solution to protect your data is to encrypt your USB pen drive with password.
Requirements
- Ubuntu 18.04 desktop installed on your system.
- A non-root user with sudo privileges.
Install Required Tools
First, you will need to install gnome-disk-utility and cryptsetup to your system. Cryptsetup is a utility for setting up encrypted filesystems with the help of Device Mapper and dm-crypt. You can install both tools with the following command:
sudo apt-get install gnome-disk-utility cryptsetup -y
Encrypt USB Drive
IMPORTANT: Before you proceed, back up all data that is on the USB Media as the data on the USB Media gets erased when the partition type is changed to an encrypted partition.
First, plug in your USB flash drive to the system. Next, launch the Disks utility from the Unity Dash. You should see USB drive in the left pane:
Next, umount the filesystem as shown below:
Next, click on the Format button as shown below:
Next, select encryption type, partition name and set your password as shown below:
Now, click on the Format button to encrypt the USB drive.
Access USB Drive
Your USB pen drive is now secure with a password. To test it, unplug and plug in USB drive again. You should be asked to input password to get access the partition as shown below:
Now, provide the password and click on the Connect button. You can access your USB pen drive.
Easy Encrypt Usb Drive, Easy Way To Encrypt Usb Drive, Encrypt Entire Usb Drive, Encrypt Usb Drive, Encrypt Usb Drive On Linux, Encrypt Usb Drive Ubuntu, How To Encrypt Usb Drive In Ubuntu