PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 24, 2012, 05:11:46 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Openbox sound configuration  (Read 674 times)
unist
Full Member
***
Offline Offline

Posts: 101



« on: December 17, 2011, 02:18:21 PM »

I just installed Openbox 2011-08 in my second HDD and I noticed that there is no sound at startup for user and password identification. I had the same problem in my PCLinuxOS  LXDE 2011-09 in the main HDD and I solved it after installation of several packages from Synaptic, but I can't recall which one was.
In addition, I have Volume Icon 0.4.3 twice in the lower bar. This happened after I installed VLC additional packages and plugins. Please advice. Thank you.
Logged

PCLOS LXDE 2011-09 and Openbox 2011-08. Registered Linux user #547260. Windows free since May 2010
Ferdes Fides
Hero Member
*****
Offline Offline

Posts: 827


In theory, theory=practice, in practice ???


« Reply #1 on: December 17, 2011, 11:04:41 PM »

In addition, I have Volume Icon 0.4.3 twice in the lower bar. This happened after I installed VLC additional packages and plugins. Please advice. Thank you.

Go to -

/home/user/.config/openbox/autostart.sh

Open autostart.sh in the editor.

Put a # in front of volumeicon as below.

# volume of sound
#volumeicon &


Can't recall about any login sounds.

Have a good one.
Logged

ASUS EeePc 900 netbook  900mhz Celeron CPU  1GB RAM
16 GB internal SSD  Seagate 250 GB USB portable drive 
Intel ‎Mobile 915GM/GMS/910GML Express Graphics Controller
Atheros AR5001 Wireless Network Adapter
Dynex 5-Button Wired Optical Mouse
Intel (ICH6 Family) High Definition Audio
melodie
Hero Member
*****
Offline Offline

Posts: 6007


XMMP=Jabber, free instant messaging protocol !


WWW
« Reply #2 on: December 18, 2011, 04:50:09 AM »

Hi,

In console type:
$ dbus-launch gdmsetup

you will be prompted for the root password. Then at the 4th tab from the left you have a section to configure a sound. The sounds are in /usr/share/sounds/freedesktop. There are not many, and I think you can add your's.

Regards,
Mélodie

PS: I uploaded a more recent version in November, which has not replaced the one in the repos. The thread is here.

Logged

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode
unist
Full Member
***
Offline Offline

Posts: 101



« Reply #3 on: December 18, 2011, 09:15:22 PM »

Hi,

In console type:
$ dbus-launch gdmsetup

you will be prompted for the root password. Then at the 4th tab from the left you have a section to configure a sound. The sounds are in /usr/share/sounds/freedesktop. There are not many, and I think you can add your's.

Regards,
Mélodie

PS: I uploaded a more recent version in November, which has not replaced the one in the repos. The thread is here.



melodie, thank you for your post. I obtained a message indicating that gdm is not running.
"GDM (GNOME Display Manager) is not running.
You might be using a different display manager, such as KDM (KDE Display Manager), CDE login (dtlogin), or xdm. If you wish to use this feature, then your system will need to be configured to use GDM instead."
I am in PCLinuxOS Openbox 2011-08, just starting to use it.
Logged

PCLOS LXDE 2011-09 and Openbox 2011-08. Registered Linux user #547260. Windows free since May 2010
unist
Full Member
***
Offline Offline

Posts: 101



« Reply #4 on: December 18, 2011, 09:34:31 PM »

Go to -

/home/user/.config/openbox/autostart.sh

Open autostart.sh in the editor.

Put a # in front of volumeicon as below.

# volume of sound
#volumeicon &

Can't recall about any login sounds.

Have a good one.
Ferdes Fides, thank you for your post. I applied the modification to autostart.sh and the volumeicon duplication was solved. Now I have to figure out how to produce sounds at login.
Logged

PCLOS LXDE 2011-09 and Openbox 2011-08. Registered Linux user #547260. Windows free since May 2010
melodie
Hero Member
*****
Offline Offline

Posts: 6007


XMMP=Jabber, free instant messaging protocol !


WWW
« Reply #5 on: December 19, 2011, 05:08:37 AM »

Hi,

In console type:
$ dbus-launch gdmsetup

you will be prompted for the root password. Then at the 4th tab from the left you have a section to configure a sound. The sounds are in /usr/share/sounds/freedesktop. There are not many, and I think you can add your's.

Regards,
Mélodie

PS: I uploaded a more recent version in November, which has not replaced the one in the repos. The thread is here.



melodie, thank you for your post. I obtained a message indicating that gdm is not running.
"GDM (GNOME Display Manager) is not running.
You might be using a different display manager, such as KDM (KDE Display Manager), CDE login (dtlogin), or xdm. If you wish to use this feature, then your system will need to be configured to use GDM instead."
I am in PCLinuxOS Openbox 2011-08, just starting to use it.



Openbox do use GDM. If you typed the command in a tty, it can't work. Go to GDM login screen, hit configure, give the root password and you will get the same gui where you can configure the sound as said above. Else, login to the graphical session and type as user "dbus-launch gdmsetup".

Logged

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode
unist
Full Member
***
Offline Offline

Posts: 101



« Reply #6 on: December 20, 2011, 09:19:29 PM »

melodie: I ran $ dbus-launch gdmsetup in tty root terminal (updated correction) and in the 4th tab from the left, in Accessibility, I activated sounds: login screen ready and login successful, both with desktop-login.ogg from /usr/share/sounds/freedesktop, rebooted, but obtained no sound.
I don't know if this is relevant, but when I ran $ dbus-launch gdmsetup there was an error: "gdmsetup[4291]: Gtk-WARNING: GtkSpinButton: setting an adjustment with non-zero page size is deprecated"
Logged

PCLOS LXDE 2011-09 and Openbox 2011-08. Registered Linux user #547260. Windows free since May 2010
melodie
Hero Member
*****
Offline Offline

Posts: 6007


XMMP=Jabber, free instant messaging protocol !


WWW
« Reply #7 on: December 21, 2011, 05:34:52 AM »

Hi unist,

No, it is not relevant. And what you say doesn't seem to have any sense to me. You don't type in tty : you type in console in a X session, otherwise you can't have the window. tty's are virtual consoles also named "vc" : you access to them by pressing together the keyboard keys "Alt+Ctrl+F1", this is tty1, then "Alt+Ctrl+F2", this is tty2 : you have 6 of them default configured and then you press "Ctrl+Alt+F7" or same with F8 to get back to the X session or X login. (X = graphical).

So forget about gdmsetup and try directly from the GDM login screen. Check that the sound files can be found too.



Logged

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode
unist
Full Member
***
Offline Offline

Posts: 101



« Reply #8 on: December 21, 2011, 09:43:36 AM »

Thank you melodie for your kind attention. I'll apply your suggestions once I return home. I recognize that I need to learn more Linux. Your help is very valuable.
Update: I corrected my previous post (reply #6) changing the word tty for root terminal.
Logged

PCLOS LXDE 2011-09 and Openbox 2011-08. Registered Linux user #547260. Windows free since May 2010
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM