Planet London Python

February 21, 2018

Jonathan Hartley

Running Multiple Firefox Profiles on Linux

I recently switched from Chrome to Firefox. It’s so fast, and easier to trust that Mozilla has my privacy and interests at heart than Google does.

I want to run a second profile at work, to keep a distinct set of open tabs, bookmarks, and the like.

Close all Firefox windows. Run the Profile Manager with firefox -p. Create a second profile.

Open Firefox and find the directories your profiles live by browsing to about:profiles.

Substitute those directories into this firefox.desktop file, where I’ve marked ‘XXX’:

# Gnome3 .desktop file for Firefox with multiple profiles
[Desktop Entry]
Comment=Browse the web
GenericName=Web Browser
Exec=firefox --no-remote %u

[Desktop Action home]
Name=Firefox (home)
Exec=firefox --profile .mozilla/firefox/XXX --no-remote %u

[Desktop Action work]
Name=Firefox (work)
Exec=firefox --profile .mozilla/firefox/XXX --no-remote %u

Save the above as firefox.desktop and install using:

$ desktop-file-validate firefox.desktop
$ desktop-file-install --dir=.local/share/applications firefox.desktop

This results in a Firefox icon in your applications menu that defaults to whichever profile you mark as default in the ProfileManager, but right clicking lets you select the home or work profile explicitly. Open each, and change the theme in one of them so the windows are visually distinct.

Tested on RHEL 7.3, probably works on all Gnome3 desktops.

by tartley at February 21, 2018 06:40 PM

February 16, 2018

Ian Ozsvald

PyData Conference & AHL Hackathon

Our 5th annual PyDataLondon conference will run this April 27-29th, this year we grow from 330 to 500 attendees. As before this remains a volunteer-run conference (with support from the lovely core NumFOCUS team), just as the monthly meetup is a volunteer run event.

The Call for Proposals is open until the start of March (you have 2 weeks!) – first time speakers are keenly sought. Our mentorship programme is in full swing to help new speakers craft a good proposal, before it hits the (volunteer run) review committee. As usual we expect 2-3 submissions per speaking slot so the competition to speak at PyDataLondon will remain high. We also have a set of diversity grants to support those who might otherwise not attend the conference – don’t be afraid to apply to use a grant.

Tickets are on sale already, this year’s programme will go live towards the end of March. If you’d like a taste of what goes on at a PyDataLondon conference see my write-up from 2017 and see the 2017 schedule.

The week before the conference our generous meetup hosts AHL are holding a Python Data Science Hackathon. You should definitely apply if you’re anywhere near London (I have!). They have budget to fly in some core developers – if your project hasn’t yet applied and you’re interested in being involved with a large open-source science hackathon, please do visit their site and apply. Here you have a chance to make a strong contribution to the open source tools that we all use.

Finally – if you’re interested in learning about the jobs that are going in the UK Python Data Science world, take a look at my data science jobs list. 7-10 jobs get emailed out every 2 weeks to over 900 people and people are successfully getting new jobs via this list.

Ian applies Data Science as an AI/Data Scientist for companies in ModelInsight, sign-up for Data Science tutorials in London. Historically Ian ran Mor Consulting. He also founded the image and text annotation API, co-authored SocialTies, programs Python, authored The Screencasting Handbook, lives in London and is a consumer of fine coffees.

by Ian at February 16, 2018 08:49 PM