-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans (15) .- Knowledge Base  . 

KOSD

   0.8.1  

KDE Other Utility

Score 88%
KOSD
zoom


KOSD
zoom


KOSD
zoom


Link:  http://
Minimum required   KDE 4.x
Downloads:  2554
Submitted:  May 20 2008
Updated:  Nov 19 2011

Description:

KOSD is a simple framework for the KDE Desktop providing an OSD in response to media key presses.

How to install:

Step 1:
If you have an older version of KOSD already installed, remove it completely before proceeding.

Step 2:
To build and install KOSD change to the extracted source directory and type:

mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
make
make install (as root)

Step 3:
Log out and back in to make sure the modules are loaded correctly by KDED (or run kquitapp kded && kded4).

Step 4:
In System Settings go to Shortcuts and Gestures->Global Keyboard Shortcuts. Select KOSD from the components list and reassign your keys as needed.

Step 5:
Go to Workspace Appearance->On-Screen Display to adjust KOSD to your liking.

That's it. Enjoy!

P.S.: Don't like monochrome icons? Then create the file .kde4/share/config/kosd_keysrc. Put the lines

[General]
UseSvg=0

in it and restart the KOSD Keys service.

You can also set the mixer control by adding the line

MixerControl=name

where name is the name of your desired control (e.g. Master, PCM, ...).




Changelog:

Changelog from 0.8.0 to 0.8.1
* Fixed some power management issues

Changelog from 0.7.1 to 0.8.0
* Added standard methods for battery, brightness and volume, allowing the pixmaps to be kept in memory, which avoids hard disk reads and makes the OSD more responsive

Changelog from 0.7.0 to 0.7.1
* Fixed a possible crash, if no mixer control named "Master" exists

Changelog from 0.6.2 to 0.7.0
* Changed KOSD Keys Service to use ALSA directly instead of relying on KMix

Changelog from 0.6.1 to 0.6.2
* Fixed CMakeLists.txt not to link against libsolidcontrol which is no longer used

Changelog from 0.6.0 to 0.6.1
* Made KOSD Keys Service compatible with KDE SC 4.6

Changelog from 0.5.1 to 0.6.0
* Added support for (Plasma-themed) SVG icons
* Many improvements throughout the code

Changelog from 0.5.0 to 0.5.1
* Fixed the mixer to always use the correct master channel

Changelog from 0.4.2 to 0.5.0
* Split up the monolithic application into a KDED module for the OSD, a KDED module for the key listener, a system settings module and a simple access library allowing any application to use the OSD
* Replaced the old OSD by new, fully Plasma based OSDs. There's now a "standard" OSD similar to the old one and a "compact" OSD similar to the OSDs provided by KMix and Powerdevil




LicenseGPL
Donate
Send to a friend
Subscribe
Other  Apps  from marcel83
Report inappropriate content



goto page:  1  2  3  4  5  6  7  8 ...

-

 suggestions

 
 by donpaco on: May 21 2008
 
Score 50%

it looks very nice!

as i don't have on this computer any multimedia key, i will not install it here, so it is not tested, but from description and screenshots here are some propositions:

- add icons for keyboard brightness (for macbook pro's for example)
- add play/pause,forward, back buttons for multimedia
- add eject icon (ejection of cd on some compuer, one again for example on macbooks)
- maybe add icons for other and more classical actions that could be disactivated like : copied, pasted,deleted...


maybe not everything is good in those ideas, but maybe it can apport something :)


Reply to this

-
.

 problem in debian 4

 
 by mhymn on: May 21 2008
 
Score 50%

i get this error during the ./configure step. what should i do?
--> checking for X... configure: error: Can't find X libraries. Please check your installation and add the correct paths


Reply to this

-

 Re: problem in debia

 
 by novalu on: May 22 2008
 
Score 50%

you need X development packages, maybe libX11-dev (build-essential) ;)


Reply to this

-

 doesn'd do anything

 
 by nbecker on: May 21 2008
 
Score 50%

Tried on fedora F9.

Doesn't do anything (but kosd process is running)


Reply to this

-
.

 Re: doesn'd do anyth

 
 by phil on: May 21 2008
 
Score 50%

Same here ....

