Re: [kde] How to use a bluetooth headset?

2012-10-24 Thread Duncan
Marcelo Magno T. Sales posted on Wed, 24 Oct 2012 21:03:34 -0300 as
excerpted:

> I have a bluetooth headset which I can use perfectly well with my
> Android devices, but can't make it work with KDE.
> The KDE bluetooth application sees the headset, pears and connects to
> it,
> but the sound is still sent to the speakers even when the headset is
> connected. No sound is heard through the headset, only through the
> speakers.
> KMix and SystemSettings does not seem to have any option to direct the
> sound to the headset.
> When I connect a wired headset, it is automatically used by the system
> (and the speakers are automatically turned off).
> How do I make KDE use the bluetooth headset?

There's a lot of levels at which this question could be asked... and 
answered.  Unfortunately, you don't provide a lot of hints as to what 
level your actual intent was, except the conflicting hints of (1) asking 
about kde on a kde list, which suggests you know the actual hardware 
(computer side, it's obvious the bluetooth headset is working) and system 
drivers level is working and it's just kde-based-apps that aren't 
working, vs (2) you compare to a fully integrated hardware/software 
system normally sold as such, android-based devices (the phone/tablet/
whatever normally comes with android), indicating you're treating it as a 
single unitary whole, to kde, just a GUI desktop layer on top of... 
normally Linux, but it could be MS Windows or one of the BSDs, and if 
it's Linux it could be any one of a huge variety of distros, current or 
old version, on current or old hardware, and further, you mention nothing 
at all about the distro/platform you're on or whether it works in non-kde 
apps on the kde desktop, or whether it works on other desktops (gnome, 
unity, xfce, MS Windows), again suggesting you're considering it a single 
monolithic whole, which it definitely is *NOT*.

The simple answer would just answer the kde aspects only, since this IS a 
kde list, you didn't provide any information about anything else, and 
addressing anything beyond kde could be argued to be a discussion for 
elsewhere in any case.

But I fear you didn't ask the question you actually wanted answered, and 
maybe I can at least help you a bit toward the answer I believe you 
wanted, even if it's not explicit in the question you asked...

Simple first:  If non-kde apps and non-kde desktops are already working, 
and all you need is to get kde working...

Then you need to look in kde's system settings (which are more kde 
settings than system settings, the kde3 name kcontrol thus being a more 
accurate name, but they decided to unhelpfully confuse things in kde4 and 
call it something it's pretty much not, system settings), under hardware, 
multimedia, phonon, and adjust the priority of the bluetooth sound device 
accordingly for the desired category (or for everything).


If you don't see any bluetooth sound devices in that list, then it's 
probably not a kde problem, but a system/platform problem.  That's really 
out of scope for this list, but I'm guessing it's what you're seeing.

Assuming you're running kde on some sort of Linux distro (or FreeBSD or 
whatever), you're probably best off finding the lists/forums/irc-channels 
for that distro/bsd and asking there.

But... when you do, please include a bit more info.

The distro release version (fedora 17, red hat 6.whatever, ubuntu precise 
pangolin, etc) will be extremely helpful.  Even here, with that 
information, people would have at least /some/ idea what they were 
dealing with and with a bit of luck there'd be someone else running that 
distro who might have exactly the info you needed.  As it is, for all we 
know you're running kde apps on MS Windows and the MS side is fine, but 
we DON'T know.

Add any information you have about other bluetooth devices (say 
keyboards, or for that matter your android devices, paired over bluetooth) 
you have and whether they work fine over bluetooth with the computer, or 
not.

Also mention whether /any/ apps, not just kde apps, play sound to the 
bluetooth headset or not.  The common Firefox browser is gtk-based 
(Chrome/Chromium aren't kde based either, neither is Opera, all of which 
are browsers), for instance, so if it works with the bluetooth headset it 
may well be a kde problem.  But if they don't work either, it's probably 
lower in the system.

Anything else that you think might be helpful. (The above info that the 
headset works when paired against your android devices, so it's unlikely 
to be a problem with it, for example. =:^)

The idea here is to establish whether the problem's at the bluetooth 
layer, the audio layer (alsa, pulse if your distro uses it, gstreamer), 
the desktop layer (kde, gnome, xfce, etc), or an individual app problem 
(probably not the case here, unless you only tested a single app), then 
dig deeper into that area to find the problem and hopefully fix it.

This often takes quite a number of back and forth pos

[kde] How to use a bluetooth headset?

2012-10-24 Thread Marcelo Magno T. Sales
Hello,

I have a bluetooth headset which I can use perfectly well with my Android 
devices, but can't make it work with KDE.
The KDE bluetooth application sees the headset, pears and connects to it, but 
the sound is still sent to the speakers even when the headset is connected. No 
sound is heard through the headset, only through the speakers.
KMix and SystemSettings does not seem to have any option to direct the sound 
to the headset.
When I connect a wired headset, it is automatically used by the system (and 
the speakers are automatically turned off).
How do I make KDE use the bluetooth headset?

Thanks,

Marcelo
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


Re: [kde] Where to set KDEDIRS and KDEHOME?

2012-10-24 Thread Kevin Krammer
On Wednesday, 2012-10-24, adrelanos wrote:
> As a distro...
> 
> http://userbase.kde.org/Session_Environment_Variables
> 
> tells $HOME/.kde/env/path.sh should be used for setting environment
> variables.
> 
> (/etc/rc.local is ignored)
> 
> Add .kde/env/path.sh to /etc/skel?

As a distro you might want to set them in /etc/X11/Xsession.d/ or 
/etc/environment

You don't need to set KDEHOME if you are OK with built-in patch ($HOME/.kde, 
see kde4-config --localprefix)

Same for KDEDIRS, you only need to set this if you want to add additional 
search paths.
See kde4-config --path 
e.g. kde4-config --path data

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring


signature.asc
Description: This is a digitally signed message part.
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[kde] Where to set KDEDIRS and KDEHOME?

2012-10-24 Thread adrelanos
As a distro...

http://userbase.kde.org/Session_Environment_Variables

tells $HOME/.kde/env/path.sh should be used for setting environment
variables.

(/etc/rc.local is ignored)

Add .kde/env/path.sh to /etc/skel?
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


Re: [kde] How to redistribute a customized KDE desktop? (Debian derivative)

2012-10-24 Thread adrelanos
Duncan:
> adrelanos posted on Wed, 24 Oct 2012 10:26:07 + as excerpted:
> 
>> I am adrelanos, developer of Whonix, [1] which is a Debian derivative.
>>
>> I want to customize the KDE desktop, only small things which you an
>> normally do with a few clicks. Such as adding desktop icons, changing
>> wallpaper and theme, modifying the taskbar, enable show menu bar in
>> Dolphin, etc.
>>
>> What is the recommend way of doing so?
>>
>> Can I just set up a fresh user account, make my changes and copy ~/.kde
>> and ~/.local to /etc/skel?
>>
>> Cheers,
>> adrelanos
>>
>> [1] http://whonix.sf.net/
> 
> You'll want to read the kde system administration guide (link below) on 
> kde techbase, in particular the sections on filesystem layout (both fdo/
> freedesktop.org and kde) and/or environmental vars.
> 
> Basically, kde has a hierarchial config layout in which the distro, 
> system (if customized from distro) and user configs all have the ability 
> to contain the same settings, with the user config (normally) overwriting 
> system, which overwrites distro, which overwrites built-in defaults.
> 
> As a distro, you'd either place your files in the distro/system location, 
> or set the KDEDIRS var (often unset-builtin-defaulted to the single
> /usr/share dir, depending on distro) to contain both the debian and your 
> own custom system dirs (in the appropriate order so your settings 
> overwrote the debian and kde defaults, but the user and/or sysadmin could 
> still override yours).  That way, a user who moved away their KDEHOME 
> (defaulting to ~/.kde as shipped by upstream, but many distros change 
> that to ~/.kde4) in ordered to clear a broken user config would start 
> with your defaults, not the upstream debian or kde defaults, even if pull 
> in /etc/skel/ again.
> 
> KDE's operational config is combined from both the KDEDIRS and KDEHOME 
> locations, with KDEDIRS itself stackable.  A sysadmin can thus put 
> settings in any of those locations.  A distro should confine themselves 
> to the system locations, of course, but you may wish to consider stacking 
> via KDEDIRS, so you can keep your customizations entirely separate, and 
> an admin or user can toggle between your customized and debian upstream 
> configs, for troubleshooting or the like.
> 
> Do note, however, that with the upcoming kf5 (kde frameworks 5), some of 
> those location defaults may possibly move from the legacy kde specific 
> locations and vars to the new fdo-compliant locations.  The sysadmin 
> guide covers the fdo vars/locations to some extent as well, altho they 
> aren't being used that much yet, with kde4.
> 
> http://techbase.kde.org/KDE_System_Administration
> 

