Skip to content

Instantly share code, notes, and snippets.

@ajitid
Last active January 5, 2024 05:50
Show Gist options
  • Save ajitid/92993c6fe4c9dacca6a4cbd45b2e8b29 to your computer and use it in GitHub Desktop.
Save ajitid/92993c6fe4c9dacca6a4cbd45b2e8b29 to your computer and use it in GitHub Desktop.
fedora distro (non-wsl)
https://ventoy.net/en/index.html to create a bootable usb over rufus
it can boot of virtualbox hdd as well which is neat https://news.ycombinator.com/item?id=38685575
extra stuff for bluefin (silverblue):
- open Tweaks > General > disable Over-amplification
- Settings > Power > Screen blank > Never
-
---
only things i changed:
dnf repo simulatanous downloads
click touchpad tap,
remove alt key menu firefox
ui.key.menuAccessKeyFocuses to false
browser.quitShortcut.disabled to true
GNOME Keyring (aka seahorse) (via rpm fedora linux | software center)
bind keybd shortcut to pwd
hardware acceleration for firefox (i didn't do it tho), see https://fedoraproject.org/wiki/Firefox_Hardware_acceleration
https://www.reddit.com/r/archlinux/comments/sgh80b/comment/huy494j/?utm_source=share&utm_medium=web2x&context=3
disable activities hot corner
gsettings set org.gnome.desktop.interface enable-hot-corners false
needs reboot
(didn't work tho)
use caps lock as esc
gsettings set org.gnome.desktop.input-sources xkb-options "['caps:escape']"
dark theme
alt +tab from keyboard (will override previous)
settings > keyboard > view and customize shortcuts > search for Switch Windows > use Alt+Tab
https://docs.fedoraproject.org/en-US/quick-docs/installing-chromium-or-google-chrome-browsers/ (opted for firefox instead)
remove firefox from rpm and install the ones found from flatpack
https://www.reddit.com/r/Fedora/comments/shecz7/comment/hv2413y/?utm_source=share&utm_medium=web2x&context=3
https://discord.com/channels/725125934759411753/811031740042706968/938354106727288842
^ i only true-ed media.ffmpeg.vaapi.enabled
not too relevant or needed but still https://discussion.fedoraproject.org/t/flatpak-run-org-mozilla-firefox-runs-system-s-firefox-instead-of-flatpack-s/27324
use ctrl+shift+pg up/down to shift tabs left/right
widevine ..
for firefox go to settings and enable Play DRM-controlled content
go to Extension and Themes > Plugins and wait for yellow banner of "... will be installed shortly to disappear"
Meanwhile enable free and non-free fedora rpm repos and ~install vlc and ffmpeg~ install them from flatpack/flathub
if yellow banner has been removed, restart FF and media on twitter and Prime and Netflix should work
TLDR; ffmpeg + enabling Play DRM-controlled content checkbox does the trick
bluetooth:
if `systemctl status bluetooth` gives you a running result then bluetooth is working fine
do a restart using `systemctl restart bluetooth` (or `stop` followed by `start`)
and open bluetooth in settings, wait for devices, if they do not appear, go to About in settings and then come back to bluetooth (now you would also see a spinner near at the top right)
installed gnome tweaks and configured capslock -> esc | shift + capslock -> capslock behavior, also new windows to positioned at center
rog key is available to configure
fn+fn key can also be mapped https://gitlab.com/asus-linux/asus-rog-nb-wmi/-/blob/main/src/asus-rog-nb-wmi.c
reduced refresh rate to 59.99hz (not 60, see https://www.reddit.com/r/apple/comments/qtkmuu/the_belkin_usbc_to_hdmi_adapter_f2cu038_sold/hkl2ikw/)
enabled night light, dark mode
disable ctrl+shift+u, ctrl+; and ctrl+. behavior:
in fish shell (not config.fish), do `export PATH=/usr/bin:$PATH` and then `ibus-setup` (so that ibus gui can reference correct python path). Then go to Emoji tab and remove all shortcuts
use `dconf-editor` and remove mapping of `workspace-up` and `workspace-down` to `[]` so that ctrl+alt+up and ctrl+alt+down
https://superuser.com/a/1481800 - to solve chrome issue to not be able to do a fullscreen screensharing
Settings > Power > screen blank > Never
(See readme.txt as well)
Used https://github.com/ublue-os/bluefin/releases/ in VMWare Workstation
Upon installing and opening Bluefin for the first time, a popup opens up asking to install more software, I close it and wait for remaining packages to be installed. I get a notification that flatpak pkgs have been installed and see Firefox in the dock.
I do a restart
Now I run `just update`. This can fail if you don’t have enough battery or CPU. (It’ll tell you to check the logs.) Otherwise wait for like 10 mins to let it update stuff. It doesn’t show any progress bar at the moment.
Then I restart. Then I run `just devmode`. Restart again once it is done.
Then I run `just nix-devbox`. It install nix but puts devbox in bg. Run `fg` and then hit enter (to default to Y) and install devbox. Reboot once more.
Install fish using `rpm-ostree install fish` (Update: you actually don’t need it as fish comes preinstalled). Change to fish using `sudo lchsh $USER`. Logout and log back in.
Run `devbox global add helix ripgrep ugrep fzf ghq` .
You need to install https://github.com/kidonng/nix.fish using Fisher
After that you can restart. And then import all the configs (fish, hx, git, etc.)
windows fonts:
run `fc-match arial`
Install windows fonts using https://github.com/adrienverge/copr-some-nice-fonts
run `fc-match arial` command again
cd /usr/share/fonts/some-nice-fonts
sudo rm -rf Helvetica*
fc-match helvetica # should show nimbus sans or something
Now /etc/fonts/conf.d contains all system fonts but they are symlinked. Let's edit nimbus sans:
sudoedit /usr/share/fontconfig/conf.avail/61-urw-nimbus-sans.conf
remove all XMLs of helvetica and save
install https://github.com/mrbvrz/segoe-ui-linux
Turns out gnome-extensions can talk to https://extensions.gnome.org/ upon clicking install, it worked for me while installing https://extensions.gnome.org/extension/4839/clipboard-history/
Also, ref this for quick-reload and make the extension appear w/o logging off https://extensions.gnome.org/extension/2950/compiz-alike-windows-effect/
---
Install [Gnome extensions app](https://packages.fedoraproject.org/pkgs/gnome-extensions-app/gnome-extensions-app/)
sudo dnf install gnome-extensions-app
^ this is different to gnome-extensions cli program
Select the right shell (check in About of Settings) and download https://extensions.gnome.org/extension/4679/burn-my-windows/. Then install using:
gnome-extensions install ~/Downloads/burn-my-windowsschneegans.github.com.v23.shell-extension.zip
`gnome-extensions list` won't list it, you need to restart OS (logging out and then logging back in should work too). After which you can open "Extensions" app, enable Burn My Windows and configure.
---
Mapped
rofi -combi-modi window,drun -show combi -modi combi -font 'input 13'
to alt+space
moved existing alt+space shortcut to ctrl+alt+space
Changed "Alternate Characters Key" (also in Settings > Keyboard) to Right super so alt can be freed.
---
with settings > keyboard shortcuts > navigation, i mapped super+num and super+shift+num to switch to and move window to a workspace. I find it easier to perform than ctrl+alt+left/right arrow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment