set the default printer by command line kde linux


lpstat -p -d | awk '/printer/{print $2}'

then for example

echo "Officejet-4500-G510g-m" > ~/.cups/lpoptions

google drive kde kubuntu neon


do want manage your google drive files with dolphin ?

install this :

sudo apt-get install kio-gdrive

then just open dolphin—-> network folders —> Google drive and add your account

if for some reason you can’t find it just launch this :

kioclient5 exec gdrive:/

and now you can manage your files 😀

Lansharefiles_20180316_212912.png

kubuntu 18.04 connect to wifi using terminal bash konsole


to connect :

  

nmcli device wifi rescan ; nmcli device wifi list 

and you should get something like that

 
IN-USE  SSID  MODE   CHAN  RATE        SIGNAL  BARS  SECURITY 
*       SUPERMAN    Infra  1     195 Mbit/s  37      â–‚â–„__  WPA2    

so now HERE IT IS:

 nmcli device wifi connect SSID-Name password YOURSILLYLONGPASSWORD

usefull stuff

 nmcli radio
 
WIFI-HW  WIFI     WWAN-HW  WWAN    
enabled  enabled  enabled  enabled 
 
nmcli device
  
DEVICE  TYPE      STATE      CONNECTION 
wlp7s0  wifi      connected  SUPERMAN 2       
enp9s0  ethernet  unmanaged  --         
lo      loopback  unmanaged  --