The variables echo "$KDEHOME" (in Terminal) and $KDEDIRS are empty.

/usr/share/kde4/config/config.README on Debian Wheezy tells:

"In this dir, /usr/share/kde4/config, default configurations are loaded.
If you as a sysadm needs to change default config, copy the relevant
file(s)
into /etc/kde4/ and edit them. The files there will take precedence over
these."

Added a new file plasma-desktop-appletsrc to /etc/kde4/ and filled it
with clock settings. (/etc/kde4/plasma-desktop-appletsrc did never
exist.) Added a new user and switched to the new user. The custom clock
settings were ignored. Also testing the whole file
~/.kde/share/config/plasma-desktop-appletsrc as
/etc/kde4/plasma-desktop-appletsrc was ignored.
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


Re: [kde] How to redistribute a customized KDE desktop? (Debian derivative)

2012-10-24 Thread Duncan
adrelanos posted on Wed, 24 Oct 2012 10:26:07 + as excerpted:

> I am adrelanos, developer of Whonix, [1] which is a Debian derivative.
> 
> I want to customize the KDE desktop, only small things which you an
> normally do with a few clicks. Such as adding desktop icons, changing
> wallpaper and theme, modifying the taskbar, enable show menu bar in
> Dolphin, etc.
> 
> What is the recommend way of doing so?
> 
> Can I just set up a fresh user account, make my changes and copy ~/.kde
> and ~/.local to /etc/skel?
> 
> Cheers,
> adrelanos
> 
> [1] http://whonix.sf.net/

You'll want to read the kde system administration guide (link below) on 
kde techbase, in particular the sections on filesystem layout (both fdo/
freedesktop.org and kde) and/or environmental vars.

Basically, kde has a hierarchial config layout in which the distro, 
system (if customized from distro) and user configs all have the ability 
to contain the same settings, with the user config (normally) overwriting 
system, which overwrites distro, which overwrites built-in defaults.

As a distro, you'd either place your files in the distro/system location, 
or set the KDEDIRS var (often unset-builtin-defaulted to the single
/usr/share dir, depending on distro) to contain both the debian and your 
own custom system dirs (in the appropriate order so your settings 
overwrote the debian and kde defaults, but the user and/or sysadmin could 
still override yours).  That way, a user who moved away their KDEHOME 
(defaulting to ~/.kde as shipped by upstream, but many distros change 
that to ~/.kde4) in ordered to clear a broken user config would start 
with your defaults, not the upstream debian or kde defaults, even if pull 
in /etc/skel/ again.

KDE's operational config is combined from both the KDEDIRS and KDEHOME 
locations, with KDEDIRS itself stackable.  A sysadmin can thus put 
settings in any of those locations.  A distro should confine themselves 
to the system locations, of course, but you may wish to consider stacking 
via KDEDIRS, so you can keep your customizations entirely separate, and 
an admin or user can toggle between your customized and debian upstream 
configs, for troubleshooting or the like.

Do note, however, that with the upcoming kf5 (kde frameworks 5), some of 
those location defaults may possibly move from the legacy kde specific 
locations and vars to the new fdo-compliant locations.  The sysadmin 
guide covers the fdo vars/locations to some extent as well, altho they 
aren't being used that much yet, with kde4.

http://techbase.kde.org/KDE_System_Administration

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


[kde] How to redistribute a customized KDE desktop? (Debian derivative)

2012-10-24 Thread adrelanos
Hi,

I am adrelanos, developer of Whonix, [1] which is a Debian derivative.

I want to customize the KDE desktop, only small things which you an
normally do with a few clicks. Such as adding desktop icons, changing
wallpaper and theme, modifying the taskbar, enable show menu bar in
Dolphin, etc.

What is the recommend way of doing so?

Can I just set up a fresh user account, make my changes and copy ~/.kde
and ~/.local to /etc/skel?

Cheers,
adrelanos

[1] http://whonix.sf.net/
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.