~/.config/kitty
- make sure you have wget and unzip before running this command
- this will install IosevkaTerm Fonts
wget -P ~/.local/share/fonts https://github.com/ryanoasis/nerd-fonts/releases/download/v3.4.0/IosevkaTerm.zip && cd ~/.local/share/fonts && unzip IosevkaTerm.zip && rm IosevkaTerm.zip LICENSE.md README.md && fc-cache -fv
-
First I install kitty through this command mentioned on website
curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin
- NOTE: dont forget to change user with your username
export PATH=$PATH:/home/user/.local/kitty.app/bin
- NOTE: dont forget to change user with your username
sudo ln -s /home/user/.local/kitty.app/bin/kitty /usr/local/bin/kitty
sudo ln -s /home/user/.local/kitty.app/bin/kitten /usr/local/bin/kitten
- NOTE: dont forget to change user with your username
ln -s /home/user/.local/kitty.app/bin/kitty ~/.local/bin/kitty
ln -s /home/user/.local/kitty.app/bin/kitten ~/.local/bin/kitten
user@debian:~$ kitty
[0.038] Traceback (most recent call last):
File "kitty/main.py", line 540, in main
File "kitty/main.py", line 528, in _main
File "kitty/main.py", line 101, in init_glfw
File "kitty/main.py", line 93, in init_glfw_module
RuntimeError: Failed to dlopen /home/user/.local/kitty.app/lib/kitty-extensions/kitty.glfw-x11.so with error: libxcb-xkb.so.1: cannot open shared object file: No such file or directory
sudo apt install libx11-xcb1 libxcb1 libx11-dev libxcb-xkb1
user@debian:~$ kitty
ignoreboth or ignorespace present in bash HISTCONTROL setting, showing running command will not be robust
[0.165] [glfw error 65544]: process_desktop_settings: failed with error: [org.freedesktop.DBus.Error.ServiceUnknown] The name org.freedesktop.portal.Desktop was not provided by any .service files
[0.165] [glfw error 65544]: Notify: Failed to get server capabilities error: [org.freedesktop.DBus.Error.ServiceUnknown] The name org.freedesktop.Notifications was not provided by any .service files
export HISTCONTROL=ignoreboth
HISTCONTROL=ignoredups
-
This option prevents duplicate commands from being added to the history.
-
If you run ls twice in a row, only the first occurrence will be saved to the history.
-
Commands that begin with a space will not be saved to the history.
-
If you run a command like ls, it won't be added to the history because it starts with a space.
-
This is a combination of ignoredups and ignorespace. It means both duplicate commands and commands that start with a space will be ignored.
-
If you run ls twice, or run a command starting with a space, neither will be saved to the history.
user@debian:~$ kitty
[0.161] [glfw error 65544]: process_desktop_settings: failed with error: [org.freedesktop.DBus.Error.ServiceUnknown] The name org.freedesktop.portal.Desktop was not provided by any .service files
[0.161] [glfw error 65544]: Notify: Failed to get server capabilities error: [org.freedesktop.DBus.Error.ServiceUnknown] The name org.freedesktop.Notifications was not provided by any .service files
sudo apt install xdg-desktop-portal xdg-desktop-portal-gtk libnotify-bin notification-daemon
- this is how i find it
user@debian:~$ sudo apt search notification-daemon
Sorting... Done
Full Text Search... Done
dunst/stable 1.9.0-0.1 amd64
dmenu-ish notification-daemon
libnotify4/stable,now 0.8.1-1 amd64 [installed,automatic]
sends desktop notifications to a notification daemon
lxde-core/stable,stable 11 all
metapackage for the LXDE core
mate-notification-daemon/stable 1.26.0-1+deb12u1 amd64
daemon to display passive popup notifications
mate-notification-daemon-common/stable,stable 1.26.0-1+deb12u1 all
daemon to display passive popup notifications (common files)
notification-daemon/stable,now 3.20.0-4+b1 amd64 [installed]
daemon for displaying passive pop-up notifications
ukui-notification-daemon/stable 1.0.1-1 amd64
daemon to display passive popup notifications
user@debian:~$ which notification-daemon
user@debian:~$ sudo find / -name notification-daemon
find: ‘/run/user/1000/doc’: Permission denied
/usr/share/doc/notification-daemon
/usr/lib/notification-daemon
/usr/lib/notification-daemon/notification-daemon
/usr/lib/notification-daemon/notification-daemon &
sudo apt install policykit-1-gnome
- again command is not showing up we need to start it with absolute path.
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
sudo apt install pkexec
pkexec ls
-
after this you must see pop up window asking password.
xset s off & # Disable screen saver (no blanking, no dimming)
xset -dpms & # Disable Display Power Management (no standby, suspend, or power-off)
dbus-update-activation-environment --systemd --all & # Don't Exactly know which variables are updated but it's good idea to run it with startup, seen on forms
/usr/lib/notification-daemon/notification-daemon & # Notification Demon
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 & # Policykit / Authentication Agent
picom --experimental-backends --config ~/.config/picom/picom.conf --vsync & # Cumpositor
exec dwm > ~/.dwm.log 2>&1