Re: Guacamole Menu

2024-02-21 Thread emerson . bezerra
Thanks Stefan, Thanks Nick.

However, how to do this?
""Stefan's suggestion was to allow you to send the key combo to the
application.""

All the best
---
Emerson Bezerra



Em qua., 21 de fev. de 2024 às 11:12, Nick Couchman 
escreveu:

> On Wed, Feb 21, 2024 at 8:08 AM  wrote:
>
>> Sorry, maybe I wasn't clear.
>>
>> The legacy application uses the Ctrl + Alt + Shift key combination to
>> perform a task.
>>
>>
> I think that was clear and understood - Stefan's suggestion was to allow
> you to send the key combo to the application.
>
>
>> As we are only virtualizing the application, what we would like is to
>> either disable the guacamole menu with this key combination, or change it,
>> if possible.
>>
>
> There's no way to do this without modifying the source code.
>
> -Nick
>
>>


Re: Guacamole Menu

2024-02-21 Thread Nick Couchman
On Wed, Feb 21, 2024 at 8:08 AM  wrote:

> Sorry, maybe I wasn't clear.
>
> The legacy application uses the Ctrl + Alt + Shift key combination to
> perform a task.
>
>
I think that was clear and understood - Stefan's suggestion was to allow
you to send the key combo to the application.


> As we are only virtualizing the application, what we would like is to
> either disable the guacamole menu with this key combination, or change it,
> if possible.
>

There's no way to do this without modifying the source code.

-Nick

>


Re: Guacamole Menu

2024-02-21 Thread emerson . bezerra
Sorry, maybe I wasn't clear.

The legacy application uses the Ctrl + Alt + Shift key combination to
perform a task.

As we are only virtualizing the application, what we would like is to
either disable the guacamole menu with this key combination, or change it,
if possible.
---
Emerson Bezerra



Em qua., 21 de fev. de 2024 às 04:52, Stefan Bogdan Cimpeanu <
bog...@cimpeanu.org> escreveu:

> You can use the on-screen keyboard input method from the guacamole menu to
> send the key combinations required.
>
> Regards,
> Bogdan
> On 21 Feb 2024 at 03:47 +0200, emerson.beze...@gmail.com, wrote:
>
> Hi.
>
> We are working on virtualizing a legacy application.
>
> Unfortunately, the application uses the same keys to open the Guacamole
> Menu. Ctrl + Alt + Shift
>
> Is it possible to change or disable them?
>
> All the best from Brazil.
> ---
> Emerson Bezerra
> ---
>
>


Re: Guacamole Menu

2024-02-20 Thread Stefan Bogdan Cimpeanu
You can use the on-screen keyboard input method from the guacamole menu to send 
the key combinations required.

Regards,
Bogdan
On 21 Feb 2024 at 03:47 +0200, emerson.beze...@gmail.com, wrote:
> Hi.
>
> We are working on virtualizing a legacy application.
>
> Unfortunately, the application uses the same keys to open the Guacamole Menu. 
> Ctrl + Alt + Shift
>
> Is it possible to change or disable them?
>
> All the best from Brazil.
> ---
> Emerson Bezerra
> ---


Guacamole Menu

2024-02-20 Thread emerson . bezerra
Hi.

We are working on virtualizing a legacy application.

Unfortunately, the application uses the same keys to open the Guacamole
Menu. Ctrl + Alt + Shift

Is it possible to change or disable them?

All the best from Brazil.
---
Emerson Bezerra
---


Re: Easy access to the guacamole menu via a button

2021-10-25 Thread Maxim Doucet
FYI I updated the ticket at
https://issues.apache.org/jira/browse/GUACAMOLE-1424?focusedCommentId=17433917=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17433917

Best,
Maxim

Le mer. 29 sept. 2021 à 09:13, Maxim Doucet <
maxim.dou...@qarnot-computing.com> a écrit :

> I was wondering if I should open a feature request for this on
> https://issues.apache.org/jira/browse/GUACAMOLE
>
> But then I stumbled upon
> https://issues.apache.org/jira/browse/GUACAMOLE-1424 which basically want
> to achieve the same thing (use a button or an always on top menu bar to
> open the guacamole menu) but not for the same use case (the reporter is
> interested by guacamole use on a smartphone guacamole when I have a more
> general use case in mind with a button also for the "classic" desktop
> browser).
>
> Would it make sense if I add the context of my use case to the feature
> request (and maybe change the title to reflect that it's a proposal for
> desktop+mobile browsers) or is it better to create another ticket?
>
> Best,
> Maxim
>
> Le lun. 27 sept. 2021 à 22:53, Maxim Doucet <
> maxim.dou...@qarnot-computing.com> a écrit :
>
>> Hello,
>>
>> Based on feedback from clients (and +100 3D artists at a previous job),
>> the fact that the guacamole menu is only accessible via ctrl-alt-shift
>> makes guacamole a bit hard to adopt for new users. This is also true for
>> users coming back to guacamole after several months using other remote
>> tools (like chrome remote desktop or even novnc): they tend to forget that,
>> in guacamole, the sidebar menu is not accessible visually by clicking on a
>> button (they search for a "visual hint" to access the guacamole menu but
>> there is none). Note that they are searching for the guacamole menu/sidebar
>> because usually they need to press ctrl-alt-del on the remote machine or
>> they want to copy-paste text.
>>
>> Is it something that has (maybe) been already considered? And what could
>> be the options to add this feature? By modifying guacamole's code or
>> developing an extension or maybe by integrating guacamole in another
>> (web)app?
>>
>> In any case, thanks for such a great tool!
>>
>> --
>> Maxim Doucet
>> DevOps @ Qarnot
>>
>

-- 
Maxim Doucet
DevOps @ Qarnot


Re: Easy access to the guacamole menu via a button

2021-09-29 Thread Maxim Doucet
I was wondering if I should open a feature request for this on
https://issues.apache.org/jira/browse/GUACAMOLE

But then I stumbled upon
https://issues.apache.org/jira/browse/GUACAMOLE-1424 which basically want
to achieve the same thing (use a button or an always on top menu bar to
open the guacamole menu) but not for the same use case (the reporter is
interested by guacamole use on a smartphone guacamole when I have a more
general use case in mind with a button also for the "classic" desktop
browser).

Would it make sense if I add the context of my use case to the feature
request (and maybe change the title to reflect that it's a proposal for
desktop+mobile browsers) or is it better to create another ticket?

Best,
Maxim

Le lun. 27 sept. 2021 à 22:53, Maxim Doucet <
maxim.dou...@qarnot-computing.com> a écrit :

> Hello,
>
> Based on feedback from clients (and +100 3D artists at a previous job),
> the fact that the guacamole menu is only accessible via ctrl-alt-shift
> makes guacamole a bit hard to adopt for new users. This is also true for
> users coming back to guacamole after several months using other remote
> tools (like chrome remote desktop or even novnc): they tend to forget that,
> in guacamole, the sidebar menu is not accessible visually by clicking on a
> button (they search for a "visual hint" to access the guacamole menu but
> there is none). Note that they are searching for the guacamole menu/sidebar
> because usually they need to press ctrl-alt-del on the remote machine or
> they want to copy-paste text.
>
> Is it something that has (maybe) been already considered? And what could
> be the options to add this feature? By modifying guacamole's code or
> developing an extension or maybe by integrating guacamole in another
> (web)app?
>
> In any case, thanks for such a great tool!
>
> --
> Maxim Doucet
> DevOps @ Qarnot
>


Easy access to the guacamole menu via a button

2021-09-27 Thread Maxim Doucet
Hello,

Based on feedback from clients (and +100 3D artists at a previous job), the
fact that the guacamole menu is only accessible via ctrl-alt-shift makes
guacamole a bit hard to adopt for new users. This is also true for users
coming back to guacamole after several months using other remote tools
(like chrome remote desktop or even novnc): they tend to forget that, in
guacamole, the sidebar menu is not accessible visually by clicking on a
button (they search for a "visual hint" to access the guacamole menu but
there is none). Note that they are searching for the guacamole menu/sidebar
because usually they need to press ctrl-alt-del on the remote machine or
they want to copy-paste text.

