MX-DWM/antiX-DWM - a thread for working toward an optimized respin

For issues with MX that has been modified from the initial install. Example: adding packages that then cause issues.
Message
Author
drogon69
Posts: 38
Joined: Sat Jun 20, 2020 9:36 am

Re: MX-DWM/antiX-DWM - a thread for working toward an optimized respin

#31 Post by drogon69 »

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):

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
*** Note***
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.

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 &
.Xdefaults & .Xresources are identical:

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
sxhkd (base.conf) basic keybinding configuration:

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
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.
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

User avatar
manyroads
Posts: 2657
Joined: Sat Jun 30, 2018 6:33 pm

Re: MX-DWM/antiX-DWM - a thread for working toward an optimized respin

#32 Post by manyroads »

....
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

User avatar
dolphin_oracle
Developer
Posts: 22324
Joined: Sun Dec 16, 2007 12:17 pm

Re: MX-DWM/antiX-DWM - a thread for working toward an optimized respin

#33 Post by dolphin_oracle »

lets be cool here folks. this is a thread for folks working on some interesting but not particularly easy to configure stuff... frustration can run high.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Eadwine Rose
Administrator
Posts: 14781
Joined: Wed Jul 12, 2006 2:10 am

Re: MX-DWM/antiX-DWM - a thread for working toward an optimized respin

#34 Post by Eadwine Rose »

Moderator:

@drogon69, we are a forum where members who want to participate treat each other nicely and with respect. If you cannot say anything nice, please consider not posting the reply.
If you cannot live by the forum rules (both unwritten and written, which, by the way: please read) you will get warned, which will eventually get you banned.
MX-23.6_x64 July 31 2023 * 6.1.0-37amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
manyroads
Posts: 2657
Joined: Sat Jun 30, 2018 6:33 pm

Re: MX-DWM/antiX-DWM - a thread for working toward an optimized respin

#35 Post by manyroads »

...Firefox hung and caused a double-post
Last edited by manyroads on Wed Oct 06, 2021 11:04 am, edited 1 time in total.
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

User avatar
manyroads
Posts: 2657
Joined: Sat Jun 30, 2018 6:33 pm

Re: MX-DWM/antiX-DWM - a thread for working toward an optimized respin

#36 Post by manyroads »

@drogon69 Because you can not believe... I have provided screenshots for MXPI, Synaptic, Live USB, snapshot, etc. all of which you do not believe work.

As for mention of pamac and other arch related topics in my scripts, those are included because I move and run everything using the same tools wherever possible (no matter the distro, window manager, or desktop environment). Notes regarding topics where differences occur (or should be remembered) are for me and/or anyone else who wishes to keep them. It is exactly the same with all my work.

The good news is you have made it abundantly clear that you are unable to understand how all these tools work together - we need not cover that further. If you are striving to learn, I am happy to help.

As is noted on my site and many of my postings here, I provide these materials without any guarantee. If you can use my ideas and scripts, great! If not, oh well. FWIW. some 60 people per day take and use the materials I provide on eirenicon.org successfully. You are the first person to have stopped by my work who has had such huge difficulty. I am sorry you have to struggle. But keep in mind, learning sprouts from those tasks we strive to understand.

The screenshots are from my dwm desktop (these functions look the same on i3wm)...
Image Image Image Image Image

If there are other items you wish to see because you are having trouble getting your head around them, please politely let me know.
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

drogon69
Posts: 38
Joined: Sat Jun 20, 2020 9:36 am

Re: MX-DWM/antiX-DWM - a thread for working toward an optimized respin

#37 Post by drogon69 »

i have find the problem why it dont work , but not my mistake , mxlinux repo's of i3 are corrupt i have install it this time not from synaptic but from the terminal and suckless way , and some how everything works , and if i deleted again and install back from sysnaptic i have the same trouble again so who fault is this than !!
sudo apt install i3 i3status suckless-tools and it wil work , yes know mxtools every things open and ask password .
so you better check it out in your repos'.

SwampRabbit
Posts: 3602
Joined: Tue Jun 14, 2016 2:02 pm

Re: MX-DWM/antiX-DWM - a thread for working toward an optimized respin

#38 Post by SwampRabbit »

drogon69 wrote: Wed Oct 06, 2021 1:15 pm i have find the problem why it dont work , but not my mistake , mxlinux repo's of i3 are corrupt i have install it this time not from synaptic but from the terminal and suckless way , and some how everything works , and if i deleted again and install back from sysnaptic i have the same trouble again so who fault is this than !!
sudo apt install i3 i3status suckless-tools and it wil work , yes know mxtools every things open and ask password .
so you better check it out in your repos'.
:popcorn:
NEW USERS START HERE FAQS, MX Manual, and How to Break Your System - Don't use Ubuntu PPAs! Always post your Quick System Info (QSI) when asking for help.

User avatar
dolphin_oracle
Developer
Posts: 22324
Joined: Sun Dec 16, 2007 12:17 pm

Re: MX-DWM/antiX-DWM - a thread for working toward an optimized respin

#39 Post by dolphin_oracle »

drogon69 wrote: Wed Oct 06, 2021 1:15 pm i have find the problem why it dont work , but not my mistake , mxlinux repo's of i3 are corrupt i have install it this time not from synaptic but from the terminal and suckless way , and some how everything works , and if i deleted again and install back from sysnaptic i have the same trouble again so who fault is this than !!
sudo apt install i3 i3status suckless-tools and it wil work , yes know mxtools every things open and ask password .
so you better check it out in your repos'.
its not corrupt. but if you do need all the recommended packages if you want to use debian's preconfigured setup with dmenu and the suckless-tools. they are also available in synaptic, there's even a right-click menu to install recommends.

if you want a better way from the terminal

Code: Select all

sudo apt-get install --install-recommends i3
is a good way to go.

synaptic and apt both use libapt so installing from synaptic and apt is identical.

you post a lot of definitive statements for someone that has "somehow everything works" in your statement.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
manyroads
Posts: 2657
Joined: Sat Jun 30, 2018 6:33 pm

Re: MX-DWM/antiX-DWM - a thread for working toward an optimized respin

#40 Post by manyroads »

dolphin_oracle wrote: Wed Oct 06, 2021 1:26 pm [...]

you post a lot of definitive statements for someone that has "somehow everything works" in your statement.
I think that is right after the "... and then a miracle occurs" step :crossfingers:
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

Post Reply

Return to “MX Modified”