Page 17 of 22
Re: MX-21 fluxbox beta 1 feedback thread.
Posted: Sun Aug 29, 2021 5:37 pm
by dolphin_oracle
well .fehbg was commented out, so something else is sourcing the file, but maybe using feh to set the background.
maybe its idesktop. I now have both the nitrogen and .fehbg lines commented out in the startup file, and I'm still getting the xmessage I screenshoted.
Re: MX-21 fluxbox beta 1 feedback thread.
Posted: Sun Aug 29, 2021 5:41 pm
by Jerry3904
To fix a broken system I have gone to the end of the keys file and deleted the command that the separate bg script writes/erases in 82-84 and following:
Code: Select all
#Append the needed changes to the keys config file (the "\" is needed not to replace the variables:
echo "#This executes fbsetbg every time workspace is changed to load <workspace number>.jpg from ~/.fluxbox/backgrounds/numbered/
ChangeWorkspace :Exec fbsetbg ~/.fluxbox/backgrounds/numbered/\$(xprop -root _NET_CURRENT_DESKTOP |awk '{print \$3+1}').jpg" >> ~/.fluxbox/keys
Re: MX-21 fluxbox beta 1 feedback thread.
Posted: Sun Aug 29, 2021 5:51 pm
by dolphin_oracle
this is the end of my keys file
Code: Select all
#---------------------------------------------------------------
#This executes fbsetbg every time workspace is changed to load <workspace number>.jpg from ~/.fluxbox/backgrounds/numbered/
I noticed that the rotate script uses idesktop. there are a lot of moving parts here.
Re: MX-21 fluxbox beta 1 feedback thread.
Posted: Sun Aug 29, 2021 6:05 pm
by Jerry3904
Let me spell out how it has gone now twice running Live:
1) reverse the disable/enable for fehbg and nitrogen as I showed above
2) launch "separate" and follow the steps
a) when it is done scroll up or down to change workspace, and the separate backgrounds kicks in
b) checking the end of the keys file, the comment and command I quoted above have been written in
c) log out/in to check persistence
3) launch "separate" and click disable
a) the command has not been removed from the end of the keys file
b) log out/in and a common background is being used
c) no error messages
Re: MX-21 fluxbox beta 1 feedback thread.
Posted: Sun Aug 29, 2021 6:09 pm
by dolphin_oracle
Jerry3904 wrote: Sun Aug 29, 2021 6:05 pm
Let me spell out how it has gone now twice running Live:
1) reverse the disable/enable for fehbg and nitrogen as I showed above
2) launch "separate" and follow the steps
a) when it is done scroll up or down to change workspace, and the separate backgrounds kicks in
b) checking the end of the keys file, the comment and command I quoted above have been written in
c) log out/in to check persistence
3) launch "separate" and click disable
a) the command has not been removed from the end of the keys file
b) log out/in and a common background is being used
c) no error messages
I have the common background, and the command in the keys file is gone, but I get the error message. I think its idesktop after using the rotate option.
edit:: well its not idesktop. I commented out idesktop and I still get the message.
am I supposed to have a command at the end of keys file by default or not?
Re: MX-21 fluxbox beta 1 feedback thread.
Posted: Sun Aug 29, 2021 6:14 pm
by dolphin_oracle
ah, its fluxbox's init file. it runs fehbg seperately from the startup file.
Code: Select all
session.screen0.rootCommand: ~/.fehbg -l
and that -l loads from .fluxbox/lastwallpaper.
http://fluxbox.sourceforge.net/docbook/ ... ap-bg.html
Re: MX-21 fluxbox beta 1 feedback thread.
Posted: Sun Aug 29, 2021 6:30 pm
by i_ri
hello dolphin_oracle and Jerry3904
"what generates the .fluxbox/lastwallpaper"
a better question is where does lightdm get the bg? because lightdm hands off to feh(?)
[my workspace one bg shows in lightdm and it is not Honesty. early-bg calls for Honesty. (?)]
[backgrounds conky and idesk and Style need to be unset. (?) ]
Have you tried "&" after nitrogen or fehbg in the startup. ?
(these do not fit the description of keep running, but the & is everywhere i look, including man feh. )
Yes the init fehbg is there.
We can start nitrogen after starting fluxbox(?)
Re: MX-21 fluxbox beta 1 feedback thread.
Posted: Sun Aug 29, 2021 6:36 pm
by siamhie
i_ri wrote: Sun Aug 29, 2021 4:03 pm
hello siamhie and Jerry3904
"name of image starts with feh_", siamhie.
"feh" in a filename indicates something wrong with the take_shot command in mxfb-quickshot.
Can you please share the content inside /usr/bin/mxfb-quickshot. The function take_shot () scrot command for comparison to the default script.
in your screenshot, it is small to see, cannot differ the characters a dash or equals, a bracket or paren., a zero or eight or B, and the m in date?
Is the "NAME" %y%m%d ? is that an m?
Here's the contents of mxfb-quickshot
and here's the mxfb-quickshot.conf (from my home folder)

Re: MX-21 fluxbox beta 1 feedback thread.
Posted: Sun Aug 29, 2021 10:27 pm
by i_ri
hello siamhie
Having done as You described: configure Downloads folder for destination,
I cannot get a file named feh.
I cannot find why feh might possibly be read as a filename or Pre
in your files look like mine. the part that is shown.
and
hello Jerry3904
You can imagine many ways to script three commands scrot, mv, feh.
You expressed a fondness for the tenr script
why not gthumb? instead of feh(?) or none.
plus you did not ask for input
but keeping close to the spirit of the script among the choices might I ask if siamhie can try a different command to see if it makes a difference? removing expansion of mv. +&.
Code: Select all
scrot ${OPTION} "${DESTDIR}/${PRE}${NAME}.${SUF}" -e 'feh --geometry 800x600 --scale-down '$DESTDIR/'$n' &
Re: MX-21 fluxbox beta 1 feedback thread.
Posted: Sun Aug 29, 2021 11:10 pm
by siamhie
i_ri wrote: Sun Aug 29, 2021 10:27 pm
hello siamhie
Having done as You described: configure Downloads folder for destination,
I cannot get a file named feh.
I cannot find why feh might possibly be read as a filename or Pre
in your files look like mine. the part that is shown.
This is what's happening when I take a screenshot using the icon from the dock. On the left is my image saved to the default folder I set up (Downloads) and on the right is the same image duplicated in my home folder. I wanted to know how to stop quickshot from making the feh_ named image in my home folder.
One other thing. File sizes are different. Filename 210829_5447_1433x999 is 4.1MB and feh_065046_000001_210829_5447_1433x999 is 160KB.
