Openbox autostart not starting  [Solved]

Message
Author
nandi
Posts: 35
Joined: Thu Mar 02, 2023 12:05 pm

Openbox autostart not starting  [Solved]

#1 Post by nandi »

I have problem starting apps on openbox from
~/.config/openbox/autostart they dont execute.
I installed python-xdg package but the problem still persist.
~/.config/autostart folder desktop files are starting so i can execute apps at startup its more puzzling not to know why is not processing the default file.
This install is an mx 23.4 32 bit fluxbox edition.
Anyone knows what could be the problem?

User avatar
Jerry3904
Administrator
Posts: 23254
Joined: Wed Jul 19, 2006 6:13 am

Re: Openbox autostart not starting

#2 Post by Jerry3904 »

Can you please post the contents of your ~/.config/openbox/autostart so we can take a look?

--Also, as always, the Quick System Info--thanks.
Production: 5.10, 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

nandi
Posts: 35
Joined: Thu Mar 02, 2023 12:05 pm

Re: Openbox autostart not starting

#3 Post by nandi »

I have this in my ~/.config/openbox/autostart:

xrandr --output VGA-1 --mode 1280x1024 --output LVDS-1 --mode 1290x800 --same-as VGA-1
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1) &
xset -dpms 0 0 0 &
compton &
nitrogen --restore &
xset s off &
xset =dpms &
xset s noblank &
setterm =blank 0 &
pcmanfm &

Created desktop link for tint2 and plank

My system info is the following:

Code: Select all

System:
  Kernel: 6.1.0-25-686-pae [6.1.106-3] arch: i686 bits: 32 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-25-686-pae root=UUID=<filter> ro
  Desktop: Openbox v: 3.6.1 info: tint2, plank vt: 7 dm: LightDM v: 1.26.0
    Distro: MX-23.4_fluxbox_386 Libretto September 15 2024 base: Debian GNU/Linux 12 (bookworm)
Machine:
  Type: Portable System: Dell product: Inspiron 1525 v: N/A serial: <superuser required> Chassis:
    type: 8 serial: <superuser required>
  Mobo: Dell model: N/A serial: <superuser required> BIOS: Dell v: A16 date: 10/16/2008
Battery:
  ID-1: BAT0 charge: 15.3 Wh (96.8%) condition: 15.8/29.6 Wh (53.4%) volts: 15.4 min: 14.8
    model: DELL XR6827 type: Li-ion serial: <filter> status: not charging
CPU:
  Info: model: Intel Pentium Dual T2330 bits: 64 type: MCP arch: Core2 Merom built: 2006-09
    process: Intel 65nm family: 6 model-id: 0xF (15) stepping: 0xD (13) microcode: 0xA4
  Topology: cpus: 1x cores: 2 smt: <unsupported> cache: L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB
    L2: 1024 KiB desc: 1x1024 KiB
  Speed (MHz): avg: 798 min/max: N/A cores: 1: 798 2: 798 bogomips: 6384
  Flags: ht lm nx pae sse sse2 sse3 ssse3
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass status: Vulnerable
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines; STIBP: disabled; RSB filling; PBRSB-eIBRS: Not
    affected; BHI: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Mobile GM965/GL960 Integrated Graphics vendor: Dell Inspiron 1525 driver: i915
    v: kernel arch: Gen-4 process: Intel 65n built: 2006-07 ports: active: LVDS-1,VGA-1
    empty: HDMI-A-1,SVIDEO-1 bus-ID: 00:02.0 chip-ID: 8086:2a02 class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.7 driver: X: loaded: modesetting unloaded: fbdev,vesa
    dri: crocus gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1280x1024 s-dpi: 96 s-size: 337x270mm (13.27x10.63") s-diag: 432mm (17")
  Monitor-1: LVDS-1 pos: primary model: AU Optronics 0x2274 built: 2006 res: 1280x800 hz: 60
    dpi: 98 gamma: 1.2 size: 331x207mm (13.03x8.15") diag: 390mm (15.4") ratio: 16:10 modes: 1280x800
  Monitor-2: VGA-1 model: Dell P190S serial: <filter> built: 2009 res: 1280x1024 hz: 60 dpi: 86
    gamma: 1.2 size: 376x301mm (14.8x11.85") diag: 482mm (19") ratio: 5:4 modes: max: 1280x1024
    min: 720x400
  API: OpenGL v: 2.1 Mesa 22.3.6 renderer: Mesa Intel 965GM (CL) direct-render: Yes
Audio:
  Device-1: Intel 82801H HD Audio vendor: Dell Inspiron 1525 driver: snd_hda_intel v: kernel
    bus-ID: 00:1b.0 chip-ID: 8086:284b class-ID: 0403
  API: ALSA v: k6.1.0-25-686-pae status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Marvell 88E8040 PCI-E Fast Ethernet vendor: Dell Inspiron 1525 driver: sky2 v: 1.30
    pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: de00 bus-ID: 09:00.0 chip-ID: 11ab:4354
    class-ID: 0200
  IF: eth0 state: down mac: <filter>
  Device-2: Broadcom BCM4311 802.11b/g WLAN vendor: Dell Wireless 1390 driver: b43-pci-bridge
    v: N/A modules: ssb,wl pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 0b:00.0 chip-ID: 14e4:4311
    class-ID: 0280
  Device-3: Edimax N150 Adapter type: USB driver: r8188eu bus-ID: 7-4:4 chip-ID: 7392:b811
    class-ID: 0000 serial: <filter>
  IF: wlan1 state: up mac: <filter>
  IF-ID-1: wlan0 state: down mac: <filter>
