Professional Documents
Culture Documents
Linux Knowedge Base
Linux Knowedge Base
Mouseusb:
1. Kerneldrivermethod: disable: rmmodusbhib enable: modprobeusbhib 2. Xinputsmethod:/media/MegaPort/Library/books/uncat/// xinputsetprop"LogitechUSBReceiver""DeviceEnabled"1 WherethenamecanbefoundbylistingtheXinputs: xinputlist|greppointer wethensearchfora3rdcolumnwithaslavekeyboard.
Disablekeyboard:
sleep3; xinputsetprop"ATTranslatedSet2keyboard""DeviceEnabled"0; sleep5;
Reenable:
xinputsetprop"ATTranslatedSet2keyboard""DeviceEnabled"1 WherethenamecanbefoundbylistingtheXinputs: xinputlist|grepkeyboard wethensearchfora3rdcolumnwithaslavekeyboard.
Turnoffthescreen:
xsetdisplay:0dpmsforceoff;
Turnitonagain:
xsetdisplay:0dpmsforceon
Compareadirectory:
diffrdir_adir_b
PDF:
Crackpassword:
pdfcrackmypdf.pdf willcracktheuserpassword,tocracktheownerpassword pdfcrackmypdf.pdfo
UnlockpasswordprotectedPDFwithauserpassword:
pdftkmypdf.pdfinput_pwMYPASSWORDoutputunlocked.pdf
TodothisforadirectorythathasPDF's:
forpdfin*.pdf;do pdftk"$pdf"input_pwMYPASSWORDoutput"uncrypt/$pdf"; done whereofcourseyouneedtomakeanewdirectorye.guncrypt.