View previous topic :: View next topic |
Author |
Message |
FastTurtle Guru

Joined: 03 Sep 2002 Posts: 544 Location: Flakey Shake & Bake Caliornia, USA
|
Posted: Mon May 12, 2025 4:04 pm Post subject: Fluxbox works but issues remain |
|
|
First off: I finally got fluxbox working. Was a PITA but it works.
Any help on these issues appreciated as I'm currently using KDE and hate the direction it's going. They're starting to emulate Windows and all of the security mistakes MS makes such as automounting everything that's thrown at the system:
Problems I'm currently having is deadbeef doesn't add any files to the playlist. Might be an incomplete menu entry as it does load.
Code: | >[exec] (deadbeef) {deadbeef}
|
some of the menu entries indclude Code: | </var/tmp/portage/x11-wm/fluxbox-1.3.7-r5/temp/home/.fluxbox/icons/gentoo.xpm> | additional information such as this. That's for the gentoo file manage
Another is keepassxc - not sure how to structure the menu if at all.
Code: | [exec] (passwords) {keepassxc} |
Last is setting a lower screen rez as the default is too high for my eyes. 1440 and I've fond that 1080 works fine for general use. _________________ AsRock Rack Rome8-2t
AMD Epyc 7282 CPU
192GB of ECC memory |
|
Back to top |
|
 |
asturm Developer

Joined: 05 Apr 2007 Posts: 9398
|
Posted: Mon May 12, 2025 4:12 pm Post subject: |
|
|
KDE Plasma does not automount anything for me. I don't see any change even compared to KDE3 in that regard |
|
Back to top |
|
 |
yayo Tux's lil' helper


Joined: 19 May 2014 Posts: 119
|
Posted: Mon May 12, 2025 5:39 pm Post subject: |
|
|
If it can be of any help, the fluxbox menu is generally made in this way:
Code: | [begin] (Fluxbox)
[encoding] {UTF-8}
# comment
[submenu] (menu-name) </path/icon.png>
[exec] (app-name) {command} </path/icon.png>
[separator]
[exec] (app-name) {command} </path/icon.png>
[exec] (app-name) {command} </path/icon.png>
[end]
[submenu] (fluxbox) </path/fluxbox-icon.png>
[submenu] (wallpaper) </path/icon.png>
[exec] (random) {fbsetbg -r ~/wallpapers/}
[separator]
[wallpapers] (/home/user/wallpapers/)
[end]
[end]
[endencoding]
[end] |
You can add submenu and entries as you need.
Of course verify that any file (both executable and icon file) exists, that the path is correct, and that you have the permission to exec/read it.
Some special menu/options are:
"[config] (config) <icon> " for some fluxbox setting
"[include] (/usr/share/fluxbox/menu.d/styles/)" to add a list of fluxbox styles
"[wallpapers] (~/wallpapers/)" to add a set of pictures to select the wallpaper manually
"[workspaces] (desktop) <icon>" for desktop areas setting/selection
"[commanddialog] (launch) <icon>" to open a lounch dialog
"[reconfig] (configs reload) <icon>" to reload config files
"[restart] (restart) <icon>" to restart fluxbox
I suggest you to leave the base menu file unchanged as a reference, make a copy of it, and set the copy as a menu file via the init setting (in ~/.fluxbox/init) with something like "session.menuFile: ~/.fluxbox/my-menu".
You can also set up a ~/.fluxbox/menuconfig file with a set of rules to automatically generate a menu for you by launching the fluxbox-generate_menu command. But I personally prefer the hand-made option.  |
|
Back to top |
|
 |
FastTurtle Guru

Joined: 03 Sep 2002 Posts: 544 Location: Flakey Shake & Bake Caliornia, USA
|
Posted: Mon May 12, 2025 7:24 pm Post subject: |
|
|
asturm: It's something that changed with qt5 and the latest kde for internel drives. It still asks for external drives and such, but if it's internal and connected with a Media Name EG: Music, Pictures, Videos or Downloads, it'll automount at portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000) which is a QT process.
The only reason it's not showing me the mount points is I removed the drive labels that was causing the issues under KDE.
yayo:
I've not wiped the entire menu but added entries as specified with the example from the menu. Did not see a reason to list the entire menu - yes the structure is simple text, which is why I prefer fluxbox over anything else but apps such as deadbeef (music player) will not add files to the playlist using the "Open Folder" choice. It does under KDE so I'm wondering what I don't have, which may be the tmp directlry entry as the one example shows.
********* Optional
Overall, I've had a relearning experience due to major changes over the last 5 years but I've managed to get fluxbox working and am in the final tweaking stages with just a few issues such as the fact that deadbeef will not add files to the play list. As to keepassxc, I haven't tested that as but expect a few issues just like the deadbeef problem. I'm also on the fluxbox mailing list (have been since 2010; so it's been a while).
Main reason I want this fully working is that fluxbox suits my work flows and needs much better then kde does and the fact that I've got errors in the kde build - thankfully it's on a seperate gentoo install Great to have multiple drives for this. None are very big but it helps my testing. _________________ AsRock Rack Rome8-2t
AMD Epyc 7282 CPU
192GB of ECC memory |
|
Back to top |
|
 |
yayo Tux's lil' helper


Joined: 19 May 2014 Posts: 119
|
Posted: Mon May 12, 2025 8:55 pm Post subject: |
|
|
Sorry, while reading your post I got the perception that you were at the beginning with fluxbox, so I provided a quick reference to help, but maybe I misunderstood.
I never used deadbeef, but you can add it to fluxbox, and thus launch/open it, in any specific way (with loaded folders/files, opened dialogs or whatever) that provides a corresponding command line option, like:
Code: | [exec] (writer) {libreoffice --writer} <path-to-libreoffice-writer-icon.png>
[exec] (conky-lcd) {conky -c ~/.conky/.conkyrc_lcd} <~/.fluxbox/icons/conky-logomark-violet.png> |
For command-line-interface softwares you must provide a persistent terminal window too:
Code: | [exec] (info) {urxvt -hold -e fluxbox -info} <path-to-fluxbox-icon.png> |
For screen resolution you can install x11-misc/arandr and launch it via fluxbox menu ("[exec] (arandr) {arandr}"). |
|
Back to top |
|
 |
rab0171610 Guru

Joined: 24 Dec 2022 Posts: 528
|
Posted: Tue May 13, 2025 3:42 pm Post subject: |
|
|
FastTurtle,
KDE doesn't automount anything unless that is the option you choose. That setting is in SystemSettings > Disks & Cameras > Device Automount. Uncheck the box for 'All Known Devices' for 'On Login' and 'On Attach'. The options below that, 'Attached Devices' and 'Disconnected Devices' , are only available when the 'All Known Devices' are checked or unchecked, whatever the case may be. There is also the button for 'Forget Device' and a checkbox for 'Automatically mount removable media that have never been mounted before' at the bottom.
If you have that set to mount all known devices at either On Login or On Attach, obviously they are going to automount. If you do not like that behavior, simply turn it off. Problem solved.
You can see a photo of the configuration option here:
https://discuss-cdn.kde.org/uploads/default/original/2X/c/c180972c97b67e891fd0acdcd70e547389260b08.png
If you find the behavior of the cascading options confusing, there is a related discussion:
https://discuss.kde.org/t/how-to-auto-mount-an-encrypted-drive-on-attach/19209 |
|
Back to top |
|
 |
Chiitoo Administrator


Joined: 28 Feb 2010 Posts: 2790 Location: Here and Away Again
|
Posted: Wed May 14, 2025 10:07 am Post subject: |
|
|
FastTurtle wrote: | asturm: It's something that changed with qt5 and the latest kde for internel drives. It still asks for external drives and such, but if it's internal and connected with a Media Name EG: Music, Pictures, Videos or Downloads, it'll automount at portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000) which is a QT process. |
That looks more like a 'xdg-desktop-portal' thing, which KDE and others are using more and more due to Wayland I believe, than anything related to Qt. _________________ Kindest of regardses. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|