You are not logged in.

#1 2014-10-30 09:36:24

thearcherblog
Member
Registered: 2014-10-30
Posts: 165

Audio volume not save and keyboard layout configuration problems

Hello all,

I needed to register again because my old account seems not to be working sad

After almost 2 years without Arch due to work now I'm back to Arch again.

Everything has changed... now there is Systemd and even the installation it's different so I will need some helps from the experienced users smile

The installation was done yesterday and I found two issues that are really annoying me.

The first one... keyboard layout... Yes it's incredibly... I only want my system in english and my keyboard in norwegian... But all are problems for that. Before telling me to read more or search for information.... I will tell you that I waster 2 hours yesterday only for that... With no success at all.

The second one... even more stupid... why my pulseaudio keep the volumen at 100%? I tried different things... but not success at all.

So please, can you help me?

I will provide all the information you need.

Thanks a lot and so happy to be back here smile

Best regards,



TheArcher

Last edited by thearcherblog (2014-10-30 17:07:09)

Offline

#2 2014-10-30 09:48:59

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,163
Website

Re: Audio volume not save and keyboard layout configuration problems

Have you actually read the Wiki? Like, I'm pretty sure the answer to both your problems is in there.

Of course, with the Keyboard problem, there's the subtle issue of whether you're doing this in console, WM or DE, making the solutions slightly different depending one which one of the choices it is.

Last edited by clfarron4 (2014-10-30 09:49:11)


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#3 2014-10-30 09:54:49

progandy
Member
Registered: 2012-05-17
Posts: 5,203

Re: Audio volume not save and keyboard layout configuration problems

Setting the default language and keymap should be as simple as calling localectl with set-locale and set-keymap. Then set LANG and use loadkeys/setxkbmap for the current session or use the configuration utility provided by your desktop environment.

Last edited by progandy (2014-10-30 09:57:27)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#4 2014-10-30 10:14:56

thearcherblog
Member
Registered: 2014-10-30
Posts: 165

Re: Audio volume not save and keyboard layout configuration problems

Hello smile

Thanks for your quick replies smile

I have been reading the wiki for long time (because is really annoying to type smile) and I can paste you my configuration of all the files... maybe I'm doing something wrong...

[root@arch linux-3.18-rc2]# localectl
   System Locale: LANG=en_US.UTF-8
       VC Keymap: nb_NO.UTF-8
      X11 Layout: layout
       X11 Model: no

[root@arch linux-3.18-rc2]# locale-gen
Generating locales...
  en_US.UTF-8... done
  en_US.ISO-8859-1... done
  nb_NO.UTF-8... done
  nb_NO.ISO-8859-1... done
Generation complete.

[root@arch linux-3.18-rc2]# cat /etc/vconsole.conf 
KEYMAP=nb_NO.UTF-8
[root@arch linux-3.18-rc2]# 

[root@arch linux-3.18-rc2]# cat /etc/locale.conf
LANG=en_US.UTF-8
[root@arch linux-3.18-rc2]# 

[root@arch linux-3.18-rc2]# cat /etc/X11/xorg.conf.d/00-keyboard.conf 
# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "layout"
        Option "XkbModel" "no"
EndSection
[root@arch linux-3.18-rc2]# 

I'm using Gnome 3 and I cannot add norwegian as a language or input...

What I'm doing now to be able to work fine is just calling "setxkbmap no" every time but, I do not know how to set up this as startup now or if it's the proper method. And I guess I need to make the same for console ("loadkeys no") but I have the same doubts about if the method is the right one or not.


I hope it helps to find the issue.

Thanks a lot and apologize for the newbie questions but I cannot find the answer surfing the web.

Regards,


TheArcher

Last edited by thearcherblog (2014-10-31 06:58:38)

Offline

#5 2014-10-30 10:42:35

progandy
Member
Registered: 2012-05-17
Posts: 5,203

Re: Audio volume not save and keyboard layout configuration problems

