Forum › Forums › General › Tips and Tricks › antiX performance
- This topic has 21 replies, 5 voices, and was last updated Nov 23-12:18 pm by Hector_A.
-
AuthorPosts
-
November 22, 2021 at 11:50 pm #71555Member
Hector_A
::Sorry that i did not understand where to add the debug output. I just ran the commands from a terminal. If you don’t mind telling me where, I’ll do it asap.
Yes, I agree that the timing is important and probably the right solution. I could not find which file antiX runs at the start. If I knew that, I can probably tinker with it to set the wallpaper last and add a sleep as you suggested if necessary.
FYI the content of ~/.screenlayout/default.sh is: xrandr –output eDP-1 –primary –mode 3200×1800 –pos 0x0 –scale “.6x.6”
November 23, 2021 at 12:07 am #71558ModeratorBobC
::Yes, it sounded like that was what you did. You installed it, LOL. So go look in synaptic what programs got installed, and figure out what it runs.
I meant to put debugs and printenv in the scripts it runs (like its autostart file) and then you will have clues as to what it was doing and why.
- This reply was modified 1 year, 5 months ago by BobC.
November 23, 2021 at 12:54 am #71562Moderator
christophe
::Hey, Hector_A.
This is an idea I got while reading this thread. Perhaps this inelegant work-around might work.
Regarding your wallpaper:1. Launch the control centre.
2. Set the wallpaper from here – BUT change it to No wallpaper, then you can select a color. Try black, maybe.
3. Then try setting the wallpaper (after setting the resolution) through feh, from your openbox startup file.
It worked on a quick test here, where the color came up upon re-login to openbox, & the feh command covered it with the image I chose.
- This reply was modified 1 year, 5 months ago by christophe.
- This reply was modified 1 year, 5 months ago by christophe. Reason: clarification
confirmed antiX frugaler, since 2019
November 23, 2021 at 2:45 am #71567MemberHector_A
::@BobC I added the three lines you supplied one at the end of each corresponding file i.e.: “$(date) $0”, “$(date) $HOME/.desktop-session/startup and printenv. The output is:
Sun 21 Nov 2021 11:01:50 PM -03 bash
Sun 21 Nov 2021 11:01:50 PM -03 /home/hector/.desktop-session/startup started
SHELL=/bin/bash
COLORTERM=truecolor
XDG_CONFIG_DIRS=/etc/xdg
XDG_DATA_HOME=/home/hector/.local/share
XDG_CONFIG_HOME=/home/hector/.config
XDG_SEAT=seat0
PWD=/home/hector
XDG_VIDEOS_DIR=/home/hector/Videos
LOGNAME=hector
XDG_SESSION_TYPE=x11
XAUTHORITY=/home/hector/.Xauthority
XDG_PICTURES_DIR=/home/hector/Pictures
GTK2_RC_FILES=/home/hector/.gtkrc-2.0
HOME=/home/hector
LANG=en_US.UTF-8
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
XDG_CURRENT_DESKTOP=openbox
VTE_VERSION=6203
DESKTOP_SESSION_IM=none
XDG_DOWNLOAD_DIR=/home/hector/Downloads
XDG_MUSIC_DIR=/home/hector/Music
XDG_CACHE_HOME=/home/hector/.cache
XDG_SESSION_CLASS=greeter
XDG_DESKTOP_DIR=/home/hector/Desktop
TERM=xterm-256color
DESKTOP_SESSION_CODE=openbox
USER=hector
DESKTOP_SESSION_WM=openbox
DISPLAY=:0.0
SHLVL=1
XDG_VTNR=7
XDG_SESSION_ID=1
XDG_STATE_HOME=/home/hector/.local/state
XDG_RUNTIME_DIR=/run/user/1000
XDG_DOCUMENTS_DIR=/home/hector/Documents
XDG_DATA_DIRS=/usr/local/share/:/usr/share/
PATH=/usr/local/bin:/usr/bin:/usr/local/games:/usr/games:/sbin:/usr/sbin
MAIL=/var/mail/hector
_=/usr/bin/printenvI hope this is what you want to look at.
@christophe Unfortunately your workaround did not produce the desired result. I got just a black wallpaper as the selection does not persist upon reboot. The selected wallpaper again initially displays correctly but the system sets the resolution afterwards and the wallpaper gets out of scale.
November 23, 2021 at 5:14 am #71568ModeratorBobC
::So, I guess that means the other two programs never ran.
Was something not installed or configured correctly that would cause that result?
At this point you have choices. The best would be to fix what is setup wrong so that your openbox runs just like another antiX window manager. To do that you will need to figure out what you misanalyzed, and correct it. I’d suggest looking at the code and configuration files of an implementation that’s working and copy the relevant pieces.
A less desirable option would be to run missing pieces from the program that did run and see if that fixes it.
November 23, 2021 at 5:50 am #71569ModeratorBobC
::You might try using Forum Search here for openbox desktop session startup and see if you can find instructions for a successful installation and compare them to what you did?
Now you understand why I try to use a distro, and contribute to improving it, rather than trying to create custom setups myself, which I also did before. In the end it produces better results for less effort. That doesn’t mean you can’t blaze your own trail. It’s just wise to see it has a price in time and effort.
November 23, 2021 at 12:18 pm #71577MemberHector_A
-
AuthorPosts
- You must be logged in to reply to this topic.