Is it something that has (maybe) been already considered? And what could be
the options to add this feature? By modifying guacamole's code or
developing an extension or maybe by integrating guacamole in another
(web)app?

In any case, thanks for such a great tool!

-- 
Maxim Doucet
DevOps @ Qarnot


Re: Guacamole Menu shortcut

2020-04-01 Thread Nick Couchman
On Wed, Apr 1, 2020 at 5:28 AM Robert Susta 
wrote:

> I've located a part of client code that defines what key-combination to
> watch
> for in guacamole/app/client/controllers/clientController.js
>

Modifying the code directly inside the deployed Tomcat application is very
unreliable in terms of whether it will work or not - I wouldn't try that.
If you need to try it, you'll want to download the source code, edit the
file in the source code, build the packages, and then re-deploy the new WAR
file that is built.

-Nick


Re: Guacamole Menu shortcut

2020-04-01 Thread Robert Susta
I've located a part of client code that defines what key-combination to watch
for in guacamole/app/client/controllers/clientController.js

var SHIFT_KEYS  = {0xFFE1 : true, 0xFFE2 : true},
ALT_KEYS= {0xFFE9 : true, 0xFFEA : true, 0xFE03 : true,
   0xFFE7 : true, 0xFFE8 : true},
CTRL_KEYS   = {0xFFE3 : true, 0xFFE4 : true},
MENU_KEYS   = angular.extend({}, SHIFT_KEYS, ALT_KEYS, CTRL_KEYS);

I've modified it like this to react on CTRL+ALT+SHIFT+F12:

var SHIFT_KEYS  = {0xFFE1 : true, 0xFFE2 : true},
ALT_KEYS= {0xFFE9 : true, 0xFFEA : true, 0xFE03 : true,
   0xFFE7 : true, 0xFFE8 : true},
CTRL_KEYS   = {0xFFE3 : true, 0xFFE4 : true},
ACTION_KEY  = {0xFFC9 : true},
MENU_KEYS   = angular.extend({}, SHIFT_KEYS, ALT_KEYS, CTRL_KEYS,
ACTION_KEY);

I've found the 0xFFC9 keycode for F12 here:
https://guacamole.apache.org/doc/guacamole-common-js/Keyboard.js.html

it looks like it won't be that easy - it doesn't work. I restarted the whole
server afterwards, cleared browser offline files and cookies, used a clean
browser I never use: Edge, just to be sure nothing was left in some cache.
It still opened the menu on CTRL+ALT+SHIFT alone.
I need advice.



--
Sent from: 
http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org



Re: Guacamole Menu shortcut

2020-03-30 Thread Robert Susta
mjumper wrote
> Ctrl+Alt+Shift was actually chosen carefully and specifically to *avoid*
> interfering with other applications. With Guacamole using this shortcut
> for
> several years, and with no similar complaints about Ctrl+Alt+Shift
> colliding with other applications in all that time, I'm surprised to hear
> that there are any common applications using the same sequence.
> - Mike

I've made some research on shortcuts. I found 2 shortcuts in M$ Word that
use the CTRL+ALT+SHIFT combo. They're hardly commonly used :) but there they
are. In QuarkXPress and Adobe Indesign (possibly other Adobe SW as well)
there are a some of them used very often. We are a Newspaper publishing
house and with this Corona madness a lot of people are working remotely and
these applications are essential.
I can see how nobody complained - average users tend to remember up to 10
common keystrokes and use mouse for the rest. With our people we are not
talking about average office users but in this case the graphics department
and they use keyboard A LOT 'cause it's much much faster and they really
need to be quick near the time of closure. Hell they even exploited the
mouse up to commonly used triple-, quadruple- and even quintuple-click...

On second thought - the problem with Guacamole is that it reacts to the
combo on last of the three keys PRESSED. This interference could be avoided
if Guacamole reacted on RELEASE thus allowing a fourth key to be pressed and
reacted upon the whole key combination. This way you would not need to
change the combo itself.
This decision and programming won't happen over night and we sort of need
the solution yesterday, so if someone coud point me to a specific file where
I can redefine the shortcut to, say Ctrl+Alt+Shift+F12, it'd be most
appreciated.




--
Sent from: 
http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org



Re: Guacamole Menu shortcut

2020-03-30 Thread Robert Susta
They use CTRL+ALT+SHIFT+SOMETHING but Guacamole immediately captures
CTRL+ALT+SHIFT and toggles the menu so you have no chance to press another
key for the app.
Where can I redefine it? I can manage some php or java code alteration.

Alternative? Well anything specific up to a character key at the end will
do... blocking 1 shortcut is way better than the whole combination group.



--
Sent from: 
http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org



Re: Guacamole Menu shortcut

2020-03-29 Thread Mike Jumper
On Sun, Mar 29, 2020 at 1:03 PM Robert Susta 
wrote:

> Hello.
>
> CTRL+ALT+SHIFT shortcut that shows the Guacamole Menu sidebar is very
> poorly
> chosen. It interferes with a number of other applications. User is unable
> to
> use CTRL+ALT+SHIFT+ANYTHING shortcut and that is quite common in many
> applications - QuarkXPress, Adobe indesign, Corel Draw... This really
> undermines productivity.
>

Do you have a suggestion for an alternative? Are these applications using
Ctrl+Alt+Shift alone, as well, or just Ctrl+Alt+Shift+Something?

Ctrl+Alt+Shift was actually chosen carefully and specifically to *avoid*
interfering with other applications. With Guacamole using this shortcut for
several years, and with no similar complaints about Ctrl+Alt+Shift
colliding with other applications in all that time, I'm surprised to hear
that there are any common applications using the same sequence.

- Mike


Re: Guacamole Menu shortcut

2020-03-29 Thread Amarjeet Singh
It can be redefined. You need to change client side code.
As of there is no configuration  for it.

On Mon, 30 Mar 2020, 01:33 Robert Susta,  wrote:

> Hello.
>
> CTRL+ALT+SHIFT shortcut that shows the Guacamole Menu sidebar is very
> poorly
> chosen. It interferes with a number of other applications. User is unable
> to
> use CTRL+ALT+SHIFT+ANYTHING shortcut and that is quite common in many
> applications - QuarkXPress, Adobe indesign, Corel Draw... This really
> undermines productivity.
> I searched through the forums to fing a way to disable it. A couple of
> users
> wanted that for various other reasons and no solution was provided, just
> their reasons were questioned.
> I tried to find some information about how this unlucky shortcut can be
> altered. No luck either.
> Can anyone help me redefine this shortcut to something else or disable it
> altogether?
>
> Otherwise... good work!
>
> Thanks.
>
>
>
> --
> Sent from:
> http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/
>
> -
> To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
> For additional commands, e-mail: user-h...@guacamole.apache.org
>
>


Guacamole Menu shortcut

2020-03-29 Thread Robert Susta
Hello.

CTRL+ALT+SHIFT shortcut that shows the Guacamole Menu sidebar is very poorly
chosen. It interferes with a number of other applications. User is unable to
use CTRL+ALT+SHIFT+ANYTHING shortcut and that is quite common in many
applications - QuarkXPress, Adobe indesign, Corel Draw... This really
undermines productivity.
I searched through the forums to fing a way to disable it. A couple of users
wanted that for various other reasons and no solution was provided, just
their reasons were questioned.
I tried to find some information about how this unlucky shortcut can be
altered. No luck either.
Can anyone help me redefine this shortcut to something else or disable it
altogether?

Otherwise... good work!

Thanks.



--
Sent from: 
http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org



Re: programmatically open guacamole menu

2018-08-16 Thread Nick Couchman
On Thu, Aug 16, 2018 at 8:31 PM Yi Sun  wrote:

