[gentoo-user] LightDM. Anybody succesfully using it?

2011-06-02 Thread Ignas Anikevicius
Hello to everybody,

I wanted to try this DM as just an alternative to SLiM. Previously I
have also used CDM, but I found it not suitable to my needs.
The thing with LightDM (from the moonrise overlay) is that I can't get
it compile. Does anybody know why this might be a problem?
What are your experiences with this DM?

I am sorry if I ask noobish questions or if they are asked not in the
right place,
this is my first email to the list as well as the first 2 months with
Gentoo. :)

The log: http://pastebin.com/KXvTBE5a

Thanks a lot for help,
Ignas A.



Re: [gentoo-user] LightDM. Anybody succesfully using it?

2011-06-02 Thread Ignas Anikevicius
On 02/06/11 22:43, Andrés Becerra Sandoval wrote:
 It looks like a bug in the ebuild not demanding version requirements
 for automake.
 Could you try installing other automake versions, I have these in my
 system: 1.9.6-r3(1.9) 1.10.3(1.10)  1.11.1-r1(1.11)
Actually another thing helped. I googled a bit more and this was what I
found:
https://bugs.launchpad.net/lightdm/+bug/611723

I did not have gobject-introspection installed. Installing it fixed the
compilation issue. Although in the
URL it is said that it should not (or should it?) be necessary.

Anyway, thanks. :)

PS. I had automake 1.10.3 and 1.11.1-r1 and it went fine.

Cheers,
Ignas



[gentoo-user] Default applications

2011-06-05 Thread Ignas Anikevicius
Hello list,

I am very sorry if it is just a basic question but I failed to get
google to help me. Could someone point me how to set up default
applications, so automagical applications like skype, firefox and
similar would understand what is my default browser, mail client and so
on. Up to now I was using BROWSER environmental variable, which seemed
to help me. However, I want more integration of applications now.

Thanks a lot,
Ignas A.



Re: [gentoo-user] Default applications

2011-06-05 Thread Ignas Anikevicius
On 05/06/11 21:34, Volker Armin Hemmann wrote:

 .local/share/applications/mimeapps.list
Thanks, I have found that, but I failed to find any documentation on
what is the syntax of the file as this file on my laptop is very sparse.

I.



Re: [gentoo-user] Default applications

2011-06-05 Thread Ignas Anikevicius
On 05/06/11 21:57, Dale wrote:
 If you use KDE, system settings, default applications, then adjust
 your settings there.  I'm not sure which GUI you use since you didn't
 mention it so this may or may not help.

 Dale

 :-)  :-)

Thanks, for help. I am using Awesome WM without any DE. If I used smth
different with a DE, then it would be way easier as there are GUI tools
for customizing most of the options.

Ignas

-- 
Q: Because it reverses the logical flow of conversation. 
A: Why is putting a reply at the top of the message frowned upon? 




[gentoo-user] Kernel Modules

2011-06-09 Thread Ignas Anikevicius
Hello list,

I was wondering if it is possible to have a tool with which it would be
possible to have external modules installed for _all_ kernel versions in
my computer. Now I am using 2.6.38 kernel, but would like to try 2.6.39
and the thing is that I would like to have tp_smapi and phc-intel
modules in both kernels. Is it possible to have it without any serious
hacking?

I have only 3 ideas how I could achieve that:
* Making a custom ebuild, which would build the modules, but install
itself as a different package depending on the kernel version (eg
tp_smapi-2.6.39-gentoo)?
* Making a custom ebuild, which would build the modules for all kernel
versions in one go... (is this possible?)
* patching the gentoo-sources each time.

Is any of these solutions sensible?

Cheers,
Ignas



Re: [gentoo-user] Kernel Modules

2011-06-09 Thread Ignas Anikevicius
On 09/06/11 12:06, Alan McKinnon wrote:
 why you making so much work for yourself?

 set the /usr/src/linux symlink to each set of installed sources in turn,
  run emerge @module-rebuild
  or run module-rebuild rebuild

 you could even script it

 cd /usr/src
 for I in linux-*
 do
   ln -sfn $I linux
   module-rebuild rebuils
 done

 Fixing my bash syntax errors is left as an exercise for the interested reader
Thanks very much!

I am a former Arch user, so I was used for a lot of inconvenience while
doing such things, but gentoo seems to make my life easier and easier.

Ignas



[gentoo-user] rfkill

2011-06-26 Thread Ignas Anikevicius
Hi guys,

I wanted to ask how to check what scripts/events are started when I
press a key? I have some automagical stuff happening when I press Fn+F5
(I have a Thinkpad x200s). To be more precise, my Wifi card is switched
off and on and I want to know what is causing this and turn it off.

Thanks a lot for your help,
Ignas

--
Q: Because it reverses the logical flow of conversation. 
A: Why is putting a reply at the top of the message frowned upon? 




[gentoo-user] Help needed:jpeg_resync_to_restart() and zathura pdf reader

2011-09-03 Thread Ignas Anikevicius
Hello list,

I was wondering if someone could explain me what ebuild provides the
jpeg_resync_to_restart() function as when I try to run a pdf using a
zathura-pdf-mupdf plugin, it gives me the following error:
---
error: could not load plugin /usr/lib/zathura/pdf.so
(/usr/lib/zathura/pdf.so: undefined symbol: jpeg_resync_to_restart)
---

I was told that it might be a problem with the libjpeg-turbo, but I
have tried both versions (1.1.0 and 1.1.1) and it did not affect
anything. I was wondering whether there are some compilation options,
which I am not aware of?

Alternatively, the problem might lie in my lack of knowledge in
writing ebuilds. You can find my ebuild on [1], whereas a known
version of AUR PKGBUILD can be found on [2].  Could someone, ideally
familiar with both GNU/Linux Distributions, explain me what I am doing
wrong?

All best,
Ignas A.

[1] -
https://github.com/gns-ank/gnlay/blob/master/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-.ebuild
[2] - http://aur.archlinux.org/packages/za/zathura-pdf-mupdf-git/PKGBUILD



Re: [gentoo-user] Help needed:jpeg_resync_to_restart() and zathura pdf reader

2011-09-04 Thread Ignas Anikevicius
Hello,

On 04/09/11 01:29, Michael Orlitzky wrote:
 RDEPEND==app-text/mupdf-0.8

Oh sorry, I have forgotten to tell that I am using the girara branch,
which uses plugins and depends only on girara libs, it should be
fixed to have that, but I did not bother to do it previously as I had
all the dependencies tracked by hand.

I have EGIT_BRANCH=girara in '/etc/portage/env/app-text/zathura'.


 And have you tried using libjpeg instead of the -turbo version?

This is were I was wondering as well, but did not have chance to check
it. Also, Arch guys are using the turbo version and I was thinking
that it should not be an issue, but I will try and see whether it also
does not work with non turbo version.

Cheers,
Ignas


[gentoo-user] acpi_fakekey in portage or alternatives

2012-02-23 Thread Ignas Anikevicius

Hello everybody,

Does anybody know how to get acpi_fakekey on gentoo? Maybe there are
ways to mimic the functionality via other methods?

I wanted to make some more acpi keys working, but I do not know any
other methods than acpi_fakekey.

Thanks,
Ignas




[gentoo-user] KDE Replace Kwin with something else

2012-02-23 Thread Ignas Anikevicius

Hello,

I was wondering if anybody knows what USE flag should I enable in order
to have the option to change the default WM in KDE settings to something
else. I want to run Awesome WM on top of KDE and currently I can not do
it from the KDE System Settings.

I'd be very grateful if someone could help me.

Cheers,
Ignas A.



Re: [gentoo-user] [Solved] KDE Replace Kwin with something else

2012-02-23 Thread Ignas Anikevicius

On 24/02/12 02:01, Alex Schuster wrote:

I find metacity.desktop and openbox.desktop
in /usr/share/apps/ksmserver/windowmanagers/, so I guess you have to find
awesome.desktop, and put it there. Or create such a file yourself like
suggestend in the link above.


Thank you very much. Copying to this folder the desktop file helped me.

I.



[gentoo-user] Lua libraries

2012-03-19 Thread Ignas Anikevicius
Hello everybody,

I need to install luaimap4 library on my computer. I can't find any
ebuilds and I was thinking Is there another way to install lua
libraries, which are written mostly in LUA?

I have found luarocks. Are there any other options?

Thanks very much
Ignas



Re: [gentoo-user] Re: Please help, kernel can not load root

2012-04-30 Thread Ignas Anikevicius
 Well, going through the list that comes to mind after that... the
 block device itself, since the scsi layer sees the device but the VFS
 layer doesn't see the block device:
 CONFIG_BLOCK=y
 CONFIG_BLK_DEV_SD=y

I wanted just to let everybody know, that this was the solution to my
problems. Thanks a lot to those who helped.

Cheers,
Ignas



[gentoo-user] Send events to ACPI via dbus as a simple user?

2012-05-03 Thread Ignas Anikevicius
Hello list,

I was wondering if anybody could help me on this.

Is it possible to send events to the acpid daemon via dbus? What I want
to do is to write some scripts, which would be executed by a window
manager in X and then would trigger some event in acpid (e.g. suspend or
other root requiring things).

Thanks in advance,
Ignas



[gentoo-user] Advice Needed: Conexant HD-Audio noisy audio

2012-05-15 Thread Ignas Anikevicius
Dear all,

It's been quite a while since I noticed this annoying behaviour, but I
could not find any information what might cause this. So the problem is
that at lower volumes my HD-Audio with Conexant becomes very noisy and
this is regardless of the sound system or speakers/headphones I use.

The noise can be described, as high pitched, sandy texture noise
heard during more expressive parts of the music or speech.

I experience this on two Thinkpads (x200s and x200) and it very evident
when I connected external speakers, they produced a lot of this noise,
or maybe I just could hear it better, because of the frequency response
of the speakers.

Does anybody have some similar issues?

My current audio setup:

* PulseAudio (but the problem is experienced with ALSA as well)
* MPD for music playing
* Conexant and other related modules compiled in, power-saving
  features enabled.

What I have tried to eliminate the noise:

* Various levels of Master,PCM,Headphone channels via Alsamixer
* Increase the sample rate in MPD settings.

The noise can be clearly head when I Have the following setting on my
Alsamixer:

* Master ~50
* PCM 100
* Headphone 100

Does anybody has any thoughts on why am I experiencing this?

Thanks a lot,
Ignas A.



Re: [gentoo-user] Advice Needed: Conexant HD-Audio noisy audio

2012-05-15 Thread Ignas Anikevicius
On 15/05/12 17:31, Alecks Gates wrote:
 I would check the inputs in alsamixer and play around with them.  I
 had a problem similar to this for many months and it was due to some
 funny input volume I didn't need, so I muted it.

Thanks for replying, I have muted everything, except Headphones, Master,
Speaker and PCM outputs, which *are* necessary to get any sound out of
my machine either with headphones or speakers. Muting speakers when only
headphones were used did not help.

Cheers,
I.



Re: [gentoo-user] Advice Needed: Conexant HD-Audio noisy audio

2012-05-15 Thread Ignas Anikevicius
On 15/05/12 17:52, Michael Mol wrote:
 I have a strong expectation that part of what you're hearing is system
 electrical noise.
 
 What happens when you set:
 
 * Master - 100
 * Headphone - 100
 * Everything else - 0

If I do not play anything while PCM is at 0 and Master and Headphone are
at 100, then I do not hear anything. But if I start 'playing' something
while still with PCM at 0 (no sound can be heard), then I start hearing
irregular clipping sound.

Is that what you expected?

If I decrease the sound to a level where I stop hearing clipping, then I
can barely hear the music. Although the same headphones play on my
player fine.

And It's a shame, that I indeed hear clipping. Are there any ways to
increase the sound volume without increasing the mixer setting in ALSA?
Would a different sound card help? Is there any way I can solve the
problem without buying new hardware?

Thanks a lot for help,
I.



Re: [gentoo-user] Advice Needed: Conexant HD-Audio noisy audio

2012-05-15 Thread Ignas Anikevicius
On 15/05/12 20:08, Michael Mol wrote:
 There are going to be multiple sliders which affect your playback
 volume. Without seeing a list of your sliders, I couldn't really guess
 which, beyond 'Master', 'PCM' and 'Headphone'. There may be others; my
 old Sound Blaster Live had a ton of internal signal processing
 sliders, and anything that involves amplification presents that risk.

[...] (some useful stuff snipped :))

At the moment all the other sliders are at 0. So I do not know, maybe
some other sliders are doing this...

Also, ALSA can show the levels in dBs for my card... but I get sand even
when I'am at gain of ~ (-11,-14)dB on all three sliders (Master, PCM,
Headphone).

 You might try using something like PulseAudio, which may be doing
 internal mixing in the floating point space before it maps back to
 16-bit linear PCM. My experiences with PulseAudio have generally been
 positive in terms of audio quality. The trickiest part is getting
 applications to pipe their audio through it, followed by getting
 direct access to the card's mixer settings if I need it. But
 pavucontrol as a mixer control for PulseAudio works reasonably well
 for the majority of circumstances.

I am using Pulse :)... The problem with I have that it changes my PCM
and Headphone levels without asking me... Therefore, if I change the
levels manually on alsamixer and then use Pavucontrol, it just changes
the PCM and headphone or speaker levels to max, which makes the sound
crappy. Otherwise I am quite a happy Pulse user. :)

Is there a way to set the limiting thresholds? Or maybe I am using two
things at the same (ALSA and Pulse) and they are clashing and,
therefore, I can not get good quality sound?

 Thanks a lot for help,
 
 np.
 
 (Note: I CC'd this back to the main list, because somehow this one got
 sent to me directly. Channeling communications through the main list
 keeps the archives useful.)

I thought, that I have replied to both, list and you.. :) Well, thanks
for that. :)

Cheers,
I.



[gentoo-user] Runlevels, ordering initscripts and running them in background

2012-05-16 Thread Ignas Anikevicius
Hello everybody,

I was wondering if the following is possible:
- Add a lot of daemons to a newly created runlevel post-default
- Switch to it after the xdm is started (or after some time)

I want to do this, so that I do not have to wait while non-crucial
services are being started (e.g. fcron, bitlbee, ntpd to name a few).
Maybe it is possible to somehow prioritize the initscripts?

Another related question is that I come from Arch and there I could just
give the *order* of the daemons/initscripts to start and some of them
could be started and 'in background'. Is it possible to do that with
openrc? I saw the rc_parallel option in rc.conf, but I do not know,
whether I need anything else.

Thanks for help,
Ignas A.



Re: [gentoo-user] Runlevels, ordering initscripts and running them in background

2012-05-16 Thread Ignas Anikevicius
On 16/05/12 14:15, Neil Bothwick wrote:
 On Wed, 16 May 2012 09:40:26 +0100, Ignas Anikevicius wrote:
 
 I want to do this, so that I do not have to wait while non-crucial
 services are being started (e.g. fcron, bitlbee, ntpd to name a few).
 Maybe it is possible to somehow prioritize the initscripts?
 
 Yes it is. The initscripts themselves have such a mechanism, using the
 before and after statements, for example making sure that network
 services are started after the network is brought up. You can add your
 own rules to the daemons' config files in /etc/conf.d or to /etc/rc.conf.
 
 To have bitlbee start after xdm either add
 
 rc_after=xdm 
 
 to /etc/conf.d/bitlbee or put
 
 rc_bitlbee_after=xdm
 
 in /etc/rc.conf. Both have the same effect, it depends on whether you
 want to put all these settings together or in the individual services'
 config files.
 

Thanks for the tip!, I will use this to see how much difference do I
get. :)

Cheers,
Ignas



Re: [gentoo-user] Runlevels, ordering initscripts and running them in background

2012-05-16 Thread Ignas Anikevicius
On 16/05/12 13:13, Canek Peláez Valdés wrote:
 On Wed, May 16, 2012 at 3:40 AM, Ignas Anikevicius
 anikevic...@gmail.com wrote:
 Hello everybody,

 I was wondering if the following is possible:
- Add a lot of daemons to a newly created runlevel post-default
- Switch to it after the xdm is started (or after some time)

 I want to do this, so that I do not have to wait while non-crucial
 services are being started (e.g. fcron, bitlbee, ntpd to name a few).
 Maybe it is possible to somehow prioritize the initscripts?

 Another related question is that I come from Arch and there I could just
 give the *order* of the daemons/initscripts to start and some of them
 could be started and 'in background'. Is it possible to do that with
 openrc? I saw the rc_parallel option in rc.conf, but I do not know,
 whether I need anything else.
 
 Be aware that the rc_parallel option has never been really supported,
 and it actually doesn't appear in the /etc/rc.conf of the one machine
 I have access to that still uses OpenRC.
 
 You may want to try systemd, it sounds like it does (out of the box)
 exactly what you want to.
 
 Regards.

I did know, that this was removed. If I experience problems I'll remove
the option, but maybe I'll remove it all together.

I have systemd installed as I wanted to try, but I do not like the way
everything is managed. I like the idea of simple bash initscripts, which
can be easily extended if needed. I can also write bash scripts, which
configure my system the way I want (i.e. set battery charging thresholds
or something similar).

I do not care for a split second advantage, but I just do not see a lot
of point in waiting for bitlbee to start before xdm so that I might need
maybe a while after I boot into my computer.

Thanks for suggestions to everybody.

Cheers,
Ignas



[gentoo-user] Re: Suspend to {RAM,Disk]

2012-05-18 Thread Ignas Anikevicius
On 18/05/12 20:59, Alex Schuster wrote:
 Suspend to ram (using the hibernate-ram command from
 sys-power/hibernate-script) seems to work better. 

What about pm-utils? Does it work better or worse than hibernate-script.
I had 0 problems with it during entire usage of linux, whereas with the
hibernate script package I had some issues...

And yes, I am usually suspending to ram, but I was just thinking about
possibilities to make my computer boot faster in the cases I really need
to do a restart. :)

Cheers,
Ignas



Re: [gentoo-user] Thunderbird - Anyone else with this problem?

2012-05-25 Thread Ignas Anikevicius
On 25/05/12 23:16, Colleen Beamer wrote:
 Hi,
Hello,

 Ever since the last time Thunderbird was updated when I synced, the
 process does not die when I shut down Thunderbird.  I have to kill it
 before I can start up Thunderbird again.  Is anyone else experiencing
 this problem.  Thought I would ask here before I complained to the
 Mozilla folks.

Occasionally I get this, but I have not narrowed any causes down yet.
For example I have just tried it, but it worked perfectly. However, I
get sometimes 100% CPU usage and it has to do something with the IMAP
access of my mailboxes (I am using 2 at the moment if that makes any
difference).

Hope that helps,
Ignas A.

P.S. I am thinking more and more, that I should to switch to something
more lightweight... :p Maybe mutt or luamail... but it will have to
happen a bit later. :)