alan moore | 1 May 2012 06:03

Re: Any tag on any screen

On 04/30/2012 03:16 AM, Hans Georg Schaathun wrote:
> It would be very convenient if all screens could share one
> list of tags, such that any tag could be picked up by any
> screen at any time.
>
> In utopia, it would of course be possible to display a tag
> on both screens simultaneously.  Potentially making the same
> window display twice with different size.  Obviously, that
> will not work, so I would be quite happy with a solution where
> one screen tacitly drops a tag when it is picked up by another.
>
> I have dug into the code, and it looks as if it should be
> possible to reimplement the functions used to display a given tag
> so that they first reset the screen attribute.  If that's done,
> I cannot see any reason not to let all screens use the same
> global list of tags.  It is clearly non-trivial and would require
> changes to quite a few library modules, but AFAICS doable with
> sufficient insight into lua and the awful modules.
>
> Alternatively, a function which loops over all windows with a
> given tag and reassigns each one to a new screen, would be useful,
> although not as convenient as the above.
>
> As far as I can see from old posts, others have expressed similar
> desires, but I have not seen any proposed solutions.
> Has anyone seriously tried to solve it?  With or without success?
> Can anyone see anything I have missed and which could blow up?
>
> TIA
Is this not what sharedtags does?  c.f  
(Continue reading)

Hans Georg Schaathun | 1 May 2012 10:54

Re: Any tag on any screen

On Mon, 30 Apr 2012 23:03:26 -0500, alan moore
  <me <at> alandmoore.com> wrote:
:  Is this not what sharedtags does?  c.f  
:  http://awesome.naquadah.org/wiki/Shared_tags
:  I wanted this as well, but I couldn't get sharedtags to work with some 
:  other things in my setup.  It might work for you, though, if I'm 
:  understanding what you want correctly.

It certainly looks as if it is, so I will test it as soon as I
get my two-screen box up.  I am starting off with the default,
so it is likely to work.

After the discussion, I am not sure which is best; the global list
or Jerry Klein(?)'s code to move every window from one tag into another
screen.  At least I have learnt as much as I can before I start testing,
so thanks a lot to all of you.  If I get something up and working, I'll
post it.

--

-- 
:-- Hans Georg

Hans Georg Schaathun | 1 May 2012 11:00

Sound without desktop environment

I suddenly realised that awesome does not give me sound.
Root can play music, but I cannot; not even as group audio.
It used to work when I used the xfce4-session, but using 
awesome without a DE, it does not.

