| 1 | #! /usr/bin/env bash |
| 2 | # NOTE: this is not meant to be run unattended, read each line and copy and paste as necessary |
| 3 | # This worked for my migration from Pop!_OS 22.04 (deb based) Atom 1.63.1 installed with flatpak (user) |
| 4 | |
| 5 | # First, download and install the deb package found here https://pulsar-edit.dev/download.html |
| 6 | |
| 7 | # for flatpak Atom migration to Pulsar deb - copy configuration and packages |
| 8 | rsync -av ~/.var/app/io.atom.Atom/data/ ~/.pulsar/ |
| 9 | |
| 10 | # for deb Atom migration to Pulsar deb - copy configuration and packages |
| 11 | #rsync -av ~/.atom/ ~/.pulsar/ |
| 12 | |
| 13 | # fix for GPU error |
| 14 | cat <<EOF > ~/.local/bin/pulsar |
| 15 | #! /usr/bin/env bash |
| 16 | /usr/bin/pulsar --disable-gpu-sandbox "\$@" |
| 17 | EOF |
| 18 | chmod u+x ~/.local/bin/pulsar |
| 19 | |
| 20 | # write a local user desktop file where the icon is fixed |
| 21 | cat <<EOF > ~/.local/share/applications/pulsar.desktop |
| 22 | [Desktop Entry] |
| 23 | Name=Pulsar |
| 24 | Exec=/usr/bin/pulsar %U |
| 25 | Terminal=false |
| 26 | Type=Application |
| 27 | Icon=/opt/Pulsar/resources/pulsar.png |
| 28 | StartupWMClass=Pulsar |
| 29 | Comment=A Community-led Hyper-Hackable Text Editor |
| 30 | Categories=Development; |
| 31 | EOF |
| 32 |
curiouser / migrate-atom-to-pulsar.sh
Last active 3 days ago
Rough migration guide for Atom to Pulsar on Linux
Revision 73deb231115990923777102dbf3e61a6ad5608cb