-
 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:  2560
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: prev   1  2  3  4  5  6  7  8  9 ...

-

 Thanks

 
 by hash87 on: May 23 2008
 
Score 50%

Works great! Awesome replacement for KMilo!

Keep up the good work


Reply to this

-

 Awesome

 
 by Gil on: May 24 2008
 
Score 50%

This is great!
I've been looking for a replacement for KMilo for ages!


Reply to this

-
.

 Flexibility

 
 by bulsa on: May 25 2008
 
Score 50%

For people who already have hotkeys in place (or dont want to depend on kmix) it would be great if your application could be switched to a mode where it doesn't capture key-events but simply listens for dcop calls wich could have parameters like (QString text,QString icon,int progress,int duration)


Reply to this

-
.

 Re: Flexibility

 
 by marcel83 on: May 26 2008
 
Score 50%

Check out KOSD 0.1.2 :-)


Reply to this

-

 Re: Re: Flexibility

 
 by bulsa on: May 26 2008
 
Score 50%

this is more what I thought of:

diff -Naur KOSD_original/src/kosd.cpp KOSD/src/kosd.cpp
--- KOSD_original/src/kosd.cpp 2008-05-26 05:28:25.000000000 +0200
+++ KOSD/src/kosd.cpp 2008-05-26 17:52:57.838219566 +0200
@@ -39,7 +39,7 @@
{
m_mixer = new Mixer();
m_osd = new OSD();
- m_configWindow = 0;
+ m_configWindow = new ConfigurationDialog();
m_aboutWindow = new KAboutApplication(0, "aboutWindow", true);

this->initializeConfiguration();
@@ -346,5 +346,15 @@
this->slotShowBattery();
}

+void KOSD::showGeneric(QString text, unsigned int progress, QString imagepath)
+{
+ m_osd->showGeneric(text,progress, imagepath);
+}
+
+void KOSD::showConfig()
+{
+ m_configWindow->ConfigurationDialog::show();
+}
+

#include "kosd.moc"
diff -Naur KOSD_original/src/kosd.h KOSD/src/kosd.h
--- KOSD_original/src/kosd.h 2008-05-26 05:13:58.000000000 +0200
+++ KOSD/src/kosd.h 2008-05-26 17:46:09.196218605 +0200
@@ -82,13 +82,14 @@
void showVolumeMute();
void showBrightness(unsigned int percent);
void showBattery(unsigned int percent);
-
+ void showGeneric(QString text, unsigned int progress, QString imagepath);
void showVolume();
void raiseVolume();
void lowerVolume();
void muteVolume();
void showBrightness();
void showBattery();
+ void showConfig();
};

#endif // KOSD_H_
diff -Naur KOSD_original/src/osd.cpp KOSD/src/osd.cpp
--- KOSD_original/src/osd.cpp 2008-05-26 05:21:15.000000000 +0200
+++ KOSD/src/osd.cpp 2008-05-26 17:40:48.108281442 +0200
@@ -195,6 +195,19 @@
m_timer->start(m_timeout, true);
}

+void OSD::showGeneric(QString text, unsigned int progress, QString imagepath)
+{
+ if (m_isTranslucent && !m_isShown)
+ this->makeNewScreenshot();
+
+ this->QWidget::show();
+ this->QWidget::update();
+ m_isShown = true;
+ m_currentImage = new QImage(imagepath);
+ m_valueBar->setValue(progress);
+ m_text = text;
+ m_timer->start(m_timeout, true);
+}