[root@arch linux-3.18-rc2]# cat /etc/vconsole.conf
KEYMAP=nb_NO.UTF-8

That is wrong. I guess that should be "no" or "no-latin1".
And /etc/X11/xorg.conf.d/00-keyboard.conf  is wrong, too.

Please run

localectl set-x11-keymap no

That should take care of x11 and vconsole.conf

Last edited by progandy (2014-10-30 10:48:10)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#6 2014-10-30 10:47:59

thearcherblog
Member
Registered: 2014-10-30
Posts: 165

Re: Audio volume not save and keyboard layout configuration problems

Thanks a lot I will try know and I will report it as soon as possible!!

Really thanks smile

BTW, any idea about the volume?? I try to save it using alsactl store as root bit still the same XD

Newbie corner...  XD


smile

Offline

#7 2014-10-30 11:06:58

thearcherblog
Member
Registered: 2014-10-30
Posts: 165

Re: Audio volume not save and keyboard layout configuration problems

I think that (localectl set-x11-keymap no) made the trick smile

I cannot check it for sure because I'm in a remote session with ssh but at least reports good things after reboot!

$ localectl status
   System Locale: LANG=en_US.UTF-8
       VC Keymap: no
      X11 Layout: no

Super thanks smile

Now I only need to fix the volume things and I you can close this as SOLVED with really big capital letters smile

Best regards,


TheArcher

Last edited by thearcherblog (2014-10-31 06:58:59)

Offline

#8 2014-10-30 11:06:58

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: Audio volume not save and keyboard layout configuration problems

If you are using pulse, you should not try to use alsa. Pulse works via alsa, but should save it's state itself. Did the sound work without pulse?

Offline

#9 2014-10-30 11:10:28

thearcherblog
Member
Registered: 2014-10-30
Posts: 165

Re: Audio volume not save and keyboard layout configuration problems

Hello Runical,

To be honest I was following a guide to install the system and everything works ok but according to journalctl I have some problems with pulseaudio so I guess that can be the original problem.

I will paste it here:

$ journalctl -b | grep pulse
Oct 30 13:04:30 arch.colonialOne rtkit-daemon[458]: Successfully made thread 457 of process 457 (/usr/bin/pulseaudio) owned by '120' high priority at nice level -11.
Oct 30 13:04:32 arch.colonialOne rtkit-daemon[458]: Successfully made thread 482 of process 457 (/usr/bin/pulseaudio) owned by '120' RT at priority 5.
Oct 30 13:04:32 arch.colonialOne rtkit-daemon[458]: Successfully made thread 483 of process 457 (/usr/bin/pulseaudio) owned by '120' RT at priority 5.
Oct 30 13:04:32 arch.colonialOne rtkit-daemon[458]: Successfully made thread 487 of process 457 (/usr/bin/pulseaudio) owned by '120' RT at priority 5.
Oct 30 13:04:32 arch.colonialOne rtkit-daemon[458]: Successfully made thread 488 of process 457 (/usr/bin/pulseaudio) owned by '120' RT at priority 5.
Oct 30 13:04:32 arch.colonialOne rtkit-daemon[458]: Successfully made thread 533 of process 457 (/usr/bin/pulseaudio) owned by '120' RT at priority 5.
Oct 30 13:04:32 arch.colonialOne pulseaudio[457]: [pulseaudio] module-gconf.c: Unable to read or parse data from client.
Oct 30 13:04:32 arch.colonialOne pulseaudio[457]: [pulseaudio] module.c: Failed to load module "module-gconf" (argument: ""): initialization failed.
Oct 30 13:04:32 arch.colonialOne pulseaudio[457]: [pulseaudio] main.c: Module load failed.
Oct 30 13:04:32 arch.colonialOne pulseaudio[457]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.systemd1.LoadFailed: Unit dbus-org.bluez.service failed to load: No such file or directory.
Oct 30 13:04:32 arch.colonialOne rtkit-daemon[458]: Successfully made thread 536 of process 536 (/usr/bin/pulseaudio) owned by '120' high priority at nice level -11.
Oct 30 13:04:32 arch.colonialOne pulseaudio[536]: [pulseaudio] pid.c: Daemon already running.

Regards,


TheArcher

Last edited by thearcherblog (2014-10-31 06:59:20)

Offline

#10 2014-10-30 11:46:43

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: Audio volume not save and keyboard layout configuration problems

TheArcher, can you please use code tags for listings like that?

Anyway, that last line states that pulseaudio is already running. In the troubleshooting section of the pulseaudio article there is a part on this, so please try that.

Offline

#11 2014-10-30 11:53:16

thearcherblog
Member
Registered: 2014-10-30
Posts: 165

Re: Audio volume not save and keyboard layout configuration problems

Ok, sorry about that, will not happen again smile

I will check there, let see if I'm able to solve it smile

I will report you back as soon as possible and thanks a lot for your quick reply!

Regards,


TheArcher

Offline

#12 2014-10-30 12:57:05

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,163
Website

Re: Audio volume not save and keyboard layout configuration problems

thearcherblog wrote:

I'm using Gnome 3

I wonder whether this is also interfering with the Volume Settings?

@runical's suggestion is good. Pavucontrol is a GUI tool you might look into for setting volumes as well.


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#13 2014-10-30 13:29:24

thearcherblog
Member
Registered: 2014-10-30
Posts: 165

Re: Audio volume not save and keyboard layout configuration problems

I install remotely the pavucontrol but as I only have ssh connection from here I think I cannot check if the volumes now are fine.

I'm trying also the "flat-volumes = no" option on the daemon.conf (/etc/pulse).

I will tell you something as soon as possible.

I'm trying to use xrdp but fails with Gnome 3... OMG too many problems from my old days! big_smile

Thanks a lot for your kind replies.


Regards,



TheArcher

Offline

#14 2014-10-30 13:41:16

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Audio volume not save and keyboard layout configuration problems

thearcherblog wrote:

To be honest I was following a guide to install the system

Which guide?

Offline

#15 2014-10-30 13:46:17

thearcherblog
Member
Registered: 2014-10-30
Posts: 165

Re: Audio volume not save and keyboard layout configuration problems

Hello drcouzelis,

These guides:

For basic installation: ArchWiki
For xorg: http://www.tecmint.com/install-cinnamon … rch-linux/ (but not installing cinnamon)
For Gnome3: http://www.wikihow.com/Install-Gnome-on-Arch-Linux

I hope were the right documentation smile


Regards,


/JGG

Offline

#16 2014-10-30 14:28:18

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Audio volume not save and keyboard layout configuration problems

I highly discourage using any guides outside of the Arch Linux wiki. They often contain old and incorrect information.

...well, so does the Arch Linux wiki. tongue But you have a better chance of information at the "official" location being correct.

Offline

#17 2014-10-30 14:38:31

thearcherblog
Member
Registered: 2014-10-30
Posts: 165

Re: Audio volume not save and keyboard layout configuration problems

I'm totally agree with you smile

But to be honest I didn't found easily how to install the Xorg and the Gnome desktop on the official sites or I didn't understood it all.

Maybe I need to make a better effort... Should I reinstall it again following the official guides?

Maybe that fixes my volume problems... smile

Regards and thanks for your kind replies (to all of you!)

TheArcher

Offline

#18 2014-10-30 14:40:10

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Audio volume not save and keyboard layout configuration problems

thearcherblog wrote:

I hope were the right documentation smile

Why not use the Arch Linux Wiki https://wiki.archlinux.org/ ?

Edit:

thearcherblog wrote:

I didn't found easily how to install the Xorg and the Gnome desktop on the official sites or I didn't understood it all.

Please do post the parts of the wiki that were unclear.

Last edited by karol (2014-10-30 14:41:17)

Offline

#19 2014-10-30 14:43:37

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: Audio volume not save and keyboard layout configuration problems

