@i_ri I have not changed my init entry but I have changed my menu-mx entry.
Before
Code: Select all
[exec] (Refresh) {fluxbox-remote restart; idesktoggle idesk refresh }
Code: Select all
[restart] (Refresh)
Code: Select all
[exec] (Refresh) {fluxbox-remote restart; idesktoggle idesk refresh }
Code: Select all
[restart] (Refresh)
Code: Select all
0)
number=$(echo $output | cut -d, -f1)
if [[ $number == 1 ]]; then
names=$(echo $output | cut -d, -f3),Workspace2,Workspace3,Workspace4,
elif [[ $number == 2 ]]; then
names=$(echo $output | cut -d, -f3-4),Workspace3,Workspace4,
elif [[ $number == 3 ]]; then
names=$(echo $output | cut -d, -f3-5),Workspace4,
else
names=$(echo $output | cut -d, -f3-6)
Code: Select all
0)
number=$(echo $output | cut -d, -f1)
if [[ $number == 1 ]]; then
names=$(echo $output | cut -d, -f3),Workspace2,area_3,area_4,w__5,w__6,w__7,w__8,w__9,w_10,w_11,w_12,
elif [[ $number == 2 ]]; then
names=$(echo $output | cut -d, -f3-4),area_3,area_4,w__5,w__6,w__7,w__8,w__9,w_10,w_11,w_12,
elif [[ $number == 3 ]]; then
names=$(echo $output | cut -d, -f3-5),area_4,w__5,w__6,w__7,w__8,w__9,w_10,w_11,w_12,
elif [[ $number == 4 ]]; then
names=$(echo $output | cut -d, -f3-6),w__5,w__6,w__7,w__8,w__9,w_10,w_11,w_12,
elif [[ $number == 5 ]]; then
names=$(echo $output | cut -d, -f3-7),w__6,w__7,w__8,w__9,w_10,w_11,w_12,
elif [[ $number == 6 ]]; then
names=$(echo $output | cut -d, -f3-8),w__7,w__8,w__9,w_10,w_11,w_12,
elif [[ $number == 7 ]]; then
names=$(echo $output | cut -d, -f3-9),w__8,w__9,w_10,w_11,w_12,
elif [[ $number == 8 ]]; then
names=$(echo $output | cut -d, -f3-10),w__9,w_10,w_11,w_12,
elif [[ $number == 9 ]]; then
names=$(echo $output | cut -d, -f3-11),w_10,w_11,w_12,
elif [[ $number == 10 ]]; then
names=$(echo $output | cut -d, -f3-12),w_11,w_12,
elif [[ $number == 11 ]]; then
names=$(echo $output | cut -d, -f3-13),w_12,
else
names=$(echo $output | cut -d, -f3-14)
fi
Code: Select all
#lxandr display settings
if [ -e $HOME/.config/autostart/lxrandr-autostart.desktop ]; then
exo-open $HOME/.config/autostart/lxrandr-autostart.desktop
fi
Four seemed like a reasonable number to me. I can't really imagine someone needing 12 workspaces, seems like overkill.
I think replacing the fluxbox-remote line with this works
Code: Select all
pkill -USR1 fluxbox
pkill -USR1 conky
I think replacing the fluxbox-remote line with this worksCode: Select all
pkill -USR1 fluxbox pkill -USR1 conky
Code: Select all
idesktoggle idesk refresh
Code: Select all
[restart] (Refresh)
Code: Select all
[submenu] (workspace) {tool}
[exec] (workspace overview) {mxfb-workspace}
[submenu] (Relocate) {current}
[ForEach {SendToWorkspace 1}] (all to 1)
[ForEach {SendToWorkspace 2}] (all to 2)
[ForEach {SendToWorkspace 3}] (all to 3)
[ForEach {SendToWorkspace 4}] (all to 4)
[ForEach {SendToWorkspace 5}] (all to 5)
[ForEach {SendToWorkspace 6}] (all to 6)
[ForEach {SendToWorkspace 7}] (all to 7)
[ForEach {SendToWorkspace 8}] (all to 8)
[ForEach {SendToWorkspace 9}] (all to 9)
[ForEach {SendToWorkspace 10}] (all to 10)
[ForEach {SendToWorkspace 11}] (all to 11)
[ForEach {SendToWorkspace 12}] (all to 12)
[end]
[exec] (rename) {mxfb-workspace}
[end]