kwin crashed ! wtf i can’t move windows how to solve the problem without restarting


ok let’s face it , when you are eating a lots of ram or maybe ,like me, when you are using the computer without a restart since …. 4 weeks well … kwin could even crash but i mean … i don’t want restart wtf it’s linux after all. But many times you can’t write or launch a terminal so easily like in this screenshot .. i was not able to write …( there is  a way btw  to write in the konsole  and it’s this => by double-clickin the window of the konsole where you can read the session name at the bottom RIGHT… where you can read sem ~bash but this way could be more usefull in some situations.

montorioadf 3

let’s see what you can do …

CRTL ALT F7 It’s your current session , so you need to restart another one with

    • CRTL ALT F6 for example or f5 etc etc                                                                                 now you have the fuckin terminal login
    • make your silly login
    • now you should do this
    • export DISPLAY=:0 ; kwin --replace
    • now if kwin doesn’t crash you can go back in your session with CRTL ALT F7

 

Now seriously …. you have to do that everytime? no of course i suggest to paste in your bashrc (LOCATED IN $HOME/.bashrc)

this nasty code : D NB MAKE SURE TO COPY WELL POSSIBILE ERRORS COPYING FROM WORDPRESS COULD OCCUR

kwinrestarter(){
export $(dbus-session)
export DISPLAY=:0
kwin --replace 
}

Now you can do

source ~/.bashrc          #or  source $HOME/.bashrc

and so … magically  :)

kwinrestarter

ERRORS YOU COULD SEE ….

you could see this error that i solved in a root way😀

kwin crashing saying that  you need to do do this

export $(dbus-session)

but of course i did it but it did not work😀 because i had this silly error

unable to create .dbus/session-bus

why ? because for some reasons i had a fucking permission problem well removed the silly folder with

sudo rm -R ~/.dbus

then again

kwin --replace

BASH: How to check if your router has a door open


You want to check if your router has correctly open a door ?

k dude here we go

the fist get your ip from internet
the second command uses NMAP , sudo apt-get install nmap

it checks a range of port UDP and TCP from 20000 to 20001
brainless should not try this at home😀 but with UDP THERE IS A PROBLEM WITH THIS CODE SO SEE THE NEXT

ip=$(dig +short myip.opendns.com @resolver1.opendns.com); nmap -p U:20000-20001,T:20000-20001 $ip 

USE ROOT USER TO RUN THIS :d

 ip=$(dig +short myip.opendns.com @resolver1.opendns.com); nmap -T5 -A -p 20000 -sU $ip

Connect GOPRO 4 session to LINUX KUBUNTU with WIFI and watch \ download video and photos


Turn on the wifi in your gopro 4 session
connect with kubuntu like it was a normal wifi (need to reset the password ? just connect with the your smartphone to your gopro go in settings wrench icon and finally on info camera here you can change name and password.)
open the browser at this link

10.5.5.9:8080

welcome into your gopro drive via wifi

need to save the file ? right click and save the link as🙂 or just see the file😀

usefull stuff , you can’t connect correctly with usb cable? it can not be mount ? probably you need this

sudo apt-get -y install exfat-utils exfat-fuse

gopronowardevkubuntuwifi1