浏览代码

replace google-chrome with firefox

Casey DeLorme 3 年之前
父节点
当前提交
2978c87df6

+ 1 - 11
arch.sh

@@ -53,7 +53,7 @@ curl -O https://download.sublimetext.com/sublimehq-pub.gpg && pacman-key --add s
 [ $(grep -c "sublime-text" /etc/pacman.conf) -eq 0 ] && echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/stable/x86_64" | tee -a /etc/pacman.conf
 
 # update and install all packages
-pacman -Syu --noconfirm sudo bash-completion man-db tmux vim linux-firmware linux-headers dkms smartmontools cryptsetup usbutils btrfs-progs gvfs gvfs-mtp gvfs-afc android-udev dmidecode parted pkgfile pkgconf bison gcc gcc-libs cmake ccache ncurses xmlstarlet jq at bc cronie iptables rsync dhcpcd inetutils net-tools openssh sshfs ntp wget curl wireless_tools bluez bluez-utils lzop unzip p7zip xz unrar unace lrzip arj git mercurial subversion bzr postgresql mesa lib32-mesa dbus polkit xorg-server xorg-server-devel xorg-xinit xorg-xinput xorg-xdpyinfo xorg-xprop xdotool xsel patchelf libpng12 lib32-libpng12 pulseaudio libpulse lib32-libpulse openal lib32-openal giflib lib32-giflib mpg123 lib32-mpg123 v4l-utils lib32-v4l-utils opencl-icd-loader lib32-opencl-icd-loader libva lib32-libva gtk3 lib32-gtk3 gst-plugins-base-libs lib32-gst-plugins-base-libs vulkan-tools vulkan-icd-loader lib32-vulkan-icd-loader arandr feh hsetroot openbox archlinux-xdg-menu picom xarchiver innoextract pavucontrol pasystray xdg-utils xdg-user-dirs tint2 conky pcmanfm gmrun rxvt-unicode urxvt-perls gnome-themes-extra gnome-icon-theme arc-gtk-theme gtk-engines gtk-engine-murrine lxappearance graphicsmagick imagemagick lame libwebp libid3tag libvorbis vorbis-tools faac x264 x265 libexif ffmpeg ffmpegthumbnailer tumbler joyutils evtest lm_sensors lshw gparted psensor gparted hardinfo fontconfig ttf-bitstream-vera ttf-droid ttf-dejavu ttf-liberation ttf-hanazono mpv openshot gimp krita transmission-cli discord evince viewnior virtualbox-host-modules-arch virtualbox vagrant obs-studio dia mednafen mame ppsspp lutris steam wine-staging python-pip python-setuptools winetricks sublime-text stress lxsession
+pacman -Syu --noconfirm sudo bash-completion man-db tmux vim linux-firmware linux-headers dkms smartmontools cryptsetup usbutils btrfs-progs gvfs gvfs-mtp gvfs-afc android-udev dmidecode parted pkgfile pkgconf bison gcc gcc-libs cmake ccache ncurses xmlstarlet jq at bc cronie iptables rsync dhcpcd inetutils net-tools openssh sshfs ntp wget curl wireless_tools bluez bluez-utils lzop unzip p7zip xz unrar unace lrzip arj git mercurial subversion bzr postgresql mesa lib32-mesa dbus polkit xorg-server xorg-server-devel xorg-xinit xorg-xinput xorg-xdpyinfo xorg-xprop xdotool xsel patchelf libpng12 lib32-libpng12 pulseaudio libpulse lib32-libpulse openal lib32-openal giflib lib32-giflib mpg123 lib32-mpg123 v4l-utils lib32-v4l-utils opencl-icd-loader lib32-opencl-icd-loader libva lib32-libva gtk3 lib32-gtk3 gst-plugins-base-libs lib32-gst-plugins-base-libs vulkan-tools vulkan-icd-loader lib32-vulkan-icd-loader arandr feh hsetroot openbox archlinux-xdg-menu picom xarchiver innoextract pavucontrol pasystray xdg-utils xdg-user-dirs tint2 conky pcmanfm gmrun rxvt-unicode urxvt-perls gnome-themes-extra gnome-icon-theme arc-gtk-theme gtk-engines gtk-engine-murrine lxappearance graphicsmagick imagemagick lame libwebp libid3tag libvorbis vorbis-tools faac x264 x265 libexif ffmpeg ffmpegthumbnailer tumbler joyutils evtest lm_sensors lshw gparted psensor gparted hardinfo fontconfig ttf-bitstream-vera ttf-droid ttf-dejavu ttf-liberation ttf-hanazono mpv openshot gimp krita transmission-cli discord evince viewnior virtualbox-host-modules-arch virtualbox vagrant obs-studio dia mednafen mame ppsspp lutris steam wine-staging python-pip python-setuptools winetricks sublime-text stress lxsession yt-dlp firefox
 
 # install base configuration files from repository
 [ -d /srv/arch-desktop/install ] || git clone https://git.caseydelorme.com/cdelorme/arch-desktop /srv/arch-desktop
@@ -122,21 +122,11 @@ sudo -u $aur_username git clone https://aur.archlinux.org/xcursor-chameleon-skyb
 sudo -u $aur_username git clone https://aur.archlinux.org/numix-icon-theme-git.git /home/${aur_username}/numix-icon-theme-git
 (cd /home/${aur_username}/numix-icon-theme-git && sudo -u ${aur_username} makepkg -rcsi --noconfirm)
 
