from what i see in this script , and i bet all my money on it , in a dwm , synaptic or repomanager , or snapshot or software installer inside mxtool wil never work at all never.manyroads wrote: Fri Nov 20, 2020 12:31 pm ******* MX Linux **********
MX Linux Initial Setup:
sudo apt update && sudo apt upgrade
MXLinux "App" Removals, clean the initial install to suit your needs. I minimally remove the following:
sudo apt remove compton fluxbox* orage* swell-foop vlc* xfburn featherpad hexchat clipit lbreakout2 mahjongg peg-e clementine note* nomacs gnome-ppp asunder* pppoeconf mx-fluxbox*
Next run:
sudo apt autoclean && sudo apt autoremove
Once the setup is clean, I run the following to get my prefered MX New Installs (yours may vary):
*** Note***Code: Select all
sudo apt install apt-notifier caffeine celluloid conky Conky-manager cron djview djview-plugin djview4 dunst feh ffmpegthumbnailer ffmpegthumbs file-roller filezilla firefox gcc gdebi geany gimp git grub-customizer gucharmap i3lock-fancy keepassxc libharfbuzz-dev libreoffice libx11-dev libxft-dev libxinerama-dev luckybackup lxpolkit lxsession make moc mousepad nemo neofetch nnn pcmanfm powertop python-pip python3-pip python3-venv qpdfview ranger rofi sl stacer sxhkd sxiv xxxxxxx thermald thunar thunar-archive-plugin thunderbird timeshift tlp transmission udiskie variety xarchiver xautolock xcompmgr xdo xdotool xfce4-power-manager xorg yad zathura zenity zim
I move all my suckless tools to ~/.local/bin and place that in my path via bashrc with the following:
# Add local 'pip' to PATH: (In your .bashrc, .zshrc etc)
export PATH="${PATH}:${HOME}/.local/bin/"
export PATH=/usr/local/bin:/usr/local/sbin:$PATH
editing your config.h files, compiling suckless tools are beynd the scope of this post (I'll provide my materials down stream).
I use the following for desktop setup (.Xdefaults, .xsessionrc, .xreasources) and sxhkd for universal wm keybindings. I have a small autostart script for dwm, to be provided down stream.
.xsessionrc is used for standard setup/ autostart functions across all wms.
.Xdefaults & .Xresources are identical:Code: Select all
#!/bin/sh # #Shared window manager functions & applications on Debian # ##################### # set network manager nm-applet & # set sound functions volumeicon & start-pulseaudio-11 & # power related functions xfce4-power-manager & thermald & tlp start & powertop --auto-tune & xautolock -time 8 -locker i3lock-fancy & # Light shift xflux -z 80116 & #redshift & # xsettings xsettingsd & xset fp+ ~/.local/share/fonts & xset r rate 350 60 xsetroot -cursor_name left_ptr & udiskie & # keyboard settings setxkbmap -option compose:ralt & ksuperkey -e 'Super_L=Alt_L|F1' & ksuperkey -e 'Super_R=Alt_L|F1' & # gnome settings gnome-keyring-daemon --start --components=pkcs11 & # Polkit (I prefer lxpolkit for lightness.) lxpolkit & #/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & # shared common keybindings (applications) sxhkd -c ~/.config/sxhkd/base.conf & # applications # Dunst dunst -conf ~/.config/dunst/dunstrc & # Dropbox sleep 30 && dropbox start -i & # Google Drive #sleep 30 && vgrive & # touchpad toggle touchpad-indicator & # wallpaper changer ~/.local/shar/scripts/wallpaper.sh & # feh --randomize --bg-fill $HOME/.wallpapers/Trees-aerial/* && sleep 5m & # Caffeine caffeine & /usr/bin/caffeine-indicator & ### Turn on Compositing... #picom & #compton & xcompmgr -CcfF -I-.015 -O-.03 -D6 -t-1 -l-3 -r4.2 -o.5 & # MXLinux apt-nnotifier apt-notifier &
sxhkd (base.conf) basic keybinding configuration:Code: Select all
Xft.autohint: 1 Xft.antialias: 1 Xft.hinting: true Xft.hintstyle: hintslight Xft.dpi: 96 Xft.rgba: rgb Xft.lcdfilter: lcddefault ! Copyright (c) 2016-present Arctic Ice Studio <development@arcticicestudio.com> ! Copyright (c) 2016-present Sven Greb <code@svengreb.de> ! Project: Nord XResources ! Version: 0.1.0 ! Repository: https://github.com/arcticicestudio/nord-xresources ! License: MIT #define nord0 #2E3440 #define nord1 #3B4252 #define nord2 #434C5E #define nord3 #4C566A #define nord4 #D8DEE9 #define nord5 #E5E9F0 #define nord6 #ECEFF4 #define nord7 #8FBCBB #define nord8 #88C0D0 #define nord9 #81A1C1 #define nord10 #5E81AC #define nord11 #BF616A #define nord12 #D08770 #define nord13 #EBCB8B #define nord14 #A3BE8C #define nord15 #B48EAD *.foreground: nord4 *.background: nord0 *.cursorColor: nord4 *fading: 35 *fadeColor: nord3 *.color0: nord1 *.color1: nord11 *.color2: nord14 *.color3: nord13 *.color4: nord9 *.color5: nord15 *.color6: nord8 *.color7: nord5 *.color8: nord3 *.color9: nord11 *.color10: nord14 *.color11: nord13 *.color12: nord9 *.color13: nord15 *.color14: nord7 *.color15: nord6
Code: Select all
# # sxhkdrc ~ common functions # dwm - and most other wms # ######################### # SUPER + FUNCTION KEYS # ######################### # if you want to assign applications to specific tags or workspaces # add a command behind the application to focus on that workspace if required # index 0 corresponds to tag or HLWM workspace 1 # index 1 corresponds to tag or HLWM workspace 2 # example # firefox & herbstclient use_index 1 # Open Terminal super + Return st -g=93x31+100+300 # VirtualBox super + v virtualbox & herbstclient use_index 0 # rofi menu (alt+left-mouse-click) alt + @button1 rofi -modi drun,window,run -show drun -show-icons -sidebar-mode -location 0 -width 360 # Show Keybinding Index super + F1 zenity --text-info --width=640 --height=640 --html --filename=/home/mark/.local/share/help-files/app-keybindings.html --ok-label="Quit" # mount dismount (Bashmount) super + F2 st -g=93x31+100+300 -e ~/.local/bin/bashmount.sh # system maintenance links super + F3 ~/.local/share/scripts/system-links.sh # BpyTop super + F4 bash -c /home/mark/.local/share/scripts/bpytop.sh # Linux Links super + F11 zenity --text-info --width=640 --height=640 --html --filename=/home/mark/.local/share/help-files/linux-links.html --ok-label="Quit" # rofi Active Tasks super + F12 rofi -modi window -show window -show-icons -sidebar-mode # pamac-manager alt + p /usr/bin/pamac-manager & herbstclient use_index 0 # gsimplecal alt + c gsimplecal(I have a small autostart script for dwm, to be provided down stream) # mousepad super + a mousepad # calibre (books) super + c calibre # Music (DeadBeef) super + d deadbeef # file managers super + f pcmanfm & herbstclient use_index 2 # file manager (ROOT) super + alt + f mx-pkexec pcmanfm # nnn- file manager super + n st -g=93x31+100+300 -e nnn # ranger- file manager super + r st -g=93x31+100+300 -e ranger # geany super + g geany & herbstclient use_index 7 # eMail super + e thunderbird # Office super + o libreOffice # dmenu super + p dmenu_run # System Quit Options super + q /home/mark/.local/share/scripts/logout.sh # skype super + s skype # topgrade super + t st -e /home/mark/.local/bin/topgrade/topgrade.sh # web browser super + w firefox #Lock screen super + x dm-tool lock # zim wiki super + z zim & herbstclient use_index 3 # Reboot ctrl + alt + Delete reboot
I tend to us MXPI for the following installs:
celluloid
sxhkd
virtualbox
dropbox
calibre
etc....
Misc. Tools:
===> If you want slick-greeter:
sudo apt remove lightdm-gtk-greeter lightdm-gtk-greeter-settings && sudo apt install slick-greeter
Next update /etc/lightdm/lightdm.conf to read:
#greeter-session=lightdm-greeter
greeter-session=slick-greeter
In terminal enter:
echo "[Greeter]" | sudo tee -a /etc/lightdm/slick-greeter.conf
echo "background=/home/mark/.wallpapers/slick-greeter/vidar-nordli-mathisen-1.jpg" | sudo tee -a /etc/lightdm/slick-greeter.conf
sudo chmod o+r /home/mark/.wallpapers/slick-greeter/vidar-nordli-mathisen-1.jpg
===> To install Bpytop:
pip3 install bpytop --upgrade
the same in i3 , all other thins like rofi or dunst , or browsers and terminals wil work , but why is nobody give proof that what i ask working , because it dont work .
i have try all the best config scripts out there , for floating repo manager or others but it dont work at all , it even not opens , in arch linux everything works from scartch , but i have look in to it ,but there are things that not open normally at all in mxlinux , yes you can run dwm and i3 , but the first mxlinux i3 or dwm that runs all this things out of the box wil never happen.
WHY IS THER PAMAC -MANAGER IN YOUR SCRIPT THIS IS MXLINUX DEBIAN , YOU ARE SAYING SOMETHING AND THINK THAT MXLINUX I3 WILL WORK THE SAME WAY , YOU DONT KNOW WHAT YOU ARE TALKING ABOUT.
I WATCH OUT FOR RESPIN OF MXLINUX IN DWM OR I 3 THAT EVERYTHING WIL WORK PERFECT BUT I TELL YOU THIS WIL NEVER HAPPEN. SOME THINGS CAN FROM MXTOOLBOX NOT WORK IN FLOATING OR OPEN NORMALLY THAT IS JUST A
FACT.
READ THIS SAMRT GUY -> MXTOOLBOX IS WRIITEN INSIDE SOME DIRTYBOX THAT OPEN OTHER THINGS FROM THAT BOX , IT IS WRITTEN TO WORK AND CLOSE AUTOMATIC FROM INSIDE MXTOOLS AND THAT IS THE PROBLEM WITH I3 AND DWM , IF YOU TRY TO PROGRAM SOMETHING FROM INSIDE MXTOOLBOX INTHE CONFIG FILE , IT WIL NOT WORK , TRY TO OPEN MXTOOLBOX AND OPEN REPOMANAGER , I GIVE YOU 100 DOLLAR IF IT WRKS , BUT I HAVE TRY , EVEN SYSNAPTIC WIL NOT RUN FROM DMENU OR FLOATING SO DONT SAY THINGS THAT I3 WORK FOR 100% IT DONT