Re: Gnome: I'm looking for a way to make a button on tray or top bar that does what alt-tab function key does

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have fount this shell solution:
https://linuxhint.com/xdotool_stimulate_mouse_clicks_and_keystrokes/

Run this line command for one tab:
   xdotool keydown alt key Tab sleep 0.1 keyup alt
   
and this for two tabs:
   xdotool keydown alt key Tab sleep 0.1 key Tab sleep 0.1 keyup alt
   
I have put it into a argos extension function, es.:
   echo "Alt tab|iconName=object-flip-horizontal terminal=false bash='xdotool keydown alt key Tab sleep 0.1 keyup alt'"
https://extensions.gnome.org/extension/1176/argos/

Now I can switch from windows using only mouse.

While waiting for a better solution, this work for me.

Thanks
Dario

Il giorno gio, 07/09/2023 alle 21.46 +0930, Tim via users ha scritto:
> On Thu, 2023-09-07 at 13:04 +0200, Dario Lesca wrote:
> > Some time I want switch to other windows,like alt-tab do, without
> > press
> > alt-tab button but use the mouse and click on a button or function
> > present on top bar
> > 
> > I don't think there are any extensions that do this, so I'd like to
> > try
> > to make one, but I don't know where to start
> 
> On old Gnome, and Mate, there's a "window list" app that can be added
> to a panel (the top and bottom bars).  Right-click in the top or
> bottom
> bar, and look through the "add to panel" choices it gives you.
>  
> -- 
>  
> uname -rsvp
> Linux 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023
> x86_64
>  
> Boilerplate:  All unexpected mail to my mailbox is automatically
> deleted.
> I will only get to see the messages that are posted to the mailing
> list.
>  
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines:
> https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux