• 0 Posts
  • 8 Comments
Joined 3 years ago
cake
Cake day: July 27th, 2023

help-circle


    1. Can’t help you there as I learned on a manual typewriter years before I saw a computer.
    2. Editing on Vim/Neovim is really only good on US qwerty layout. It doesn’t matter too much on Emacs unless the layout you chose is missing the symbols for your programming language or you’re using evil mode. I had a hard time on a Latin American layout and switched to a “US international, no dead keys” layout. I can type in Spanish quite easily with this layout, it is Right-Alt pressed with e to get é for example. And I use the same layout for programming. The Latam layout I typed 'e to get é but the dead key single quote meant I had to type quote followed by a space to get a quote while programming. I had to change the physical keyboard to a US layout one to get everything right. Without doing that [ and ctrl-[ were on different keys, for example. It took some searching in the shops to find one but it was very much worth it.



  • I had a machine with multiple OSes chosen at startup with OS/2 Boot Manager, including OS/2 Warp, Windows NT Workstation 4, and Redhat 5.0 which came on a CDROM labeled Pink Tie 5.0. (It was late '90s I guess. I used MSDOS before that. And a Commodore 64 before that) I believe I put a mail server on it (the Redhat partition) while I was still on dial-up (128K ISDN). The mails waited somewhere until I got online and signalled to send them to me. But then upgraded it to DSL. I was still running Redhat 7.3 with my mail server until 2006, even though Redhat 9 and Fedora were out by then. In 2006, I shut it down and bought a Windows 98 laptop to travel around Central America for a year. The Guatemalans laughed at my Windows 98 laptop–they were running Vista. When I got back to the US in 2007, and broke the laptop screen, oops, I bought a $300 desktop PC that had Lindows installed.



  • I am using Music Player Daemon, and I use the following script to turn gPodder into a client. My music is in ~/Music and I put the podcasts in ~/Music/Podcasts. The script works for both streaming or downloaded podcasts.

    [~]$ cat bin/mpcut.sh
    #!/bin/bash
    if [ "$(echo "$1" | cut -b-4)" = "http" ]; then
        /usr/bin/mpc pause
        /usr/bin/mpc insert "$1"
        /usr/bin/mpc toggle
        /usr/bin/notify-send -i gpodder "$1 inserted to next spot in playlist."
    else
        /usr/bin/mpc pause
        /usr/bin/mpc add "Podcasts/$(echo "$1" | cut -d"/" -f6-)"
        /usr/bin/mpc toggle
        /usr/bin/notify-send -i gpodder "$(echo "$1" | cut -d"/" -f7-)" "added to end of playlist."
    fi
    

    Audio Player in gPodder preferences is set to this: /home/christopher/bin/mpcut.sh %F

    I have an application shortcut Super-G set to this in xfce4-keyboard-settings: env GTK_THEME=Adwaita-dark GPODDER_HOME=/home/christopher/.config/gPodder/ GPODDER_DOWNLOAD_DIR=/home/christopher/Music/Podcasts/ /usr/bin/gpodder

    or you could use an alias: alias gpodder='GTK_THEME=Adwaita-dark GPODDER_HOME=/home/christopher/.config/gPodder/ GPODDER_DOWNLOAD_DIR=/home/christopher/Music/Podcasts/ /usr/bin/gpodder --verbose'