Showing posts with label GUI. Show all posts
Showing posts with label GUI. Show all posts

Wednesday, August 14, 2019

Record and Replay Mouse and Keyboard events for User interface test automation

Record 999000 events of mouse and keyboard

$ cnee --record --events-to-record 999000 --mouse --keyboard -o /tmp/xnee.xns


Replay


$ cnee --replay -f /tmp/xnee.xns -v -e /tmp/xnee.log -ns -sp 15


Xephyr / Xnest para abrir um Xwindow dentro de outro

Monday, January 22, 2018

KDE Shortcuts

https://docs.kde.org/trunk5/en/applications/fundamentals/kbd.html


ShortcutDescription
Ctrl+QQuit
Ctrl+EscSystem Activity
Ctrl+Alt+EscForce Quit
Alt+Space / Alt+F2Run Command Interface
Alt+F4Close


ShortcutDescription
Ctrl+F10Present Windows
Ctrl+F9Present Windows on current desktop
Ctrl+F7Present Windows of current application only
Ctrl+F12Show Desktop
Ctrl+Alt+AActivate Window Demanding Attention
Alt+TabWalk through windows
Alt+Shift+TabWalk through windows (Reverse)
Alt+F3Open the Window Operations menu
Meta+Alt+UpSwitch to Window Above
Meta+Alt+DownSwitch to Window Below
Meta+Alt+LeftSwitch to Window to the Left
Meta+Alt+RightSwitch to Window to the Right

ShortcutDescription
Meta+=Zoom In
Meta+-Zoom Out
Meta+0Zoom Normal
Meta+UpPan Up
Meta+DownPan Down
Meta+LeftPan left
Meta+RightPan Right
ShortcutDescription
Meta+Q / Alt+D,Alt+AManage Activities
Meta+TabNext Activity
Meta+Shift+TabPrevious Activity
Ctrl+F1Switch to Desktop 1
Ctrl+F2Switch to Desktop 2
Ctrl+F3Switch to Desktop 3
Ctrl+F4Switch to Desktop 4

ShortcutDescription
Ctrl+Alt+LLock Screen
Ctrl+Alt+DelLeave
Ctrl+Alt+Shift+DelLogout without confirmation
Ctrl+Alt+Shift+Page DownShut Down without confirmation
Ctrl+Alt+Shift+Page UpReboot without confirmation

Monday, February 8, 2016

xdotool - simulate keyboard input and mouse activity, move and resize windows, etc

xdotool - simulate keyboard input and mouse activity, move and resize windows, etc



$ xdotool mousemove 700 700 && xdotool click 1 && sleep 1 && 
$ xdotool mousemove 300 70 &&  xdotool click --repeat 2 1 && xdotool key shift+alt+F12

 for i in `xdotool search --onlyvisible --any  --class firefox`; do  xdotool getwindowname $i; done

Sunday, September 20, 2015

Graphical Debuger - DDD

DDD - interface grafica para vários debugger incluindo gdb

$ gcc seu_programa.c -o seu_programa
$ ddd seu_programa

How to run an Xwindow Application as another user?

$ xhost +SI:localuser:<user-to-run-as>

Then you can do:

$ sudo su - <user-to-run-as>

And lastly, run your app:
$ krusader

Or
 

Execute this command first:
$ sudo xhost +
Then run the command you want as the other user:
$ sudo -i -u username
$ command you want to run
When you are done:
$ sudo xhost -
 
http://stackoverflow.com/questions/1124171/x11-run-a-gnome-app-as-another-user
http://askubuntu.com/questions/5410/how-to-run-an-application-as-another-user 

Friday, February 21, 2014

Prompt do Cygwin no menu do botão direito no windows explorer

[HKEY_CLASSES_ROOT\directory\shell\cygwin64_bash]
&Cygwin Bash Aqui

[HKEY_CLASSES_ROOT\directory\shell\cygwin64_bash\command]
c:\\cygwin64\\bin\\mintty.exe -i /Cygwin-Terminal.ico /bin/bash --login -c 'cd "%V";bash'

Monday, July 15, 2013

APT-GET para Windows http://chocolatey.org/

APT-GET para Windows http://chocolatey.org/

Wednesday, January 18, 2012

Atalhos do Windows 7

Win + [cima] = Maximizar Janela
Win + [baixo] = Restaurar Janela
Win + [numero] = Atalho para os botões da barra de tarefas
Ctrl + Shift + Esc = Gerenciador de Tarefas


Wednesday, June 23, 2010

Chrome shortcuts

Window tab shorcuts

Action/FunctionShortcut
Open a new windowCtrl + N
Open a new windows in incognito modeCtrl + Shift + N
Open link in a new tabCtrl + Click on link
Open link in new windowShift + Click on link
Close current windowAlt + F4
Open a new tabCtrl + T
Reopen the last tab you have closed1Ctrl + Shift + T
Switch to the tab at the specified positionCtrl + 1 through Ctrl + 8
Switch to the last tabCtrl + 9
Switch to the next tabCtrl + Tab or Ctrl + PgDown
Switch to the previous tabCtrl + Shift + Tab or Ctrl + PgUp
Go to the previous page in your browsing history for the tabBackspace, or press Alt + Left Arrow
Go to the next page in your browsing history for the tabShift + Backspace, or press Alt + Right Arrow
Close current tab or pop-upCtrl + W or Ctrl + F4
Open your homepageAlt + Home
Open a file from your computer in Google ChromeCtrl + O, then select file
1 Google Chrome remembers the last 10 tabs that you have closed
Address Bar Shortcuts

Action/FunctionShortcut
Add (www.) and (.com) to your input in the address bar and open the web addressType the part of the web address that is between (www.) and (.com), then press Ctrl + Enter
Highlight content in the web address areaF6 or Ctrl + L or Alt + D
Open your web address in a new tabType a web address, then press Alt + Enter
Places a (?) in the address bar. Type a search term after the (?) to perform a search using your default search engine.Ctrl + K or Ctrl + E
Jump to the previous word in the address barPlace your cursor in the address bar, the press Ctrl + Left Arrow
Jump to the next word in the address barPlace your cursor in the address bar, then press Ctrl + Right Arrow
Delete the previous word in the address barPlace your cursor in the address bar, then press Ctrl + Backspace



Shortcuts to Open Chrome Features

Action/FunctionShortcut
Toggle bookmarks bar on and offCtrl + B
View the History pageCtrl + H
View the Downloads pageCtrl + J
View the Task ManagerShift + Esc



Webpage Shortcuts

Action/FunctionShortcut
Print your current pageCtrl + P
Reload current pageF5
Stop page loadingEsc
Reload current page, ignoring cached contentCtrl + F5 or Shift + F5
Scroll down the web pageSpace bar
Go to the top of the pageHome
Go to the bottom of the pageEnd
Download linkPress Alt, then click the link
Open find-in-page boxCtrl + F
Find next match for your input in the find-in-page boxCtrl + G or F3
Find previous match for your input in the find-in-page boxCtrl + Shift + G or Shift + F3
View sourceCtrl + U
Bookmark your current webpageCtrl + D
Make text largerCtrl + +
Make text smallerCtrl + -
Return to normal text sizeCtrl + 0



Tuesday, February 16, 2010

Colaborative tools - Work in group

Colaborative Debug  tools

Share the code with syntax highlight

http://pastebin.com/ (Show differences between versions)
http://codepad.org/ (Show compilations errors and execute the program online)
http://pastie.org/ (Themes for coloring diferently of code)

http://flockdraw.com/ (Compartilha uma tela de desenho em tempo real)

Blog Archive