
Hi all, First time posting here. I'm looking to find the name and location of the file/folder that manages the ChimeraX in-app browser. The way I launch the browser is to go to 'tools' in the top bar, then press 'more tools', and then it brings up the ChimeraX Toolshed Where is the .exe file that controls this in app browser? I am attempting to find the .exe file and black list it, so we can use ChimeraX for an exam Thanks,

Unfortunately ChimeraX is the .exe. The code for in-app browser is part of the Qt user interface toolkit that ChimeraX uses, and is used in many different ways within ChimeraX. For example, the ChimeraX log is shown using the HTML widget that the in-app browser (help viewer) uses. You could edit the ChimeraX Python code to do nothing when asked to show a URL. Edit ChimeraX/bin/Lib/site-packages/chimerax/help_viewer/__init__.py and make the first line of the show_url function be the "return" statement. You'll have to check with the examiners if that is sufficient. Good luck, Greg On 2/26/2025 3:23 AM, m.i.bashir--- via ChimeraX-users wrote:
Hi all,
First time posting here. I'm looking to find the name and location of the file/folder that manages the ChimeraX in-app browser. The way I launch the browser is to go to 'tools' in the top bar, then press 'more tools', and then it brings up the ChimeraX Toolshed
Where is the .exe file that controls this in app browser? I am attempting to find the .exe file and black list it, so we can use ChimeraX for an exam
Thanks,

Thanks Greg, I'm one of the examiners. We'll give this a try. We're running an invigilated exam focusing on protein structure function. We want students to use ChimeraX to create figures to support their exam essays, so want them to be able to access and explore RCSB for PDB coordinates but didn't want them accessing full journal articles via DOIs using ChimeraX's internal browser (eg when clicking more jnfo after loading PDB entry). We'll try your edit suggestion. Thanks, Scott _______________________________________ Dr Scott A. White SFHEA Email<mailto:s.a.white@bham.ac.uk> | LinkedIn<https://www.linkedin.com/in/scott-white-biosciences-uob/> | Canvas<https://canvas.bham.ac.uk/about/1539> Student Office Hours Please see my Canvas Profile<https://canvas.bham.ac.uk/about/1539> for drop-in times ______________________________________ ________________________________ From: Greg Couch via ChimeraX-users <chimerax-users@cgl.ucsf.edu> Sent: 26 February 2025 6:21 PM To: Ray Bashir (Collaborative Teaching Laboratory) <m.i.bashir@bham.ac.uk>; chimerax-users@cgl.ucsf.edu <chimerax-users@cgl.ucsf.edu> Subject: [chimerax-users] Re: What is the .exe file for ChimeraX Toolbox? CAUTION: This email originated from outside the organisation. Do not click links or open attachments unless you recognise the sender and know the content is safe. Unfortunately ChimeraX is the .exe. The code for in-app browser is part of the Qt user interface toolkit that ChimeraX uses, and is used in many different ways within ChimeraX. For example, the ChimeraX log is shown using the HTML widget that the in-app browser (help viewer) uses. You could edit the ChimeraX Python code to do nothing when asked to show a URL. Edit ChimeraX/bin/Lib/site-packages/chimerax/help_viewer/__init__.py and make the first line of the show_url function be the "return" statement. You'll have to check with the examiners if that is sufficient. Good luck, Greg On 2/26/2025 3:23 AM, m.i.bashir--- via ChimeraX-users wrote:
Hi all,
First time posting here. I'm looking to find the name and location of the file/folder that manages the ChimeraX in-app browser. The way I launch the browser is to go to 'tools' in the top bar, then press 'more tools', and then it brings up the ChimeraX Toolshed
Where is the .exe file that controls this in app browser? I am attempting to find the .exe file and black list it, so we can use ChimeraX for an exam
Thanks,
ChimeraX-users mailing list -- chimerax-users@cgl.ucsf.edu To unsubscribe send an email to chimerax-users-leave@cgl.ucsf.edu Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/

Hi Greg, Thanks for helping me and Scott out with this query, much appreciated I attempted your guidance and it worked well, as it blocked the web browser/help guide, but still allowed protein models to be loaded in. I'm going to conduct further testing to see if this change affected anything we may need, but the main part is solved So now the bottom part of my python file looks like this: def show_url(session, url, *, new_tab=False, html=None): Return # if session.ui.is_gui: # from .tool import HelpUI # help_viewer = HelpUI.get_viewer(session) # help_viewer.show(url, new_tab=new_tab, html=html) # else: # import webbrowser # if new_tab: # webbrowser.open_new_tab(url) # else: # webbrowser.open(url) Will let you know if I find anything interesting worth sharing. If all goes well, I'm going to try applying this change to our entire 200+ PC student cluster Kind Regards,
participants (4)
-
Greg Couch
-
m.i.bashir@bham.ac.uk
-
Ray Bashir
-
Scott White