CyberKeeda In Social Media
Showing posts with label Linux Desktop. Show all posts
Showing posts with label Linux Desktop. Show all posts

Ubuntu 18.04 Error : We cannot detect a running copy of GNOME on this system.

You might be trying to install GNOME-Shell Extension from browser and got an error like "We cannot detect a running copy of GNOME on this system, so some parts of the interface may be disabled"

Fix : Install GNOME Shell Integration plugin

How to install it, lets follow the below steps.

For Chrome :


  • Chrome Web Store --> Search for "Gnome shell integration" --> Add to Chrome
  • Open Terminal and install chrome-gnome-shell


sudo apt-get install chrome-gnome-shell
  • Restart Browser and try to install additional Gnome extensions.














For Firefox :
  • Firefox Add On --> Search for "Gnome shell integration" --> Add to Firefox --> Followup the instructions asked by Firefox to add it.

  • Restart Browser and try to install additional Gnome extensions.















Read more ...

How to Create Windows 10 Bootable USB on Ubuntu or any Linux desktop



Are you looking for any desktop application on Ubuntu to create a bootable pendrive/flash drive with Windows.

WoeUSB is a simple tool that enable you to create your own usb stick windows installer from an iso image or a real DVD.


WoeUSB  package contains two programs:
  • woeusb: A command-line utility that enables you to create your own bootable Windows installation USB storage device from an existing Windows Installation disc or disk image
  • woeusbgui: A GUI wrapper of woeusb based on WxWidgets


So, lets know how install the WoeUSB on Ubuntu 
Official & updated Installation and Github link : Here
#    sudo add-apt-repository ppa:nilarimogard/webupd8
#    sudo apt update
#    sudo apt install woeusb
In case if you wish to remove that woeusb PPA, remove it from the bellow command.
#    sudo add-apt-repository --remove ppa:nilarimogard/webupd8
#    sudo apt-update
Now, WoeUSB has installed on my Ubuntu, though the interface is self explanatory still let's move ahead and know how to use it.

Open WoeUSB application and choose the USB drive and your windows iso kept within your Ubuntu.
Once you are done click install and you are done, you can monitor the progress on screen.


In case you receive a error dialogue like below, follow the below steps

Find your USB drive's mounted file system and block by running lsblk on terminal and find your device their.
To filter, look for size of your USB or name of the USB drive, below screen shot gives the picture of my USB drive ( 8 GB ) size, and named as /dev/sdc
#    lsblk

So we will unmount that partition out of the system.
Notice there  /dev/sdc is the full size of my USB disk, but the data is witten on it's /dev/sdc1 partition.
My USB disk is  /dev/sdc, ensure your USB is unmounted with the following command. Replace /dev/sdc1 with your own partition name.
#    sudo umount /dev/sdc1
Now try again from the   WoeUSB desktop application.
In case if you are willing to do the same through woeusb CLI utility, here is the way.
#    sudo woeusb -v --device /home/kunal/windows-10.iso /dev/sdc
/home/kunal/windows-10.iso  :  Replace it with your iso location.
/dev/sdc : replace it with your USB drive ( check it from lsblk )
Read more ...

How to install Sublime text editor on Ubuntu


Sublime text editor is one of the popular text editor for code, markup and prose that's the line it says on it's official website  and most of the users believe the same.
So let's know how to install it on your Ubuntu Box.

I'm using Ubuntu 18.04  while writing this blog during installation.

Install the GPG key


  #  wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -

Make apt work using https also


  #  sudo apt-get install apt-transport-https

Select the channel to use ( Recommended Stable )
For Stable release use the below command.
  #  echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list 

For Development release use the below command.
  #  echo "deb https://download.sublimetext.com/ apt/dev/" | sudo tee /etc/apt/sources.list.d/sublime-text.list

Update apt sources and install Sublime Text


  #  sudo apt-get update #  
  #  sudo apt-get install sublime-text

To remove/uninstall sublime text editor  use the below command


  #  sudo apt-get remove sublime-text && sudo apt-get autoremove #  


Meanwhile you can anytime install it from Ubuntu Software Center,  it's also enlisted there.

Official Installation Link : Here


Read more ...

How to install MS Paint alternative Pinta on Ubuntu 18.04



Missing MS Paint and it's user friendly featues on Ubuntu, Pinta can address almost all your needs.

Pinta is a Open Source, easy-to-use open-source drawing and image editing program designed for entry-level users. It provides users with a simple yet powerful way to draw and edit images on Linux, Mac, and Windows.

Features:

Drawing Tools
Effects (Blur, Glow, Warp etc)
Image Adjustments (Auto Level, Black, and White, Sepia etc)
Layers
Unlimited undo/redo

And much more...


Here is the video tutorial for the installation.




Read more ...

How to create WiFi Hotspot on Ubuntu 18.04




You might be looking to turn your Ubuntu 18.04 Laptop into to WiFi Hotspot to share your Broadband Connection/Internet Connection across you for your other devices ( Mobile, Ipads, etc ).