The main problem I saw was with the Gnome guide. He said to change /etc/rc.conf, which has been obsolete since the introduction of systemd. Other than that, I don't really see a problem with the information in the guide itself. I guess you figured out how to set up GDM in the end tongue

Last edited by runical (2014-10-30 14:44:10)

Offline

#20 2014-10-30 15:13:02

thearcherblog
Member
Registered: 2014-10-30
Posts: 165

Re: Audio volume not save and keyboard layout configuration problems

I cannot tell you exactly all the things but yes, maybe I should help to update the guides...

systemctl has been a big change for all and I think not all the documentation has been update.

Same happens with the package we need to make the installation (more or less) complete.

I think that is the reason to be tons of websites giving their own guide... because the standard one maybe is not enough / well documented / well explained.
Please, don't get me wrong... If I'm coming back to Arch is because the community and the documentation that is much better than in other distributions. But as always, everything can be improved and I would like to suggest the Official guide for beginners... helps a lot... but I think can be improved or maybe, make a parallel one, official, to have the system running with the minimal things and with chapters (chapter one: system (includes network configuration), chapter two: X server, chapter three: desktop environment).

With that maybe all the others can install whatever they need but I think is the less things that users needs (and some of then maybe only wants the chapter 1 smile).

Sometimes I just find the ArchWiki a little bit confusing, with too many option (Grub / Gummibot, for example) and a new user that wants to start but is enthusiastic maybe feels a little bit lost.

Please, it's only my opinion smile


Regards,


TheArcher

Offline

#21 2014-10-30 15:23:00

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Audio volume not save and keyboard layout configuration problems

thearcherblog wrote:

I think can be improved or maybe, make a parallel one, official, to have the system running with the minimal things and with chapters (chapter one: system (includes network configuration), chapter two: X server, chapter three: desktop environment).

I think you just described the General Recommendations page. It's the last link in the Beginner's Guide.

Offline

#22 2014-10-30 15:28:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Audio volume not save and keyboard layout configuration problems

thearcherblog wrote:

I think that is the reason to be tons of websites giving their own guide... because the standard one maybe is not enough / well documented / well explained.

You just need to create a wiki account (it's separate from the one for the AUR, the forum and the bug tracker) and update the information. If you have a suggestion about organizing it in a different manner, start a discussion on the talk page. This is how the wiki gets updated and expanded.


Each of the chapters you mentioned is rather big: there are many ways of setting up networking, quite a few thing you should consider wrt to X itself and DEs are a world of their own.
https://wiki.archlinux.org/index.php/Installation_guide and https://wiki.archlinux.org/index.php/Beginners%27_guide shold two takes on the installation process.

Offline

#23 2014-10-30 16:13:11

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Audio volume not save and keyboard layout configuration problems

Please read the Forum Etiquette, especially the section on How to Post: https://wiki.archlinux.org/index.php/Fo … ow_to_Post
and then edit your first post and use a descriptive title...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#24 2014-10-30 17:10:06

thearcherblog
Member
Registered: 2014-10-30
Posts: 165

Re: Audio volume not save and keyboard layout configuration problems

I just arrived home but I need to leave again until tomorrow.

Just a couple of things smile

First title changed, thanks for the advise. Edited the posts for improving readibility smile
Good suggestion to help to edit the ArchWiki, I will try to do my best there smile

By the way, still having issues with the keyboard layout, but something is better, now is working fine on the others tty but not on xorg.

Still investigating about pulse audio smile

Thanks a lot for all your kind replies and help and I will read you later.

Best regards,


TheArcher

Last edited by thearcherblog (2014-10-31 07:02:29)

Offline

#25 2014-10-31 17:11:04

thearcherblog
Member
Registered: 2014-10-30
Posts: 165

Re: Audio volume not save and keyboard layout configuration problems

Unfortunately I continue having the same issue... english keyboard on Xorg and volume at 100%

Cannot be as difficult! XD

If I find the solution I promise to post it here smile

Last edited by thearcherblog (2014-10-31 17:28:04)

Offline

Board footer

Powered by FluxBB