Help for MX Fluxbox
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
I would Like to us xxkb in the system tray..
package is installed, and rum from terminal with the command: xxkb.
with a warning: Incomplete geometry for mainwindow... but it works anyway.
I would Like to add xxkb to startup applications. so I edit the file: /etc/skel/.fluxbox/startup
I added at the end of the file the command:
No. You would add it to ~/.fluxbox/startup instead.
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.
i_ri wrote: Fri Nov 03, 2023 10:22 pm
Hello G77 and siamhie
invalid sleep command. Form it like the other examples in the home startup. (sleep 10s;xxkb) &
I wasn't paying attention to the command but the location (/etc/skel/.fluxbox/startup) where he thought it should be placed.
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.
# And last but not least we start fluxbox.
# Because it is the last app you have to run it with ''exec'' before it.
exec fluxbox
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.
#!/bin/sh
#
# fluxbox startup-script:
#
# Lines starting with a '#' are ignored.
# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
#setup default translated mx-fluxbox menu
#only do on first setup of new user
#upgrades are handled by mxflux_install.sh script
# localize fluxbox menu
# to reset default localized menu configuration, delete ~/.fluxbox/menu-chkd
# logout, then log back in to fluxbox session
localize_fluxbox_menu-mx
# mx-welcome if configured to autostart
if [ -e $HOME/.config/autostart/mx-welcome.desktop ]; then
# launch mx-welcome
(sleep 5; /usr/bin/mx-welcome) &
fi
# User folders update
xdg-user-dirs-update
# Update common folders names to match current locale
xdg-user-dirs-gtk-update
#start a compositor if using complicated conkies
#compton &
#set number of seconds before inactive screen turns off
xset -dpms && xset s 600
#add system monitors
#gkrellm &
# arandr genrated screenlayout
# before conky
# export Qt variables
export QT_QPA_PLATFORMTHEME=gtk2
export QT_PLATFORMTHEME=gtk2
export QT_PLATFORM_PLUGIN=gtk2
# add selected tint2 panel
tint2session
# add desktop icons
idesktoggle idesk on 1>/dev/null 2>&1 &
# add root access
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
#set the default dock
$HOME/.fluxbox/scripts/DefaultDock.mxdk
#conky to follow conky toggle settings
conkystart
#place network manager on the toolbar
nm-applet &
#start keyboard indicator in system stray
xxkb &
#start pipewire before volumeicon so unmute works
pipewire-start
sleep 2
volumeicon -c volumeicon-fluxbox &
#place clipboard on the toolbar
xfce4-clipman &
#put brightness controller and battery monitor on toolbar
#tint2 has its own battery widget so this is unnecessaary
#xfce4-power-manager &
# start user accessibility bus - if not already running
/usr/libexec/at-spi-bus-launcher --launch-immediately &
#update app menu if it doesn't exist
if [ ! -f $HOME/.fluxbox/submenus/full_menu ]; then
command -v mxfb-menu-generator && mxfb-menu-generator
fi
#get last background selected
#~/.fehbg
nitrogen --restore
# Debian-local change:
# - fbautostart has been added with a quick hack to check to see if it
# exists. If it does, we'll start it up by default.
which fbautostart > /dev/null
if [ $? -eq 0 ]; then
fbautostart
fi
# put apt-notifier on the toolbar
(sleep 6; /usr/bin/apt-notifier) &
# start spice-vdagent in KVM/Qemu
if [ -x /usr/bin/spice-vdagent ]; then
pidof -q spice-vdagentd && /usr/bin/spice-vdagent
fi
# And last but not least we start fluxbox.
# Because it is the last app you have to run it with ''exec'' before it.
cbatticon &
exec fluxbox
# or if you want to keep a log:
# exec fluxbox -log ~/.fluxbox/log
In case you are interested: there is a plugin for gkrellm that appears to work. Launch gkrellm from RootMenu > Appearance > Monitors
--log out/in
--press F1
--click on "plugins" and check the box next to "xkb"
--click on the "Place" button if you want to put it somewhere other than the bottom of the stack
I only have one language on the system so am unclear about how you get a second language set up
You do not have the required permissions to view the files attached to this post.
Production: MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB Personal: Lenovo X1 Carbon with MX-23 Fluxbox Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
G77 wrote: Sat Nov 04, 2023 10:03 am
HI Guys
Thanks but non of the option works.
here is the file /etc/skel/.fluxbox/startup
That's not where you put the startup commands for fluxbox in. Read my post (#2) again.
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.
Again I have not tried to set up a two choice capability. But when I select another language with Root Menu > Settings > Keyboard, it shows up correctly.
Production: MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB Personal: Lenovo X1 Carbon with MX-23 Fluxbox Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin