Forum › Forums › New users › New Users and General Questions › [SOLVED] How to get brightness icon on icewm toolbar. antiX 19.2.1_base
Tagged: screen brightness
- This topic has 2 replies, 2 voices, and was last updated May 5-11:03 pm by betman.
-
AuthorPosts
-
May 5, 2020 at 6:30 am #35647Member
betman
Hello!
Like there is the volume icon, can brightness icon be put on the icewm toolbar for easy brightness management?Thanks.
- This topic was modified 3 years ago by betman. Reason: marked as solved
May 5, 2020 at 8:06 am #35648Member
Xecure
::Warning: These methods have only been tested on laptops. For desktop, you may only “dim” the brightness of your monitor (through software) or may require special programs.
Option 0. Hotkey to change brightness (no brightness icon on systray)
Description: Use a key combination to increase/decrease the brightness.
Method: Go to the folder in your home directory that corresponds to your window manager and add a key combination in the keys file.
Example for icewm:
1. edit ~/.icewm/keys with a text editor.
2. Add a key combination for decreasing brightness and another one for increasing brightness.
3. The file should already have a key combination using the default keys for the laptop (generally a Fn+key combination):key "XF86MonBrightnessDown" backlight-brightness -10 key "XF86MonBrightnessUp" backlight-brightness +10Advantages: Uses less RAM, easy to use if the key combination is good.
Disadvantage: No indicator to tell you “how bright” the screen is.Option 1. Brightness launcher in the desktop (no brightness icon on systray)
Description: Add a .desktop file to your desktop for launching backlight-brightness and control your brightness with it.
Method: Make a copy of the file /usr/share/applications/antix/backlight-brightness.desktop adding it to the Desktop.
Example for ROX desktop:
1. Open /usr/share/applications/antix/ in ROX filer
2. Drag and drop backlight-brightness.desktop to your desktop
Advantages: Visual indicator of how bright your screen is; easy to set and use.
Disadvantage: Has to be launched every time you want to change the brightness.Option 2. xfce4-power-manager icon in systray to control brightness
Description: Using XFCE power manager will give you information and control on your screen brightness and also info about your battery and power management options, all from an icon on the system tray.
Method: Install xfce4-power-manager, set it up to launch on startup and configure it to display the icon on the system tray. Then right-click will control the screen brightness.
1. Install the program (you may use synaptic or other method).
sudo apt install xfce4-power-manager
2. Add a startup command in ~/.desktop-session/startup#Starts XFCE power manager xfce4-power-manager &3. Configure it to display icon in system tray (if not already). In the General tab, at the bottom, enable System tray icon. Launch it form the menu (Power Manager) or from terminal:
xfce4-power-manager xfce4-power-manager-settingsAdvantage: Easily accessible brightness indicator; the program enables your to control many power related things on your laptop (battery level, sleep timer, lid behavior, etc).
Disadvantage: Requires installing some extra packages. Overrides some acpi behavior, uses a bit of extra RAM and some CPU cycles, and may conflict with other power managers you may have installed.- This reply was modified 3 years ago by Xecure. Reason: Formating
antiX Live system enthusiast.
General Live Boot Parameters for antiX.May 5, 2020 at 11:03 pm #35661Memberbetman
::Thanks @Xecure, used the hotkey option since that seemed safe. Ctrl+Alt+Up and Ctrl+Alt+Down.
Thanks again! -
AuthorPosts
- You must be logged in to reply to this topic.