Sunday, December 11, 2016

Network indicator icon missing, no connection

If at some point you realize that when you turn on your Linux device you don't see the network indicator icon on the task bar this may probably be because of network manager service has not started yet. I've had this problem when i used external wireless usb adapter on my computer.

To solve this problem and get internet working on you device you can simply run the following command on terminal:
sudo service network-manager restart
After running this command you should see the network icon (probably as offline icon at first) on the task bar. If you have an active connection it should connect automatically. Otherwise you can click the icon and see the connection options as a list. If you have an active connection added before it should normally connect automatically unless you have cancelled automatic connection on connection settings.

Sunday, October 9, 2016

Linux mint disable touch screen

If you use a linux distro like Linux Mint and a device with touch screen support and you don't want to use it any more for any reason, you can disable touch screen by making a modification on your system. To disable touch screen for Linux Mint (and possible for some other Linux systems) open terminal and enter this command:
sudo pluma /usr/share/X11/xorg.conf.d/10-evdev.conf
pluma is the name of editor in Linux Mint so if your system uses another one or you prefer another editor replace its name (ie. nano)

Find the section in file related to touch screen and comment it like this:
#Section "InputClass"
#        Identifier "evdev touchscreen catchall"
#        MatchIsTouchscreen "on"
#        MatchDevicePath "/dev/input/event*"
#        Driver "evdev"
Save the file and exit editor after commenting the related section. Restart your computer and after now you should be running your device with touch screen disabled.

Saturday, October 1, 2016

iPhone iOS 10 how to activate unlock by touch

If you have upgraded to iOS 10 on your iphone, you probably have noticed the requirement of pressing the home button to unlock your iphone while just touching was enough to unlock for previous iOS versions. In fact you can still switch to the earlier type of unlocking by changing a setting in your iphone. Here is how you can do it.

First start the Settings app.

In settings menu click General.

Find Accessibility in the menu and select it.

Now find Home Button and select it.

In the Home Button menu you'll see a setting named Rest Finger to Unlock deactivated by default in iOS 10. Make this setting active and from now on you can unlock your iphone by touching the home button without pressing the button again while the screen is active.

Thursday, September 22, 2016

framework7 build directory missing

If you have downloaded Framework7 and realized that you can't view the sample pages correctly this can be possibly caused by a missing directory named as build which is required by the samples. You can solve this problem using the following commands.

Framework7 uses gulp for development (build) and distribution (dist) versions. So you need to have gulp-cli installed globally. Run this command in terminal:
npm install --global gulp
Then change directory to the Framework7 root directory and install dependencies:
npm install
Now you're ready for development version of Framework7:
gulp build

After the previous command you should be able to see sample working correctly. You can also have distributable version available in dist/ folder after running the following command:
gulp dist