Work with openSuSE 10.3 and two sound cards, but none works. Program compiled and installed well, starts but does nothing.

I appreciate your work; would really like to use it.

Thank you


Reply to this

-

 Re: doesn'd do anyth

 
 by lean205 on: May 21 2008
 
Score 50%

Same as me.
Slackware 12.1... compiled, installed fine. Kosd is running correctly but the kde defauld OSD is showing


Lean
Reply to this

-

 Re: doesn'd do anyth

 
 by marcel83 on: May 22 2008
 
Score 50%

Hi.
First of all you have to make sure that your multimedia buttons actually trigger some sort of XF86* event. Use xev to test that. If they don't trigger any events, you'll need to set up an .Xmodmap file. There are many instructions on how to do this on the web. Lastly, once your buttons work, click on the "Configure shortcuts" button in the KOSD configuration dialog and make sure your keys are assigned correctly.
Hope that helps.


Reply to this

-

 Re: Re: doesn'd do a

 
 by lean205 on: May 22 2008
 
Score 50%

I've correctly configured my xbindkeys / xmodmap but the "Configure shortcuts" buttons doesn't work.
The default OSD is still appearing.
any idea?


Reply to this

-

 Re: Re: Re: doesn'd

 
 by marcel83 on: May 22 2008
 
Score 50%

It was a bug in the configuration dialog. I've just uploaded 0.1.1. Try that instead.


Reply to this

-

 Re: Re: Re: Re: does

 
 by lean205 on: May 23 2008
 
Score 50%

Thank you now the shortcuts button works fine. I've configured correctly KOSD too, but the defaul OSD is still here...
Any suggestions?
Do have I to start something before?


Reply to this

-

 Re: Re: Re: Re: Re:

 
 by marcel83 on: May 23 2008
 
Score 50%

The only other OSD I know of is KMilo. I suppose that's what's running on your system. If that's the case, you can disable it in the KDE Control Center (under KDE Components -> Services).


Reply to this

-

 Re: Re: Re: Re: Re:

 
 by lean205 on: May 23 2008
 
Score 50%

Fantastic! It works! thanks for your support!



-

 Re: Re: doesn'd do a

 
 by lean205 on: May 22 2008
 
Score 50%

I've correctly configured my xbindkeys / xmodmap but the "Configure shortcuts" buttons doesn't work.
The default OSD is still appearing.
any idea?


Reply to this

-

 Is this a clone?

 
 by lcdsantos on: May 21 2008
 
Score 50%

marcel83, is this a clone from your recent project KVolumeOSD? They look like the same.


Reply to this

-

 Not work

 
 by mapi on: May 21 2008
 
Score 50%
mapimapi
RPMLinux.org
Home

Compiled ok with Mandriva but it doesn't work


Reply to this

-

 Re: Is this a clone?

 
 by marcel83 on: May 22 2008
 
Score 50%

Hi.
It's not really a clone, but rather the successor of KVolumeOSD. I just thought I should rename it to reflect the fact that it now supports more than just volume buttons.


Reply to this

-
.

 doesn't work

 
 by novalu on: May 22 2008
 
Score 50%

nothing is visible on Kubuntu 7.10 Gutsy. Compiled and running process fine, but OSD isn't showing. But KOSD looks like a very good program ;)


Reply to this

-

 Re: doesn't work

 
 by novalu on: May 23 2008
 
Score 50%

KOSD 0.1.1 works, but only for normal keys. With multimedia keys assigned in configuration dialog KOSD don't work. That multimedia keys trigger XF86 events in xev and kmilo is off. What's wrong? :| Thanks


Reply to this

-

 Re: Re: doesn't work

 
 by marcel83 on: May 23 2008
 
Score 50%

Hi.
I can't tell for sure, but it could be that some other application already reacts to those events (with KDE's shortcut system it isn't possible for two or more applications to react to the same event). In that case KOSD never will know about them.
What buttons are concerned exactly?


Reply to this

-

 Re: Re: Re: doesn't

 
 by novalu on: May 23 2008
 
Score 50%

That buttons is XF86AudioRaiseVolume, XF86AudioLowerVolume, XF86AudioMute. I'm tried to unassigned that from Amarok or KMix, but KOSD still don't work.


Reply to this

-

 Re: Re: Re: Re: does

 
 by marcel83 on: May 24 2008
 
Score 50%

Have you gotten it to work already?
Frankly, I have no idea what could be going wrong here.


Reply to this

-
.

 change brightness?

 
 by stavallo on: May 23 2008
 
Score 50%

Hi,

thanks for your app, it is a great replacement for kmilo (which is ugly, non-configurable and doesn't work...). I tried KVolumeOSD and works great.

I wanted to ask you whether you plan to implement the feature of changing brightness (as far as I understand, it is currently possible to show brightness but not to change it). Also, I saw that you use acpi to retrieve the current and max brightness. However, my laptop has an Intel card and the brightness may only be changed via xbacklight. So, would it be possible to implement both ways (acpi and xbacklight) via a configure option or a #define? If you want, I can help implement such a feature.

Regards,
Stefano


Reply to this

-

 Re: change brightnes

 
 by marcel83 on: May 23 2008
 
Score 50%

Hi.
I'll see how xbacklight support can be best implemented. I have just two questions (for now). You say you cannot change the brightness through acpi, but can you read the actual brightness from anywhere when all required modules are loaded? Also, what kind of system do you have (which manufacturer)?
Thanks


Reply to this

-

 Re: Re: change brightnes

 
 by stavallo on: May 25 2008
 
Score 50%

Hi,
I have a Sony Vaio FZ39VN with Intel GM965. With the sony_laptop module loaded there are two files (brightness and actual_brightness) in /sys/class/backlight/acpi_video0 but they are unusable. I can retrieve the current brightness by typing 'xbacklight -get', which shows the current (correct) value as a percentage of the maximum brightness supported. Or, 'xrandr --prop', which shows the absolute values of the current and maximum brightness. To change the brightness, either 'xbacklight -[inc|dec] percentage' or 'xrandr --output LVDS --set BACKLIGHT abs_value'.

If you need further information, just ask me.
Thanks


Reply to this

-

 Re: Re: Re: change brightnes

 
 by marcel83 on: May 26 2008
 
Score 50%

I'll see what can be done.

For now, you could try this:
Create two scripts (e.g. BrightUp.sh and BrightDown.sh) and put something like this in them (here for BrightUp.sh):

#!/bin/bash
xbacklight -inc 10
brightness=$(xbacklight -get)
dcop kosd kosd showBrightness $brightness

Test them to make sure they work. Make them executable and put them somewhere you'll find them later.
Now go to Control Center -> Regional and Accessibility -> Input Actions. Add new actions for BrightUp/Down and select type Command/URL. Set your keys in the 'Keyboard Shortcut' tab and select the correct scripts in the 'Command/URL Settings' tab.

That's it. Let us know if it works.


Reply to this

-

 Re: Re: Re: Re: change brightnes

 
 by stavallo on: May 28 2008
 
Score 50%

Yes, it works, in the sense that I am able to inc/dec brightness and the OSD appears. However, the percentage shown on the OSD is always 0% (maybe you expected this behavior).

If you don't like to use such shell scripts, you may have a look at the source code of xbacklight. It is a simple program that uses XRRChangeOutputProperty calls to change the brightness. So you may use these calls from within your KOSD. Of course, building KOSD will then require some X devel libraries. I know that this solution has some drawback, but AFAIK dcop has been replaced by D-Bus in KDE4, so this solution may be more easily ported to KDE4.

Anyway, thanks again for your app!


Reply to this

-

 Re: Re: Re: Re: Re: change bri

 
 by marcel83 on: May 30 2008
 
Score 50%

Probably the line 'brightness=$(xbacklight -get)' is wrong in the script. Since xbacklight doesn't work on my system, I don't know what 'xbacklight -get' usually returns exactly. You might have to filter the output somehow to get only the brightness in percent.


Reply to this

-

 Re: Re: Re: Re: Re: Re: change bri

 
 by stavallo on: Jun 2 2008
 
Score 50%

xbacklight -get returns a real number (e.g., 50.00) while showBrightness requires an integer value. So, I tried:

brightness=$(xbacklight -get | sed -e s/\\..*//)

and it works. Thanks!



goto page:  1  2  3  4  5  6  7  8 ...

Add commentBack






-
-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.