-# install google-chrome (google-chrome-stable)
-sudo -u $aur_username git clone https://aur.archlinux.org/google-chrome.git /home/${aur_username}/google-chrome
-(cd /home/${aur_username}/google-chrome && sudo -u ${aur_username} makepkg -rcsi --noconfirm)
-
 # cleanup aur user
 rm -rf /etc/sudoers.d/${aur_username}
 userdel -fr $aur_username
 unset $aur_username
 
-# install youtube-dl
-if ! which youtube-dl &> /dev/null; then
-	curl -Lfs https://yt-dl.org/latest/youtube-dl > /usr/local/bin/youtube-dl
-	chmod a+rx /usr/local/bin/youtube-dl
-fi
-
 # install gifduration
 if ! which gifduration &> /dev/null; then
 	curl -Lfs https://raw.githubusercontent.com/alimony/gifduration-script/master/gifduration.py > /usr/local/bin/gifduration

+ 4 - 4
install/etc/skel/.config/mimeapps.list

@@ -5,8 +5,8 @@ image/jpg=viewnior.desktop;
 image/jpeg=viewnior.desktop;
 image/png=viewnior.desktop;
 image/tiff=viewnior.desktop;
-text/html=google-chrome.desktop;
-text/htmls=google-chrome.desktop;
+text/html=firefox.desktop;
+text/htmls=firefox.desktop;
 application/x-shockwave-flash=flash.desktop;
 text/plain=sublime_text.desktop;
 text/x-c=sublime_text.desktop;
@@ -54,8 +54,8 @@ image/jpg=viewnior.desktop;
 image/jpeg=viewnior.desktop;
 image/png=viewnior.desktop;
 image/tiff=viewnior.desktop;
-text/html=google-chrome.desktop;
-text/htmls=google-chrome.desktop;
+text/html=firefox.desktop;
+text/htmls=firefox.desktop;
 application/x-shockwave-flash=flash.desktop;
 text/plain=sublime_text.desktop;
 text/x-c=sublime_text.desktop;

+ 1 - 1
install/etc/skel/.config/openbox/menu.xml

@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <openbox_menu xmlns="http://openbox.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://openbox.org/ file:///usr/share/openbox/menu.xsd">
 	<menu id="root-menu" label="Openbox 3">
-		<item label="web"><action name="Execute"><execute>google-chrome-stable</execute></action></item>
+		<item label="web"><action name="Execute"><execute>firefox</execute></action></item>
 		<item label="editor"><action name="Execute"><execute>subl</execute></action></item>
 		<item label="cli"><action name="Execute"><execute>urxvt</execute></action></item>
 		<item label="files"><action name="Execute"><execute>pcmanfm</execute></action></item>

+ 1 - 1
install/etc/skel/.config/openbox/rc.xml

@@ -51,7 +51,7 @@
 		<keybind key="W-grave"><action name="Execute"><execute>urxvtq</execute></action></keybind>
 		<keybind key="W-space"><action name="Execute"><command>gmrun</command></action></keybind>
 		<keybind key="A-F2"><action name="Execute"><command>gmrun</command></action></keybind>
-		<keybind key="W-w"><action name="Execute"><command>google-chrome-stable</command></action></keybind>
+		<keybind key="W-w"><action name="Execute"><command>firefox</command></action></keybind>
 		<keybind key="W-t"><action name="Execute"><command>urxvt</command></action></keybind>
 		<keybind key="W-e"><action name="Execute"><command>subl</command></action></keybind>
 		<keybind key="W-b"><action name="Execute"><command>pcmanfm</command></action></keybind>

+ 1 - 1
install/etc/skel/.config/tint2/tint2rc

@@ -32,7 +32,7 @@ launcher_icon_theme = gnome
 launcher_icon_size = 16
 launcher_item_app = /usr/share/applications/urxvt.desktop
 launcher_item_app = /usr/share/applications/sublime_text.desktop
-launcher_item_app = /usr/share/applications/google-chrome.desktop
+launcher_item_app = /usr/share/applications/firefox.desktop
 launcher_item_app = /usr/share/applications/pcmanfm.desktop
 
 

+ 16 - 3
todo.md

@@ -1,12 +1,18 @@
 
 # todo
 
-Add `notes/proton/ffxiv.md` after following the same instructions to create a proton prefix for that game!
+Determine the disk the installer is on and ignore it when running lsblk to list selectable format disks.
 
+Some AUR libraries to add (what for again?):
 
----
+https://aur.archlinux.org/packages/ncurses5-compat-libs
+https://aur.archlinux.org/packages/lib32-ncurses5-compat-libs/
+
+- Replace PACKER env var with auto-detection via `[ $(dmidecode | grep -c VirtualBox) -gt 0 ]`
 
-Can we detect the disk the installer is on and skip it when doing lsblk check for selecting disks to format?
+- Use the latest successful packer build to try out `sway` and `wayland` packages as an alternative to openbox
+
+- transition from root systemd launched transmission to user-space specific; this eliminates future collisions and permission issues
 
 
 ---
@@ -74,3 +80,10 @@ https://wiki.archlinux.org/index.php/Systemd/User#Xorg_as_a_systemd_user_service
 Looks like the systemd approach does work with minor caveats.  So long as I can work with those I think this would be an excellent choice.
 
 https://lists.freedesktop.org/archives/systemd-devel/2014-March/017552.html
+
+_This requires the `dex` package to launch `.desktop` files from the command line._
+
+
+## notes
+
+Low level terminal package differs on debian making SIGINT login cancellation not possible on Arch without modifying and compiling said package.