void OSD::showBrightness(unsigned int brightness)
{
diff -Naur KOSD_original/src/osd.h KOSD/src/osd.h
--- KOSD_original/src/osd.h 2008-05-26 04:57:22.000000000 +0200
+++ KOSD/src/osd.h 2008-05-26 17:40:48.015219246 +0200
@@ -41,6 +41,7 @@
void showVolume(unsigned int volume, OSDType type);
void showBrightness(unsigned int brightness);
void showBattery(unsigned int charge);
+ void showGeneric(QString text, unsigned int progress, QString imagepath);


public slots:









although it seems the nice config window I discovered when looking through the source isn't very useful at the moment
(if you'd like to use my patch you are of course free to do so under any GPL-license you like)


Reply to this

-

 Great!

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

Now works great!!!

Here there is Mandriva 2008.1 RPM:

http://rpmlinux.org/kosd


Reply to this

-
.

 aclocal 1.10

 
 by SaikoBee on: May 25 2008
 
Score 50%

Doesn't work with aclocal 1.10

sanctuary::brian-> make
Makefile:857: warning: overriding commands for target `clean-bcheck'
Makefile:820: warning: ignoring old commands for target `clean-bcheck'
Makefile:862: warning: overriding commands for target `bcheck-am'
Makefile:825: warning: ignoring old commands for target `bcheck-am'
cd . && make -f admin/Makefile.common configure.in ;
make[1]: Entering directory `/home/brian/src/KOSD'
*** Creating configure.files
make[1]: Leaving directory `/home/brian/src/KOSD'
cd . && /bin/sh /home/brian/src/KOSD/admin/missing --run aclocal-1.9
/home/brian/src/KOSD/admin/missing: line 52: aclocal-1.9: command not found
WARNING: `aclocal-1.9' is missing on your system. You should only need it if
you modified `acinclude.m4' or `configure.in'. You might want
to install the `Automake' and `Perl' packages. Grab them from
any GNU archive site.
cd . && /bin/sh /home/brian/src/KOSD/admin/missing --run automake-1.9 --gnu
/home/brian/src/KOSD/admin/missing: line 52: automake-1.9: command not found
WARNING: `automake-1.9' is missing on your system. You should only need it if
you modified `Makefile.am', `acinclude.m4' or `configure.in'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
cd . && perl admin/am_edit
cd . && perl admin/am_edit Makefile.in
cd . && rm -f configure
cd . && make -f admin/Makefile.common configure
make[1]: Entering directory `/home/brian/src/KOSD'
configure.in:43: error: possibly undefined macro: AM_INIT_AUTOMAKE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.in:48: error: possibly undefined macro: AM_CONFIG_HEADER
configure.in:51: error: possibly undefined macro: AC_CHECK_COMPILERS
configure.in:52: error: possibly undefined macro: AC_ENABLE_SHARED
configure.in:53: error: possibly undefined macro: AC_ENABLE_STATIC
configure.in:58: error: possibly undefined macro: AM_KDE_WITH_NLS
configure.in:61: error: possibly undefined macro: AC_PATH_KDE
configure.in:70: error: possibly undefined macro: AC_CHECK_KDEMAXPATHLEN
make[1]: *** [configure] Error 1
make[1]: Leaving directory `/home/brian/src/KOSD'
make: *** [configure] Error 2


Don't you get it? If you die in Canada, you die in real life!
Reply to this

-

 Re: aclocal 1.10

 
 by marcel83 on: May 26 2008
 
Score 50%

Hi.
Start with a fresh archive extract and run 'make -f Makefile.cvs'. Then proceed as usual. That should help.


Reply to this

-
.

 Re: Re: aclocal 1.10

 
 by SaikoBee on: May 26 2008
 
Score 50%

Whoops! Looks like I can't follow simple instructions...

Is it just supposed to show up when I adjust kmix volume? I have hotkeys for it and it never shows up.


Don't you get it? If you die in Canada, you die in real life!
Reply to this

-

 Re: Re: Re: aclocal 1.10

 
 by marcel83 on: May 26 2008
 
Score 50%

It's supposed to show up when you press a button on your laptop or keyboard. You just have to configure which button or key you want to do what.
Also read some of the other posts. Some common problems have already been explained there.

BTW, I only just added the 'make -f Makefile.cvs' line to the description a few hours ago, so it's not your fault:-) It's only necessary on systems which only provide automake 1.10 (but also doesn't harm on such with automake 1.9).


Reply to this

-
.

 Great Potential

 
 by Baldrun on: May 26 2008
 
Score 50%

Kosd looks like a potential replacement for kmilo. Unfortunately it doesn't quite work for me on a ThinkPad T61p with gentoo. I have several problems and wishes:

- Dualscreen: kosd only shows up on one of the screens independent of the cursor (kmilo shows up on the screen with the cursor)

- Placement: Even though I set it to 50%-50% the kosd-box shows up more to the left of the screen (maybe due to dualscreen?)

- Brightness & Battery: I just don't know which files to use, because I have no files called "actual_brightness" and the like on my system

- Missing events: Kmilo is able to grab "ThinkVantage" button, "Fn + Space" (for zooming), "FN + PgUP" (for the Thinklight)

- Customization: Here kosd is really great in comparison to kmilo. I would love to be able to choose my own icons and to alter the displayed text, too.

- Internationalization: I am willing to translate all text into German

For some more inspiration check out kal: http://kde-apps.org/content/show.php/Kal?content=23472

Keep up the great work. ;)


Reply to this

-

 Re: Great Potential

 
 by marcel83 on: May 26 2008
 
Score 50%

Hi. Thanks for the kudos:-)

Just a few comments:

* Dualscreen
I'm planing to add support for this in a coming release

* Placement
This could be a bug. I'll have a closer look on this.

* Brightness & Battery
There just isn't a single solution that will work on every imaginable system, but the DCOP interface added in 0.1.2 should help on systems that don't provide this information the usual ways

* Missing events
I'll be adding more actions/events in future versions

* Customization
You can of course replace the icons with your own before installing. I'll try to make KOSD a bit more themeable in a coming release

* Internationalization
I'll add i18n support soon (I'll also provide the German translations myself)


Reply to this

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

Add commentBack






-
-
How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

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.