Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python

' and " don't work in console from Workspaces in Firefox [Solved]

' and " etc. in the console from Workspaces don't work in Firefox (at least in Linux). Does work in Chrome. Could you try fixing this?

As a workaround I just use the local Xfce Terminal, so it's not a huge problem for me, or I can use repl.it

Chris Freeman
Chris Freeman
Treehouse Moderator 68,441 Points

Can you be more specific of what's not working? I'm using Firefox 84.0 on Pop!_OS 20.04 LTS (ubuntu variant). In workspace console, I get:

treehouse:~/workspace$ echo 'single quotes' "double quotes"                                                                                     
single quotes double quotes 

1 Answer

I found a (or the) solution: I was using keyboard layout English US (Intl., with dead keys). What this layout does is, if you press for example ' it will do nothing until you also press an e or o, etc., (so you get รฉ or รณ) or a space instead, to only get the ' . The console does not support the "dead keys". So now I changed my keyboard layout to English US (Euro on 5) and then set the compose key (in my case Left Ctrl). The console also does not support use of the Compose key (only in Firefox, in Chrome this works fine), I hope I don't need the special characters in the console (the compose key is only needed to get the special characters, like รฉ etc.).

Btw. The compose key to get the special characters does work in the top area of the workspace, it only doesn't work in the console area.

Edit: Left Ctrl is not recommended I see now, because I can't use the the copy and paste shortcuts etc. anymore.