From baed8efe691bea4ec015519f52a031d31fd2dcb8 Mon Sep 17 00:00:00 2001 From: Digital Studium Date: Sun, 2 Jun 2024 22:02:43 +0300 Subject: [PATCH] Fix telegram --- install_debian.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/install_debian.sh b/install_debian.sh index 9f0f352..8d8f165 100755 --- a/install_debian.sh +++ b/install_debian.sh @@ -2,8 +2,9 @@ # install packages I need sudo apt update sudo apt install -y nala -sudo nala install -y \ +sudo apt install -y \ xorg `# for graphics` \ +x11-xserver-utils `# for graphics` \ make `# for compiling gui` \ gcc `# for compiling gui` \ libx11-dev `# for compiling dwm` \ @@ -15,7 +16,7 @@ suckless-tools `# for dmenu` \ ncdu `# for disk usage analysys` \ brightnessctl `# for keyboard backlight` \ xcompmgr `# for st opacity` \ -gnome-backgrounds `# for background` \ +mate-backgrounds `# for background` \ xwallpaper `# for background` \ pulseaudio `# for sound` \ pavucontrol `# for audio control` \ @@ -26,8 +27,7 @@ surf `# suckless lightweight browser` \ micro `# console editor` \ neovim `# console editor` \ psmisc `# pstree etc.` \ -slack \ -firefox \ +chromium \ python3 \ python3-venv @@ -63,7 +63,8 @@ do fi done -echo dwm > ~/.xinitrc # for starting dwm when startx +echo 'dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY &' > ~/.xinitrc # because of slow Telegram start +echo dwm >> ~/.xinitrc # for starting dwm when startx for tool in create_systemd_service.py create_systemd_timer.py set_brightness.sh update_gui.sh do @@ -85,8 +86,8 @@ then fi echo "xhost +local:" > $HOME/.dwm/autostart.sh # give permissions to display echo "xcompmgr &" >> $HOME/.dwm/autostart.sh # for st opacity -echo "xwallpaper --stretch /usr/share/backgrounds/Blue_flower_by_Elena_Stravoravdi.jpg" >> $HOME/.dwm/autostart.sh # background -echo "firefox &" >> $HOME/.dwm/autostart.sh +echo "xwallpaper --stretch /usr/share/backgrounds/mate/nature/Dune.jpg" >> $HOME/.dwm/autostart.sh # background +echo "chromium &" >> $HOME/.dwm/autostart.sh echo "Telegram &" >> $HOME/.dwm/autostart.sh echo "st &" >> $HOME/.dwm/autostart.sh echo "pasystray &" >> $HOME/.dwm/autostart.sh