fluxbox apps file gets overwritten after reboot (2024)

Forum rules

Post Reply

  • Print view

24 posts

  • 1
  • 2
  • 3
  • Next

Message

Author

siamhie
Posts: 2137
Joined: Fri Aug 20, 2021 5:45 pm

fluxbox apps file gets overwritten after reboot

  • Quote

#1Postby siamhie »

What is over writing my apps file?
I've added an entry to my apps file but when I reboot, the window is in a different location from what I specified.

Here I have added exit-options to my app file.

Code: Select all

[app] (name=exit-options) (class=exit-options) [Dimensions]{16% 4%} [Position](TopRight){20% 0%} [Close]{yes}[end]

This places the window right under my toolbar and lined up on the right side.

top-right1.jpg

After a reboot, the window is now visibly below my toolbar and the entry I wrote is been changed.

Code: Select all

[app] (name=exit-options) (class=exit-options) [Dimensions]{16% 4%} [Position](UPPERLEFT){64% 2%} [Close]{yes}[end]

top-right2.jpg


Code: Select all

Snapshot created on: 20240827_2040System: Kernel: 6.10.6-x64v3-xanmod1 arch: x86_64 bits: 64 compiler: gcc v: 13.3.0 clocksource: tsc avail: hpet,acpi_pm parameters: BOOT_IMAGE=/boot/vmlinuz-6.10.6-x64v3-xanmod1 root=UUID=<filter> ro quiet splash init=/lib/systemd/systemd Desktop: Fluxbox v: 1.3.7 with: tint2 tools: avail: light-locker vt: 7 dm: LightDM v: 1.32.0 Distro: MX-23.3_fluxbox_x64 Libretto May 19 2024 base: Debian GNU/Linux 12 (bookworm)Machine: Type: Desktop Mobo: Micro-Star model: B550-A PRO (MS-7C56) v: 2.0 serial: <superuser required> uuid: <superuser required> UEFI: American Megatrends LLC. v: A.F0 date: 10/11/2023CPU: Info: model: AMD Ryzen 9 5950X bits: 64 type: MT MCP arch: Zen 3+ gen: 4 level: v3 note: check built: 2022 process: TSMC n6 (7nm) family: 0x19 (25) model-id: 0x21 (33) stepping: 2 microcode: 0xA20120E Topology: cpus: 1x cores: 16 tpc: 2 threads: 32 smt: enabled cache: L1: 1024 KiB desc: d-16x32 KiB; i-16x32 KiB L2: 8 MiB desc: 16x512 KiB L3: 64 MiB desc: 2x32 MiB Speed (MHz): avg: 2565 high: 3400 min/max: 2200/5083 boost: disabled scaling: driver: acpi-cpufreq governor: ondemand cores: 1: 2200 2: 3399 3: 3399 4: 2200 5: 2200 6: 3400 7: 2200 8: 2200 9: 2200 10: 2200 11: 2200 12: 3400 13: 2719 14: 2720 15: 2720 16: 2200 17: 2200 18: 2913 19: 2200 20: 3400 21: 2200 22: 2200 23: 3400 24: 2720 25: 2200 26: 2719 27: 2200 28: 2200 29: 2200 30: 2200 31: 2200 32: 3400 bogomips: 217610 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm Vulnerabilities: Type: gather_data_sampling status: Not affected Type: itlb_multihit status: Not affected Type: l1tf status: Not affected Type: mds status: Not affected Type: meltdown status: Not affected Type: mmio_stale_data status: Not affected Type: reg_file_data_sampling status: Not affected Type: retbleed status: Not affected Type: spec_rstack_overflow mitigation: Safe RET Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; IBRS_FW; STIBP: always-on; RSB filling; PBRSB-eIBRS: Not affected; BHI: Not affected Type: srbds status: Not affected Type: tsx_async_abort status: Not affectedGraphics: Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT] vendor: Tul / PowerColor driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4 speed: 16 GT/s lanes: 16 ports: active: DP-3 empty: DP-1, DP-2, HDMI-A-1, Writeback-1 bus-ID: 2d:00.0 chip-ID: 1002:73df class-ID: 0300 Display: x11 server: X.Org v: 1.21.1.7 compositor: Compton v: 1 driver: X: loaded: amdgpu unloaded: fbdev,modesetting,radeon,vesa dri: radeonsi gpu: amdgpu display-ID: :0.0 screens: 1 Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.65x15.00") s-diag: 777mm (30.58") Monitor-1: DP-3 mapped: DisplayPort-2 model: HP X27q serial: <filter> built: 2021 res: 2560x1440 hz: 165 dpi: 109 gamma: 1.2 size: 597x336mm (23.5x13.23") diag: 685mm (27") ratio: 16:9 modes: max: 2560x1440 min: 720x400 API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi device: 1 drv: swrast surfaceless: drv: radeonsi x11: drv: radeonsi inactive: gbm,wayland API: OpenGL v: 4.6 vendor: amd mesa v: 23.1.2-1~mx23ahs glx-v: 1.4 es-v: 3.2 direct-render: yes renderer: AMD Radeon RX 6700 XT (navi22 LLVM 15.0.6 DRM 3.57 6.10.6-x64v3-xanmod1) device-ID: 1002:73df memory: 11.72 GiB unified: noAudio: Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 2d:00.1 chip-ID: 1002:ab28 class-ID: 0403 Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 2f:00.4 chip-ID: 1022:1487 class-ID: 0403 API: ALSA v: k6.10.6-x64v3-xanmod1 status: kernel-api tools: alsactl,alsamixer,amixer Server-1: PipeWire v: 1.2.2 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,wpctlNetwork: Device-1: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz driver: iwlwifi v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 05:00.0 chip-ID: 8086:2725 class-ID: 0280 IF: wlan0 state: up mac: <filter> Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Micro-Star MSI driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 2a:00.0 chip-ID: 10ec:8168 class-ID: 0200 IF: eth0 state: down mac: <filter> Info: services: NetworkManager,wpa_supplicantBluetooth: Device-1: Intel AX210 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-2.3:4 chip-ID: 8087:0032 class-ID: e001 Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: N/A rfk-block: hardware: no software: no address: see --recommendsDrives: Local Storage: total: 8.64 TiB used: 999.66 GiB (11.3%) SMART Message: Unable to run smartctl. Root privileges required. ID-1: /dev/nvme0n1 maj-min: 259:2 vendor: Western Digital model: WDS500G1X0E-00AFY0 size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter> fw-rev: 613000WD temp: 42.9 C scheme: GPT ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Western Digital model: WDS500G3XHC-00SJG0 size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter> fw-rev: 102000WD temp: 38.9 C scheme: GPT ID-3: /dev/sda maj-min: 8:0 vendor: Seagate model: ST8000DM004-2CX188 size: 7.28 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 5425 serial: <filter> fw-rev: 0001 scheme: GPT ID-4: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 870 EVO 500GB size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s tech: SSD serial: <filter> fw-rev: 1B6Q scheme: GPTPartition: ID-1: / raw-size: 465 GiB size: 456.63 GiB (98.20%) used: 13.82 GiB (3.0%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:4 ID-2: /boot/efi raw-size: 779 MiB size: 777.5 MiB (99.80%) used: 288 KiB (0.0%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:3Swap: Kernel: swappiness: 15 (default 60) cache-pressure: 50 (default 100) zswap: no ID-1: swap-1 type: partition size: 64 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sdb2 maj-min: 8:18Sensors: System Temperatures: cpu: 35.8 C mobo: N/A gpu: amdgpu temp: 48.0 C mem: 48.0 C Fan Speeds (rpm): N/A gpu: amdgpu fan: 853Repos: Packages: pm: dpkg pkgs: 2213 libs: 1176 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/librewolf.list 1: deb [arch=amd64] http://deb.librewolf.net bookworm main Active apt repos in: /etc/apt/sources.list.d/mx.list 1: deb http://la.mxrepo.com/mx/repo/ bookworm main non-free 2: deb http://la.mxrepo.com/mx/repo/ bookworm ahs Active apt repos in: /etc/apt/sources.list.d/nordvpn.list 1: deb https://repo.nordvpn.com/deb/nordvpn/debian stable main Active apt repos in: /etc/apt/sources.list.d/xanmod-release.list 1: deb [signed-by=/usr/share/keyrings/xanmod-archive-keyring.gpg] http://deb.xanmod.org releases mainInfo: Memory: total: 32 GiB available: 31.27 GiB used: 1.86 GiB (5.9%) Processes: 470 Power: uptime: 11m states: freeze,mem,disk suspend: deep avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot, suspend, test_resume image: 12.41 GiB Init: systemd v: 252 target: graphical (5) default: graphical tool: systemctl Compilers: gcc: 12.2.0 Client: shell wrapper v: 5.2.15-release inxi: 3.3.35Boot Mode: UEFI

You do not have the required permissions to view the files attached to this post.

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.

Top

Jerry3904
Administrator
Posts: 22276
Joined: Wed Jul 19, 2006 6:13 am

Re: fluxbox apps file gets overwritten after reboot

  • Quote

#2Postby Jerry3904 »

Could it be because you used "TopRight" instead of "UPPERRIGHT" ?

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 and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

Top

siamhie
Posts: 2137
Joined: Fri Aug 20, 2021 5:45 pm

Re: fluxbox apps file gets overwritten after reboot

  • Quote

#3Postby siamhie »

Jerry3904 wrote: Thu Aug 29, 2024 3:33 pmCould it be because you used "TopRight" instead of "UPPERRIGHT" ?

Not from what the help file shows. The TopRight variable works but after a reboot, my app file entry has been changed.

Code: Select all

 [Position] (anchor) {X[%] Y[%]} Position the application at a particular spot. By default the upper-left corner is placed at screen coordinates (X,Y). If you specify an anchor, say BottomRight, then the lower-right corner of the window is positioned (X,Y) pixels from the lower-right corner of the screen. If the value is given in percent, then the coordinates will be based on the current screen’s size. anchor may be set to one of: TopLeft Left BottomLeft Top Center Bottom TopRight Right BottomRight

fluxbox-apps(5) Manual Page
http://fluxbox.org/help/man-fluxbox-apps.php

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.

Top

i_ri
Posts: 880
Joined: Tue Jun 30, 2015 12:26 am

Re: fluxbox apps file gets overwritten after reboot

  • Quote

#4Postby i_ri »

hi siamhie
exit-options is interesting experiment regarding placement. thanks.
It had me finding a difference between system-keyboard-qt and system-keyboard-qt-launcher.
It follows the /apps entry unless Close equals true has fluxbox reformulate, in its own words, the position. fluxbox restates it differently. Is that what is happening with yours?

Initially, yes the position of exit-options window is where it is last seen located; seems to do that on its own without the windowmenu Remember.
fluxbox windowmenu Remember Position is stronger than the qt remember last location. This can be seen at the top of the screen. there is a difference.

leaving the exit-options window half-off the top of the screen qt will bring it back fully on the screen with a gap at the top of about thirty pixels. This happens at the Top. The right, left, bottom qt will put it where last seen.
leaving the exit-options half-off the top of the screen fluxbox windowmenu Remember Position will bring it back half-off the screen.

The "half-off" so that You will see only the right half was fun working inside the box. I flipped exit-options to vertical and put it in top-right screen where You have Yours.
half-off vertical shows the bottom buttons for You.

Are you still using struts? mine are at zero for these trials.
The mxfluxbox that installed this morning does not have a timeout on exit-options? my regular system has the timeout.

Top

siamhie
Posts: 2137
Joined: Fri Aug 20, 2021 5:45 pm

Re: fluxbox apps file gets overwritten after reboot[Solved]

  • Quote

#5Postby siamhie »

Solved, thanks to @Jerry3904 . I was using the wrong terminology. (lots of trial and errors)

The first variable for [Position] is to tell fluxbox were to start in parentheses ().

Code: Select all

UPPERLEFT TOP UPPERRIGHTLEFT CENTER RIGHTBOTTOMLEFT BOTTOM BOTTOMRIGHT

The second variable is to set the coordinants (horizontal vertical)
in relation to the starting point in curly brackets {}.

Code: Select all

{0 0} 

Code: Select all

[app] (name=exit-options) (class=exit-options) [Dimensions]{16% 4%} [Position](UPPERRIGHT){0 -35}[end]

upperright.jpg

You do not have the required permissions to view the files attached to this post.

Last edited by siamhie on Fri Aug 30, 2024 5:43 pm, edited 2 times in total.

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.

Top

i_ri
Posts: 880
Joined: Tue Jun 30, 2015 12:26 am

Re: fluxbox apps file gets overwritten after reboot

  • Quote

#6Postby i_ri »

((but you stated anchor is screen corner while man states anchor is window corner.))

All right siamhie. good for You.
Without the Close setting, it will be durable.

Top

siamhie
Posts: 2137
Joined: Fri Aug 20, 2021 5:45 pm

Re: fluxbox apps file gets overwritten after reboot

  • Quote

#7Postby siamhie »

i_ri wrote: Thu Aug 29, 2024 9:19 pm((but you stated anchor is screen corner while man states anchor is window corner.))

I never mentioned screen corner. I was quoting the terminology from the man page on the fluxbox web page (see link).

All right siamhie. good for You.
Without the Close setting, it will be durable.

The close setting gets added if you right click the windows titlebar and bring up the menu.
From there you select Remember > Save on close.

Code: Select all

 [Close] {bool} Save settings on close. By default, application settings are not updated when a window is closed.

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.

Top

i_ri
Posts: 880
Joined: Tue Jun 30, 2015 12:26 am

Re: fluxbox apps file gets overwritten after reboot

  • Quote

#8Postby i_ri »

hi siamhie
not really boolean is it? yes or not at all. does true or True work for You?

when Close equals yes, then as instructed by Close yes, the position will be saved to /apps as redetermined UPPERLEFT by fluxbox; or however fluxbox describes to define Remember window placement. which is where this topic started.

Put in /apps Close equals yes and close the window. fluxbox describes the location. fluxbox just appointed the location quicker than we can trial and error. Take out Close equals yes and it will not change.

Last edited by i_ri on Thu Aug 29, 2024 11:07 pm, edited 1 time in total.

Top

siamhie
Posts: 2137
Joined: Fri Aug 20, 2021 5:45 pm

Re: fluxbox apps file gets overwritten after reboot

  • Quote

#9Postby siamhie »

If you launch fbrun it will always open in the same position.
Notice it doesn't have the [Close] variable?

Code: Select all

[app] (name=fbrun) [Position](CENTER){0 0} [Deco]{0x25} [Layer]{2}[end]

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.

Top

i_ri
Posts: 880
Joined: Tue Jun 30, 2015 12:26 am

Re: fluxbox apps file gets overwritten after reboot

  • Quote

#10Postby i_ri »

fbrun by default is center. i do -nearmouse.
(( oh. i recall i did a screenshot with fbrun at (x,y) under the toolbar ...)

Top

Post Reply

  • Print view

24 posts

  • 1
  • 2
  • 3
  • Next

Return to “Software / Configuration”

Jump to

  • News/Announcements
  • ↳ MX News and Announcements
  • ↳ antiX News and Announcements
  • ↳ Site Announcements
  • MX - ACTIVELY DEVELOPED AND SUPPORTED
  • ↳ MX Help
  • ↳ Bugs and Non-Package Requests Forum
  • ↳ Installation
  • ↳ Security
  • ↳ General
  • ↳ XFCE Desktop Environment
  • ↳ Documentation and videos
  • ↳ Themes and Screenshots
  • ↳ MX Art
  • ↳ User contributed icons
  • ↳ User contributed Wallpaper
  • ↳ MX Linux Official Blog
  • ↳ Hardware /Configuration
  • ↳ Software / Configuration
  • ↳ Older Versions
  • ↳ MX Fluxbox Official Release
  • ↳ MX KDE Official Release
  • MX MODIFIED - CONDITIONALLY SUPPORTED BY FORUM MEMBERS
  • ↳ MX Modified
  • ↳ MX Respins
  • antiX - MX COLLABORATOR, ACTIVELY DEVELOPED AND SUPPORTED
  • ↳ antiX
  • Development
  • ↳ General
  • ↳ Website
  • ↳ Torrent Team
  • ↳ Art Discussion
  • ↳ Translations
  • ↳ MX Repositories
  • ↳ General
  • ↳ Package Requests / Status
  • ↳ Package Requests - MX-23
  • ↳ Package Status - MX-23
  • ↳ Package Requests - MX-21
  • ↳ Package Status - MX-21
  • ↳ Package Requests/Status - MX-19
  • ↳ Package Requests/Status - MX 17/18
  • Community
  • ↳ Chat
  • ↳ General
  • ↳ Community Fun
  • ↳ Success Stories
  • ↳ Testimonials
  • ↳ Other Languages
  • ↳ Forum en Español
  • ↳ Forum Français
  • ↳ Forum Italiano
  • ↳ Deutsches Forum
  • ↳ المنتدي العربي
  • ↳ 中文論壇
  • ↳ Other Languages Forum
  • ↳ Community Submissions
  • ↳ Package Sharing
  • ↳ Scripts
  • Administration
  • ↳ Rules and Forum How-Tos
  • ↳ Rules
  • ↳ Forum How-to's
  • ↳ Site Help
fluxbox apps file gets overwritten after reboot (2024)
Top Articles
Latest Posts
Article information

Author: Carmelo Roob

Last Updated:

Views: 5649

Rating: 4.4 / 5 (45 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Carmelo Roob

Birthday: 1995-01-09

Address: Apt. 915 481 Sipes Cliff, New Gonzalobury, CO 80176

Phone: +6773780339780

Job: Sales Executive

Hobby: Gaming, Jogging, Rugby, Video gaming, Handball, Ice skating, Web surfing

Introduction: My name is Carmelo Roob, I am a modern, handsome, delightful, comfortable, attractive, vast, good person who loves writing and wants to share my knowledge and understanding with you.