So you are just a few clicks away to achieve it, believe me it's as easy as you do within your smartphone.

Steps.

Click on the top right buttons and click on the WiFi option. in the dropdown select Wifi-settings.





Click on 'Turn On Wi-Fi ' option from the button.




Click on the extra options ( 3 dots ), now Click on 'Turn On Wi-Fi Hotspot'





The Hotspot is now active!!

you can find the password and details.

Now any of your devices can discover this Hotspot and connect to it with the given password.



Video Tutorial:



Read more ...

How to Change Ubuntu 18.04 Lock Screen look like MacOS




Here is the Video tutorial for the same.







Read more ...

How to Upgrade Ubuntu 16.04 to Ubuntu 18.04


For Linux Desktop users, this is the trending stuff all going into the Linux World.
Of Course there are a hundreds of Linux distros, but Ubuntu is one of the popular one as per distrowatch.

Ubuntu provids two types of releases

  • Standard release. 
  • Long Term Support (LTS) release. 


So what's the difference between these two ?
All it's support provided by Ubuntu aka Canonical
Standard releases for approx 1 year while Long Term Support is useful for approx 5 years.

Ubuntu 18.04 is an LTS release will be supported till 2023. 

If you are also a Ubuntu Desktop Fan and running Ubuntu 16.04, why wait let's upgrade.

But if you are running ubuntu 16.04 within your server, i recommend you to wait for a minimum of two months from release date.

Backup your data first.

We strongly recommended to backup all your important data from your Desktop to a remote location or into some external storage.

Update all your system packages.

sudo apt-get update
sudo apt-get upgrade

Install Update Manager 

sudo apt-get get install update-manager-core
Once the update-core-manager package has been installed, let's ensure it's config file is set to LTS
Open the file /etc/update-manager/release-upgrades file and make sure Prompt value is set to lts like below.
Prompt=lts

Upgrade your  Ubuntu from 16.04 to 18.04

Once you are done with the updation of file /etc/update-manager/release-upgrades updation , you are all set to upgrade your UBuntu to newer version of LTS that is 18.04.
sudo do-release-upgrade -d 
Once you have executed the upgrade command, you must stick to your computer for some more few minutes.
It will ask for few inputs from your side,  follow the prompts and choose the default ones, the entire upgrade time duration is totally dependent on your internet connectivity speed.

Once completed,  reboot your System and verify your Ubuntu Version.

lsb_release -a
You must see something like below


Distributor ID: Ubuntu
Description: Ubuntu 18.04 LTS
Release: 18.04
Codename: bionic

Read more ...

Ubuntu: Stop pdf to open with default ImageMagick

Surprisingly after migrating from Unity to Cinnamon DE, i found a very annoying and strange behaviour or my default  application  for PDF .

Instead of Document Viewer, it's using ImageMagick to open each PDF document, though i have adobe reader within my Ununtu 16.04, but it's not ready to leave ImageMagick at all.

So now , as always our friend is Terminal, follow the below steps to get rid of ImageMagick.


  • edit the file   ~/.config/mimeapps.list

Now remove the lines that associates PDF to imagemagick in the file:

  • image/pdf=display-im6.desktop
  • image/pdf=display-im6.q16.desktop;display-im6.desktop;
I have performed these steps within my Ubuntu 16.04, hope this gonna work for you too.

Read more ...

Ubuntu : Touchpad and right click not working on Lenovo ideapad 320-15ISK


So these are the problems I encountered after a fresh Ubuntu 16.04 installation on my new Lenovo ideapad 320-15ISK.

  • Strange confusion between right and left click ( functioning opposite ).
  • Couldn't drag any window from touchpad.
  • Right click not working..seems to be disabled.


So below is the code snippet that work like a charm for me.

Do open the below file from terminal.

cyberkeeda@Linux-Maniac:~$ gedit /usr/share/X11/xorg.conf.d/51-synaptics-quirks.conf 

 Copy paste the below snippet at the top of the file.

Section "InputClass"
    Identifier "touchpad catchall"
    Driver "synaptics"
    MatchIsTouchpad "on"
    MatchDevicePath "/dev/input/event*"
    Option "TapButton1" "1"
    Option "TapButton2" "2"
    Option "TapButton3" "3"
    Option "ClickPad" "true"
    Option "EmulateMidButtonTime" "0"
    Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
EndSection



Save and restart your system, hopefully everything must work now.

Thanks to the mint forum


Read more ...

How to reset GNOME 3 Desktop




If you too have ended up messing up your GNOME DE like me, below one liners will surely your key to make your desktop look fresh again.


GNOME3
Use the below commands to Reset GNOME desktop.
rm -rf .gnome .gnome2 .gconf .gconfd .metacity .cache .dbus .dmrc .mission-control .thumbnails ~/.config/dconf/user ~.compiz*

Now,if you want to have a backup of your existing desktop Enviroment.


Run the below command to backup and Reset GNOME3 Desktop enviorment.
It's a one liner, you can make it multiples too ;)

mkdir ./.old-gnome-config/ && mv ./.gnome* ./.old-gnome-config/ && mv .gconf* ./.old-gnome-config/  mv ./.metacity ./.old-gnome-config/ && mv ./.cache ./.old-gnome-config/ && mv ./.dbus ./.old-gnome-config/ && mv ./.dmrc ./.old-gnome-config/ && mv ./.mission-control ./.old-gnome-config/ && mv ./.thumbnails ./.old-gnome-config/   && mv ~/.config/dconf/* ./.old-gnome-config/

Read more ...

Ubuntu : How to access Android device media files through USB


How to  access Media files from Android device, whether it's internal phone storage or external microSD card.

Steps to access Android Devices in Ubuntu, Linux Mint.

Here MTP stands for Media Transfer Protocol, which comes to existese when we connect our Smartphone through USB cable into computer/laptops.

Just Install libmtp, FUSE file system for MTP enabled devices mtpfs using below commands.

# sudo apt-get install go-mtpfs
sudo apt-get install libmtp
sudo apt-get install mtpfs mtp-tools
mtp-detect 
mtp-detect  ==> Run this command to verify your Android Device.

  • Rejack your Android device using USB cable in Ubuntu.
  • In your Android device, swipe down from above in the home screen and click Touch for more options. 
  • In the next menu, select option “Transfer File (MTP)“.
  • If required then, restart your device manager to
    sudo service udev restart

And you are done :) 




Read more ...

Cinnamon desktop shows double desktop icon.

 I got a very weired issue with my Ubuntu Desktop with Cinnamon Display manager.

When i click ony any application to add it into desktop as a shortcut icon,  i found icons/links appearing twice.

The reason is i have added cinnamon as an additional Window manager for my Ubuntu desktop which has Unity as primary which was using nautilus as primary display manager.

To fix it, do run the following commands.


cybeerkeeda@Linux-Maniac:~ sudo pkill nautilus
cybeerkeeda@Linux-Maniac:~ sudo gsettings set org.gnome.desktop.background show-desktop-icons false
Read more ...

Ubuntu : net usershare' returned error 255: mkdir failed on directory /var/run/samba/msg.lock: Permission denied net usershare add: cannot convert name



Nautilus Error message while sharing a directory into local network as

Ubuntu : net usershare' returned error 255: mkdir failed on directory /var/run/samba/msg.lock: Permission denied net usershare add: cannot convert name,.

Solved : Restart Samba services.


/etc/init.d/samba restart
Sounds fizzy, but yes it will fix.
Read more ...

SSH from your favourite browser using Shellinabox




Shellinabox is perfect tool if you have any of the requirement.

Missing Putty or SSH agent on your desktop  ?
Looking for Client less agent to SSH ?
Want to SSH your Linux server or desktop from mobile.

So lets move ahead and just follow the steps to install Shellinabox.

Video tutorial, for video lovers.


ShellinaBox Installation on  CentOS7

Introduction [ Shell In A Box ]

Shell In A Box implements a web server that can export arbitrary command line tools to a web based terminal emulator. This emulator is accessible to any JavaScript and CSS enabled web browser and does not require any additional browser plugins.

Official repository link

More info on official git page :  https://github.com/shellinabox/shellinabox

Installation.

Intsall EPEL Repo.


[root@cyberkeeda ~]# yum install epel-release 


Install shellinabox package


[root@cyberkeeda ~]# yum install shellinabox


Configuration.

Shellinabox configuration file  :    /etc/sysconfig/shellinaboxd


 Lets have a look on the file and allow and modify the important lines

[root@cyberkeeda ~]# vim /etc/sysconfig/shellinaboxd



# Shell in a box daemon configuration
# For details see shellinaboxd man page

# Basic options
USER=shellinabox
GROUP=shellinabox
CERTDIR=/var/lib/shellinabox
PORT=4200
OPTS="--disable-ssl-menu -s /:LOGIN"
OPTS="-t -s /:SSH:192.168.0.181"

PORT

PORT=4200

Chnage PORT to some other to avoid conflict between sytem level ports 

I will be changing it to 6162 

SSH HOST

OPTS="-t -s /:SSH:192.168.0.101"

Chnage IP or Hostname to your default login host, by default shellinabox will ask to login into it, then later you can ssh and jump into n number of servers.


My final config file would look as

# Shell in a box daemon configuration
# For details see shellinaboxd man page

# Basic options
USER=shellinabox
GROUP=shellinabox
CERTDIR=/var/lib/shellinabox
PORT=6162
OPTS="--disable-ssl-menu -s /:LOGIN"
OPTS="-t -s /:SSH:192.168.0.101"


Configuration Done..

Important : 

STOP Firewalld iptables and disable selinux 

#    Service firewalld stop
#    Service iptables stop

Disable SELINUX : change status of selinux to disabled

Finally Restart the shellinaboxd daemon.



[root@cyberkeeda ~]# service shellinaboxd start

Read more ...
Designed By Jackuna