Code: Select all
xdotool behave_screen_edge top click 3
the top of the screen, and no need to click the mouse at all.
So again, yes you are on the right track.
Code: Select all
xdotool behave_screen_edge top click 3
Yes, i finally saw it. A small gear icon near to 'sign in' button. Damn it!. I select openbox an logged in to a black screen but i think it is working because i see the openbox context menu when i click with the right mouse button. How can i access my gnome dashboard and make my panels visible now that i am logged in to openbox?GarryRicketson wrote: Are you sure ? it is the little "wrench tool" thing, up in the upper right corner, you have to click it.
I think on some it is a "cog wheel" thing. Look close at the screen shot, I posted
and if you click it , it gives a full screen view.
Even if Open Box is not installed, there should be 2 or 3 Gnome options,
This is especially important if you do not fully understand what the script does.I found this here, : some url,... and it says use this :Code: Select all
some script code
Code: Select all
$ gnome-panel
I am using debian on virtual machine and maybe that is the reason it doesn't work for me. But if it is working for you that mean the script is right. I haven't decided yet to move completely to linux so i am testing different distros on virtual machine and it seems debian with gnome is what i like the most. But i want to see if i can make equivalent to the autohotkey scripts that i have on Windows because they make my work a lot more productive.GarryRicketson wrote:No you are not completely wrong, It does work,..I just now tried it.Code: Select all
by emil_21 »xdotool behave_screen_edge --delay 500 top click 1
Maybe that will work.I think i have to install the gnome panel inside openbox.
I had not tried the command you showed on the Debian installation,y GarryRicketson » but it could be,... I tried it on both, my HD (bare metal), Debian 7,
Code: Select all
xdotool click 3
from:behave_screen_edge [options] where command ...Code: Select all
man xdotool
Bind an action to events when the mouse hits the screen edge or
corner.
Options are:
Code: Select all
xdotool version: xdotool-3.20150503.1v0
Code: Select all
xdotool (1:2.20100701.2961-3
Because autohotkey scripts are increasing my productivity.debiman wrote:
so i am asking, what is this thing that led you to believe that you need linux' equivalent of autohotkey?
Code: Select all
if (firefox window is the active window and the mouse touch the bottom screen)
send action (keyboard key press)
What does the manual say?emil_21 wrote:By the way, is it possible for xdotool to detect active window?
Yes it is possible maybe something like this:by emil_21 » By the way, is it possible for xdotool to detect active window?
Code: Select all
focused_window_id=$(xdotool getwindowfocus)
active_window_id=$(xdotool getactivewindow)
active_window_pid=$(xdotool getwindowpid "$active_window_id")
Code: Select all
xdotool getactivewindow getwindowname
Code: Select all
xdotool search --name firefox
The first command it demonstrates,Me : http://tuxradar.com/content/xdotool-script-your-mouseHave a peek at the manual page () to see a full list of available options.Code: Select all
man xdotool
Code: Select all
xdotool click 1
Code: Select all
xdotool click 1
Code: Select all
xdotool Parole “Firefox” windowactivate
Code: Select all
xdotool search “Parole” windowactivate --sync mousemove
--window %1 0 0
I do find the parts in the manual about assigning the commands to a "hotkey"To wrap up, in this tutorial we’ve explored various different ways to interact with the GUI: moving the mouse, sending virtual clicks and drags, and finding specific windows. Putting these actions together, and exploring more possibilities with the xdotool manual page, you can automate pretty much everything on your desktop, leaving you with more time to spend on important things.
Code: Select all
xdotool click 1
very nice, but you still haven't told us what you want to achieve. but one step closeremil_21 wrote:Because autohotkey scripts are increasing my productivity.
By the way, is it possible for xdotool to detect active window?
I am sorry, I am not trying to "steal the show",..or anything like that,Post by debiman » 2017-04-18 11:52
@garry one more time steals the show by elaborating on man pages.
and i really mean elaborating...
I wonder if the OP ever tried this,..he says it does exactly what the OP wants ?phenest wrote:But Gnome Shell only shows the currently focused window and no others. So you would need a Shell Extension such as gnome-shell-extension-taskbar which will do exactly what you want.emil_21 wrote:What i want to do is to bring window in focus just by hovering on the window button on the panel.
...
I am using debian 8.6 with Gnome DE.
Just like everything else, the only way I know of to learn to use the program will be to read the manual and documentation. There are also some tutorialsdesktop automation utility - common data
AutoKey is a desktop automation utility for Linux and X11. It allows the automation of virtually any task by responding to typed abbreviations and hotkeys. It offers a full-featured GUI that makes it highly accessible for novices, as well as a scripting interface offering the full flexibility and power of the Python language.
This package contains the common data shared between the various frontends
I need a script that can do this: when the mouse touch the bottom of the screen, and the firefox is the active window, the script to send ctrl+shift+e key press to the firefox window. This will open the tab groups panel in firefox. This way i can switch between tabs by clicking on the tab thumbnail in the tab group panel, since i like my tabbar to be hidden.debiman wrote: very nice, but you still haven't told us what you want to achieve. but one step closer
anyhow, you've been given plenty of hints now, it's your turn now.