Hero Image

How to fix ubuntu 22.10 with cutom ctrl space launcher

I went through some gyrations on the operating system front. I am tired of arch destroying itself, so I decided to try an 'unstable' ubuntu. So far its nice, but it was missing a nice mac like launcher. So I found ulaunch which enables me to ctrl space and not have to use the desktop or whatnot.

Since ubuntu uses wayland (which I might add is interesting in that is the ONLY linux desktop to work my monitor at 144HZ! 4k. You have to go to keyboard, shortcuts, custom shortcut, and add ulauncher-toggle and assign a ctrl space shortcut to it. Since I use kitty to get split terminals with cmd space, I dont' us that although I am used to it with the mac.

Getting ungoogled chromium to work on ubuntu

This is a bit evil. But you CAN'T use flatpak with browser extensions that rely upon native system functionality. Go here and download the appropriate binary for your version of linux. I like to untar in my /opt/ungoogled-chromium.

cd /usr/bin
ln -s /opt/ungoogled-chromium/chrome .
# next step is to vim a desktop file which we will move to make a launcher

Below is the code for the launcher

[Desktop Entry]
Name=Ungoogled Chrome
GenericName=Web Browser
Comment=Browse the Web
TryExec=chrome
Exec=chrome %f
Terminal=false
Type=Application
Keywords=web;editor;
Keywords[fr]=Texte;éditeur;
Keywords[ru]=текст;текстовый редактор;
Keywords[sr]=Текст;едитор;
Keywords[tr]=Metin;düzenleyici;
Icon=/home/tmunn/.local/share/icons/hicolor/48x48/apps/product_logo_48.png
Categories=Utility;TextEditor;
StartupNotify=false
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;

You will want to copy the icons as noted from /opt/ungoogle-chromium to your appropriate homedir as well. This will then let you create the launcher in /usr/share/applications/chrome.desktop .

Once that is done, the process for getting your pass commands working again (since this is the reason we are diong the whole thng) are a bit pedantic as well.

How to get pass working with firefox / ungoogled chromium in ubuntu

This final section covers how to get ungoogled chromium and firefox working nicely with the browser pass extension.

  1. Configure and install the browserpass-native program and install to /usr/bin follow the directons for 'system wide install'
  2. Configure chromium to use the chrome web store
  3. Install the browserpass plugin from the store

I won't go over pass configuration but this largely covers whats necessary.