Google gives me plenty of hits explaining how to debug sound
in various DE's, but not with a bare WM.  The system is Ubuntu 11.04,
and everything loooking like a sound device (/dev/snd/*) is 
root.audio mode 660.  There is no /dev/audio device.  Thus the
stone age skills fail me too ...

Does anyone know how to get sound priviliges without a DE, when 
all the hardware and drivers demonstratably work?

TIA
--

-- 
:-- Hans Georg

Zsolt Udvari | 1 May 2012 11:03
Picon

Re: Sound without desktop environment

What soundsystem do you use? Maybe it can be pulse/jack problem.
What is the sound output plugin of your programs?

2012/5/1 Hans Georg Schaathun <georg <at> schaathun.net>:
> I suddenly realised that awesome does not give me sound.
> Root can play music, but I cannot; not even as group audio.
> It used to work when I used the xfce4-session, but using
> awesome without a DE, it does not.
>
> Google gives me plenty of hits explaining how to debug sound
> in various DE's, but not with a bare WM.  The system is Ubuntu 11.04,
> and everything loooking like a sound device (/dev/snd/*) is
> root.audio mode 660.  There is no /dev/audio device.  Thus the
> stone age skills fail me too ...
>
> Does anyone know how to get sound priviliges without a DE, when
> all the hardware and drivers demonstratably work?
>
> TIA
> --
> :-- Hans Georg
>
>
> --
> To unsubscribe, send mail to awesome-unsubscribe <at> naquadah.org.

Hans Georg Schaathun | 1 May 2012 11:18

Re: Sound without desktop environment

On Tue, 1 May 2012 11:03:27 +0200, Zsolt Udvari
  <udvzsolt <at> gmail.com> wrote:
:  What soundsystem do you use? Maybe it can be pulse/jack problem.
:  What is the sound output plugin of your programs?

Sorry, I am not familiar with the jargon, so I am not quite sure
what you are asking about.  I have done no more than installing 
ubuntu packages until it worked under xfce.

But since
% sudo aplay file
gives sound; and
% aplay file
does not, it must be a pure privilege issue.

All I know about the system is this:
% sudo aplay -l
[sudo] password for georg: 
**** List of PLAYBACK Hardware Devices ****
Home directory /home/georg not ours.
card 0: Intel [HDA Intel], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC892 Digital [ALC892 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

(Continue reading)

Zsolt Udvari | 1 May 2012 11:24
Picon

Re: Sound without desktop environment

Check this:
https://wiki.ubuntu.com/PulseAudio#ALSA_Configuration

2012/5/1 Hans Georg Schaathun <georg <at> schaathun.net>:
> On Tue, 1 May 2012 11:03:27 +0200, Zsolt Udvari
>  <udvzsolt <at> gmail.com> wrote:
> :  What soundsystem do you use? Maybe it can be pulse/jack problem.
> :  What is the sound output plugin of your programs?
>
> Sorry, I am not familiar with the jargon, so I am not quite sure
> what you are asking about.  I have done no more than installing
> ubuntu packages until it worked under xfce.
>
> But since
> % sudo aplay file
> gives sound; and
> % aplay file
> does not, it must be a pure privilege issue.
>
> All I know about the system is this:
> % sudo aplay -l
> [sudo] password for georg:
> **** List of PLAYBACK Hardware Devices ****
> Home directory /home/georg not ours.
> card 0: Intel [HDA Intel], device 0: ALC892 Analog [ALC892 Analog]
>  Subdevices: 1/1
>  Subdevice #0: subdevice #0
> card 0: Intel [HDA Intel], device 1: ALC892 Digital [ALC892 Digital]
>  Subdevices: 1/1
>  Subdevice #0: subdevice #0
(Continue reading)

Clément DÉMOULINS | 1 May 2012 13:14
Picon

Re: Sound without desktop environment

Le 01/05/2012 11:18, Hans Georg Schaathun a écrit :
> On Tue, 1 May 2012 11:03:27 +0200, Zsolt Udvari
>   <udvzsolt <at> gmail.com> wrote:
> :  What soundsystem do you use? Maybe it can be pulse/jack problem.
> :  What is the sound output plugin of your programs?
> 
> Sorry, I am not familiar with the jargon, so I am not quite sure
> what you are asking about.  I have done no more than installing 
> ubuntu packages until it worked under xfce.
> 
> But since
> % sudo aplay file
> gives sound; and
> % aplay file
> does not, it must be a pure privilege issue.
> 
> All I know about the system is this:
> % sudo aplay -l
> [sudo] password for georg: 
> **** List of PLAYBACK Hardware Devices ****
> Home directory /home/georg not ours.
> card 0: Intel [HDA Intel], device 0: ALC892 Analog [ALC892 Analog]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: Intel [HDA Intel], device 1: ALC892 Digital [ALC892 Digital]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
(Continue reading)

Hans Georg Schaathun | 1 May 2012 15:40

Re: Sound without desktop environment

On Tue, 01 May 2012 13:14:00 +0200, Clément DÉMOULINS
  <clement <at> archivel.fr> wrote:
:  Try to start at login time the script =E2=80=9Cstart-pulseaudio-x11=E2=80=
: =9D (in your
: =2Exinitrc for example).

Both of you who point to pulseaudio are definately on the right track,
but I still don't get it.

If I kill all pulseaudio processes, I can also play music from the
console (X-less).  Once I try to play sound as a user through X,
pulseaudio starts and I can no longer play sound except as root.
The start-pulse-audio-x11 script does not help as far as I can see,
although I ran it through an xterm.

I still have trouble finding any doc's addressing the problem without
assuming a DE, including the URL which was suggested by the previous
responder.

Anyway, thanks for the help thus far; at least I know more about 
what I am looking for.

-- 
:-- Hans Georg

--

-- 
To unsubscribe, send mail to awesome-unsubscribe <at> naquadah.org.

Hans Georg Schaathun | 1 May 2012 15:57

Re: Sound without desktop environment

On Tue, 1 May 2012 13:40:00 +0000 (UTC), Hans Georg Schaathun
  <georg <at> schaathun.net> wrote:
:  Anyway, thanks for the help thus far; at least I know more about 
:  what I am looking for.

OK.  I got it in the end.  It was a permissions problem, probably 
lacking membership in the audio group.  When I tested that previously,
I only ran the client with the new permissions with pulseaudio still
running with old permissions from a previous attempt.  Of course, 
pulseaudio must also run with the right permissions.

So when I added my user to the pulse, pulse-access, and audio groups,
and then started a fresh login session with the new memberships, starting
pulseaudio manually with the start-pulseaudio-x11, then it worked.

So thanks to those who pointed me in the right direction.

--

-- 
:-- Hans Georg

Gerald Klein | 2 May 2012 01:47

Awesome title bar

Hi, I went into theme lua and tried to change the color of the active app header in the awesome wibox I changed all the settings I could see effecting it and nothing changed. Does anyone know how to change this thing? 


thanks 

--jerry

--

Gerald Klein DBA

ContactMe <at> geraldklein.com

www.geraldklein.com

jk <at> zognet.com

708-599-0352


Linux registered user #548580 




Gmane