> Thanks for the help, Nick, at this time I'm still exploring guacamole.js
> and Keyboard.js to see how to send ctrl+shif+alt event to Guacamole.
>
> In my code I just tried to create an Guacamole.Keyboard and set
> modifierstate but that does not work for me..
>
> var state =new Guacamole.Keyboard.ModifierState();
> kb.modifiers.alt=true;
> kb.modifiers.ctrl=true;
> kb.modifiers.shift=true;
>

I don't think that setting this will actually make the JavaScript
application recognize a keypress.  This would more likely send those
modifiers through to the client, but not actually trigger it.

However, if you're trying to create a button to trigger the menu, I
wouldn't worry about emulating the Ctrl-Alt-Shift keypress - you should be
able to create a method that opens the menu similar to the one that does it
when those keys are pressed.  If you look at the clientController.js file
around these lines:

https://github.com/apache/guacamole-client/blob/7d822df5a3b040bf61d1055fe7bffaf1996c0983/guacamole/src/main/webapp/app/client/controllers/clientController.js#L544-L547



You'll see the code block that is called when the client controller detects
the Ctrl-Shift-Alt key-combo - you should be able to create a method that
can be called by your button that does something similar to this.

-Nick

>


Re: programmatically open guacamole menu

2018-08-16 Thread Yi Sun
Thanks for the help, Nick, at this time I'm still exploring guacamole.js and 
Keyboard.js to see how to send ctrl+shif+alt event to Guacamole.

In my code I just tried to create an Guacamole.Keyboard and set modifierstate 
but that does not work for me..

var state =new Guacamole.Keyboard.ModifierState();
kb.modifiers.alt=true;
kb.modifiers.ctrl=true;
kb.modifiers.shift=true;

I'm not sure where is the best place to make this additions so as a starting 
point, I modified the index.html in gucamole folder in tomcat webapp, created a 
button and assign onclick event to that button and trying to set modifierstate 
within the onclick event.

Yi

On Thu, 2018-08-16 at 05:14 -0400, Nick Couchman wrote:
On Thu, Aug 16, 2018 at 2:56 AM Yi Sun 
mailto:y.s...@uq.edu.au>> wrote:
I'm trying to open the guacamole menu programmatically.

Here is what I'm doing currently,

I created a button in guacamole/index.html so user will alway seeing a
button on their guacamole screen. I want the user to be able to open
guacamole menu by clicking this button, instead of press ctl+alt+shift

In the onclick event of that button, I'm trying to create a
ctrl+shift+alt key event, and dispatch the event to browser, but still
haven't got it working..


Perhaps you could share the code you've written to try to get this to work?  
You can paste it in here, or if you have it forked on Github just paste links 
to the files you've modified.

-Nick


Re: programmatically open guacamole menu

2018-08-16 Thread Nick Couchman
On Thu, Aug 16, 2018 at 2:56 AM Yi Sun  wrote:

> I'm trying to open the guacamole menu programmatically.
>
> Here is what I'm doing currently,
>
> I created a button in guacamole/index.html so user will alway seeing a
> button on their guacamole screen. I want the user to be able to open
> guacamole menu by clicking this button, instead of press ctl+alt+shift
>
> In the onclick event of that button, I'm trying to create a
> ctrl+shift+alt key event, and dispatch the event to browser, but still
> haven't got it working..
>
>
Perhaps you could share the code you've written to try to get this to
work?  You can paste it in here, or if you have it forked on Github just
paste links to the files you've modified.

-Nick


programmatically open guacamole menu

2018-08-16 Thread Yi Sun
I'm trying to open the guacamole menu programmatically.

Here is what I'm doing currently,

I created a button in guacamole/index.html so user will alway seeing a
button on their guacamole screen. I want the user to be able to open
guacamole menu by clicking this button, instead of press ctl+alt+shift

In the onclick event of that button, I'm trying to create a
ctrl+shift+alt key event, and dispatch the event to browser, but still
haven't got it working..

Is there another way to achieve this funcationality?

Thanks,
Yi