Drives:
  Local Storage: total: 149.05 GiB used: 6.43 GiB (4.3%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST9160821AS size: 149.05 GiB block-size:
    physical: 512 B logical: 512 B speed: 1.5 Gb/s type: N/A serial: <filter> rev: E scheme: MBR
Partition:
  ID-1: / raw-size: 48.83 GiB size: 47.76 GiB (97.81%) used: 6.43 GiB (13.5%) fs: ext4
    dev: /dev/sda2 maj-min: 8:2
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 32.0 C mobo: N/A
  Fan Speeds (RPM): cpu: 0 fan-2: 0 fan-3: 0
Repos:
  Packages: pm: dpkg pkgs: 1976 libs: 967 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/makedeb.list
    1: deb [signed-by=/usr/share/keyrings/makedeb-archive-keyring.gpg arch=all] https://proget.makedeb.org makedeb main
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb https://mxrepo.com/mx/repo/ bookworm main non-free
Info:
  Processes: 166 Uptime: 3m wakeups: 2 Memory: 987.9 MiB used: 539.5 MiB (54.6%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: BIOS (legacy, CSM, MBR)

User avatar
Jerry3904
Administrator
Posts: 23254
Joined: Wed Jul 19, 2006 6:13 am

Re: Openbox autostart not starting

#4 Post by Jerry3904 »

Thanks. Does nothing on that Autostart work, or only some things?

--This (worked out by @timkb4cq works for me on Openbox to set blanking, but not sure what your goal is with those multiple commands:

Code: Select all

xset -dpms && xset s 600
--These bot work for me

Code: Select all

compton &

Code: Select all

thunar &
<< I listed this last in case it matters
--Nitrogen does not restore for me using exactly that command, and there are complaints on the web about that. I use fehbg instead.
Production: 5.10, 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

User avatar
Kermit the Frog
Posts: 626
Joined: Mon Jul 08, 2024 8:52 am

Re: Openbox autostart not starting

#5 Post by Kermit the Frog »

Meanwhile there seems to be a typo here:
nandi wrote: Mon Nov 18, 2024 9:19 amxset =dpms &

Code: Select all

xset -dpms

nandi
Posts: 35
Joined: Thu Mar 02, 2023 12:05 pm

Re: Openbox autostart not starting

#6 Post by nandi »

Thank you for the corrections yes i just copied the xset commands from the bunsenlabs forums i tought all thoose need for switching the blanking and for the power save, but sometimes still need to switch it off in xscreensaver if it ends up installed.

No nothing works from autostart
only the xrandr seems to be running
when i paste it to :

etc/xdg/openbox/autostart

Is the user need to be in a group?
I never had this problem on the
64 bit verson of Mx

User avatar
Kermit the Frog
Posts: 626
Joined: Mon Jul 08, 2024 8:52 am

Re: Openbox autostart not starting

#7 Post by Kermit the Frog »

nandi wrote: Mon Nov 18, 2024 10:31 am... nothing works from autostart ...
Have you checked the ownership and permissions? The whole folder while you're at it. (Maybe it's owned by root somehow).

Code: Select all

ls -la ~/.config/openbox

User avatar
siamhie
Global Moderator
Posts: 3418
Joined: Fri Aug 20, 2021 5:45 pm

Re: Openbox autostart not starting

#8 Post by siamhie »

For all the xset commands, I have this in my fluxbox startup file.

Code: Select all

# X screen blanking off
xset dpms 0 0 0
xset -dpms
xset s noexpose
xset s off
xset s noblank

Code: Select all

╔═[siamhie@flux23]═[07:53  18/11/24]═════════════════════════════════════════[~]
╚═> xset -q
Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  00000000
  XKB indicators:
    00: Caps Lock:   off    01: Num Lock:    off    02: Scroll Lock: off
    03: Compose:     off    04: Kana:        off    05: Sleep:       off
    06: Suspend:     off    07: Mute:        off    08: Misc:        off
    09: Mail:        off    10: Charging:    off    11: Shift Lock:  off
    12: Group 2:     off    13: Mouse Keys:  off
  auto repeat delay:  660    repeat rate:  25
  auto repeating keys:  00ffffffdffffbbf
                        fadfffefffedffff
                        9fffffffffffffff
                        fff7ffffffffffff
  bell percent:  50    bell pitch:  400    bell duration:  100
Pointer Control:
  acceleration:  2/1    threshold:  4
Screen Saver:
  prefer blanking:  no    allow exposures:  no
  timeout:  0    cycle:  600
Colors:
  default colormap:  0x20    BlackPixel:  0x0    WhitePixel:  0xffffff
Font Path:
  /usr/share/fonts/X11/misc,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,
  /usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,built-ins
DPMS (Energy Star):
  Standby: 0    Suspend: 0    Off: 0
  DPMS is Disabled
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.

User avatar
Kermit the Frog
Posts: 626
Joined: Mon Jul 08, 2024 8:52 am

Re: Openbox autostart not starting

#9 Post by Kermit the Frog »

Yes, one more typo here:
nandi wrote: Mon Nov 18, 2024 9:19 am xset -dpms 0 0 0 &

nandi
Posts: 35
Joined: Thu Mar 02, 2023 12:05 pm

Re: Openbox autostart not starting

#10 Post by nandi »

my user owns the file very strange

$ ls -la ~/.config/openbox
total 40
drwxr-xr-x 2 nandi nandi 4096 Nov 18 16:02 .
drwxr-xr-x 29 nandi nandi 4096 Nov 17 15:43 ..
-rw-r--r-- 1 nandi nandi 343 Nov 18 16:02 autostart
-rw-r--r-- 1 nandi nandi 26138 Nov 17 16:37 rc.xml

Post Reply

Return to “Software / Configuration”