Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(request) system tray blended into the bottom bar #42

Open
brightersun99 opened this issue Feb 13, 2021 · 6 comments
Open

(request) system tray blended into the bottom bar #42

brightersun99 opened this issue Feb 13, 2021 · 6 comments
Labels
enhancement New feature or request

Comments

@brightersun99
Copy link

The CDE bottom bar has some larger icons for clock, calender, theyre pretty spacy.

Since you're using fvwm for a base I imagine this would be possible, the idea is makinga custom tray app/fork of stalone tray that can become apart of the bottom bar, looking just like another icon and being interacted with like a system tray. It could be like a widget.

People may oppose this, the cde crowd don't lile trays, however stalonetray is an eye sore and sticks out like a sore thumb in its current, and default configuration and theres just noway around that.

unrelated,
Thanks for the excellent DE I have started to move my other CDE comptuers over to it, although I prefer cde, at least his way I dont need to run rpcbind on the already insecure linux desktop

@NsCDE
Copy link
Owner

NsCDE commented Feb 14, 2021

Hi,

Thanks for bringing this up. This "tray in the Front Panel" problem is the painful thing which I was thinking about for a long time. The problem is fixed space in Front Panel button. Even if we tune stalonetray rc to fit 9 icons into a 48x48 space of Front Panel button, I don't know how it will behave when 9 tray icons become 10 or more. Allegedly, stalonetray has some internal mini scrollbars, but I never got it to show. See section 7.1 of the manual how to configure custom applets in FrontPanel, try yourself if you have a time and will.

Meanwhile I will try to find some time this month to look at this possibility again. Leaving this issue open.

@NsCDE NsCDE added the enhancement New feature or request label Feb 14, 2021
@brightersun99
Copy link
Author

Thanks for replying .
With wmsystmetray (which only works on windowmaker), it fits 4 icons, 6 in small mode. And it has two front/back arrow keys for when you run out of space.

Anyways theres only 1-2 programs I use that hide in the tray and can't be called into focus simply by trying to start them again, hexchat and pidgin. I really hate that freedesktop standard.

I'll give it a tray.

By the way, do you know how to make nscde behave like actual cde? alt tabbing seems all messed up and different and i cant simply click into a window to focus/raise it i have to click its title bar or spam click it.

@rtomsick
Copy link

By the way, do you know how to make nscde behave like actual cde? alt tabbing seems all messed up and different and i cant simply click into a window to focus/raise it i have to click its title bar or spam click it.

I'm just passing through this issue, but as a fellow ex-CDE user: hi!

To answer the question, you should be able to change the focus settings via Style Manager > Window and then picking "Click In Window To Make Active". Keybindings can be changed in ~/.NsCDE/NsCDE-Keybindings.local.

@melroy89
Copy link

melroy89 commented Feb 19, 2021

By the way, do you know how to make nscde behave like actual cde? alt tabbing seems all messed up and different and i cant simply click into a window to focus/raise it i have to click its title bar or spam click it.

As @rtomsick already said you can change in the keybindings file. You can also check the file:///opt/NsCDE/share/doc/html/NsCDE-Keybindings_conf.html file, like: alt+arrow up or alt+arrow down also allows you to cycle between windows.

Or Win + Alt + n and Win + Alt + b also allows you to switch between windows.

In my case I also prefer Alt+Tab for focusing windows, since I'm used to that for 30 years now. Try to edit ~/.NsCDE/NsCDE-Keybindings.local and add:

Silent Key Tab M f_SwitchFocus Next CurrentPage

Or (cylce with previous windows):

Silent Key Tab M f_SwitchFocus Prev CurrentPage

ps. Don't forget to restart you NsCDE in order to apply the new settings. (the letter 'M' is the Alt button)

ps. ps. I even disabled some other keybindings that gave me issues (like shift+tab en shift+arrow keys). I disabled those as well:

# Disable Shift+Tab
Key Tab A S - -

# Disable Shift+Arrow keys
Key Left A S - -
Key Right A S - -
Key Up A S - -
Key Down A S - -

Cursor movements I no longer use my Shift + arrow keys, instead I use Shift + numlock arrows for that:

# Move cursor via Shift+Num keys
Silent Key KP_Left A S CursorMove -1 0
Silent Key KP_Right A S CursorMove +1 +0
Silent Key KP_Up A S CursorMove +0 -1
Silent Key KP_Down A S CursorMove +0 +1

I even enabled more key bindings:

# Make use of additional fancy keyboard keys
Silent Key XF86Calculator A A Exec exec $[infostore.calculator]
Silent Key XF86HomePage A A Exec exec firefox
Silent Key XF86Tools A A Exec exec rhythmbox
Silent Key XF86Mail A A Exec exec mailspring

@NsCDE I hope NsCDE really take a closer look to conflicting keybinding like listed above, and rebinding those to other keybindings in the official NsCDE release.

@NsCDE
Copy link
Owner

NsCDE commented Feb 28, 2021

Hi danger89 and rtomsick,

List of fey bindings is pretty much extensive in NsCDE. Probably too much. I tried to consolidate this before first non-rc release in some logical way. So cycling of pages ended with Alt+Tab and cycling of workspaces with Meta+Tab.
I understand Alt+Tab is commonly used for switching active windows or bringing window list for selection, so this can be a bit strange here.
Keep your local overrides as they are for now. If I change Alt+Tab, I must also rethink Meta+Tab, but then again, some people are using this already ... or not to touch Meta+Tab, but rethink page cycling to some other Meta+ or X+Tab combination to be consistent, but not to use Alt.
I will leave this open for now.

@ghost
Copy link

ghost commented Feb 10, 2023

I do exactly as the title says but with KDE Plasma:

in ~/.NsCDE/FrontPanel.actions add this:

Btn2,__APPLET__,M1,"ActionIgnoresClientWindow| Swallow (UseOld) \\"System Tray\\" \\"Exec sh -c `plasmawindowed org.kde.plasma.systemtray & starttime=$(date +%s); while [ $(( $(date +%s) - 10 )) -lt $starttime ]; do xprop -name 'System Tray' -remove WM_NORMAL_HINTS; done`\\"",Nop

You will have to configure system tray to hide all but two notification icons so you keep the popup overflow menu. Other than that it looks VERY well integrated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants