Select your language

Résolution de problème : merci de consulter la FAQ et le Wiki

Aidez-nous à améliorer le contenu du Wiki et de la FAQ en les consultant. Le Wiki est mis à jour régulièrement et la FAQ permet une résolution rapide des principales embûches rencontrées. N'hésitez pas à nous faire parvenir vos suggestions d'amélioration sur le forum ou à éditer directement le Wiki ou la FAQ .

No Shortcuts in Linux!?!?

More
12 years 6 months ago - 12 years 6 months ago #7000 by dFVarela
No Shortcuts in Linux!?!? was created by dFVarela
Hello:
Got an old LapTop and decided to make a small instalation of Linux in order to have a dedicated OS to run DLight, to achieve that i've decided to install a command line Ubuntu, FluxBox window manager and all the other things i needed to make DLight run (libXss,alsa,etc).
After that gave my user the permissions needed to acess USB and MIDI, almost everything worked out of the box (still having some problems with mounting CD & USB PenDrives), but what's really killing me is that when i launch DL with SUDO it all goes well, with the obvious exception that OLA Server doesn't start, but when lauched as a regular user there aren't no Shortcuts and i'm not able to create my own!
Does anyone have a solution? It's for sure a matter of User permission... But which one?
It would be great if anyone could help me!
Thank you all in advance!
Code:
I/O error : Permission denied

dFVarela
Last edit: 12 years 6 months ago by dFVarela. Reason: Forgot the error the terminal gives!

Please Log in to join the conversation.

More
12 years 6 months ago #7002 by sl1200mk2
Replied by sl1200mk2 on topic No Shortcuts in Linux!?!?
Hi Daniel,
how did you install the libxml2?
does it belongs to USER group? because writing shortcuts (among almost everything) rely on libxml2.
after for the OLA stuff, it would be great if you report more errors in order to improve the mechanism.

++

nicolas

Please Log in to join the conversation.

More
12 years 6 months ago #7004 by dFVarela
Replied by dFVarela on topic No Shortcuts in Linux!?!?
Hi Nico:
The only package i needed to instal in order to get DL running was libxss1, and alsa to get the midi working and add my user to audio group to access MIDI.
What is the group i should add my user in order to access Libxml? (I'm sure that will solve the problem!)
Regarding OLA, is not a error:

How to start olad

For testing run olad in non-forking, log to stdout, debug level 3:

olad -l 3

olad refuses to run as root.

( www.opendmx.net/index.php/Using_OLA )

As soon i fix the libxml problem, or other i'll be playing around with OLA and if any errors appears i'll tell you!

Thanks!

Daniel Varela

dFVarela

Please Log in to join the conversation.

More
12 years 6 months ago #7013 by sl1200mk2
Replied by sl1200mk2 on topic No Shortcuts in Linux!?!?
Daniel,
does this happen only with shotcuts?
if yes, it's not a libxml2 issue. if it were, you will not be able to have midi binding, neither any kind of cue or whatever.

there's is a tricky bug with shortcut window (that is fixed in the upcomming beta) that prevent to record any shortcut once you hit the 'Tab' button.

also did you do:
sudo apt-get install xorg-devel

++

nicolas

Please Log in to join the conversation.

More
12 years 6 months ago #7014 by dFVarela
Replied by dFVarela on topic No Shortcuts in Linux!?!?
Hi Nico:
I can connect MIDI controls but when exiting i got errors and the MIDI commands are lost!
I didn't install xorg-dev but installing it didn't solve the problem!
It must be a user permission problem because running:
Code:
sudo sh ./DLight.sh
Everything works ok, running as my regular user when it starts i get the error:
Code:
I/O error : Permission denied
36 times.

dFVarela

Please Log in to join the conversation.

More
12 years 6 months ago #7015 by sl1200mk2
Replied by sl1200mk2 on topic No Shortcuts in Linux!?!?
can you try to copy the DL distro on the desktop and try to launch it from there.
example (just to show you the PATH
sh /home/users/daniel/Desktop/DL/DL.sh

++

nicolas

Please Log in to join the conversation.

More
12 years 6 months ago - 12 years 6 months ago #7016 by dFVarela
Replied by dFVarela on topic No Shortcuts in Linux!?!?
Hi:
It is the same.... I got DL error :
Shortcut doesn't exist!
And the same 30 I/O error!

Can someone on linux issue this on a terminal and tell me what grops they belong to?
Code:
cat /etc/group | grep yourusername
Thanks!

dFVarela
Last edit: 12 years 6 months ago by dFVarela.

Please Log in to join the conversation.

More
12 years 6 months ago #7017 by sl1200mk2
Replied by sl1200mk2 on topic No Shortcuts in Linux!?!?
don't u have a user name with some strange char inside?

DL relies on the user HOME variable.
what's the result of :
echo "$HOME"

nicolas

Please Log in to join the conversation.

More
12 years 6 months ago #7018 by dFVarela
Replied by dFVarela on topic No Shortcuts in Linux!?!?
Hi:
No my user name is:dlight
and the result is:
/home/dlight!

dFVarela

Please Log in to join the conversation.

More
12 years 6 months ago #7019 by sl1200mk2
Replied by sl1200mk2 on topic No Shortcuts in Linux!?!?
and you try to start DL wich is in a directory that belong to /home/dlight, right?

nicolas

Please Log in to join the conversation.

More
12 years 6 months ago #7021 by dFVarela
Replied by dFVarela on topic No Shortcuts in Linux!?!?
yes, it is in:
/home/dlight/DLight-32-Linux/

dFVarela

Please Log in to join the conversation.

More
12 years 6 months ago #7022 by sl1200mk2
Replied by sl1200mk2 on topic No Shortcuts in Linux!?!?
just for the fun, don't you wanna try:
export PATH=${PATH}:/home/dlight/DLight-32-Linux/bin

and launch DL again.

nicolas

Please Log in to join the conversation.

More
12 years 6 months ago #7023 by sl1200mk2
Replied by sl1200mk2 on topic No Shortcuts in Linux!?!?
and to answer your cat question, here's mine
Code:
nico@ubuntu:~$ cat /etc/group | grep nico adm:x:4:nico cdrom:x:24:nico sudo:x:27:nico dip:x:30:nico plugdev:x:46:nico lpadmin:x:109:nico nico:x:1000: sambashare:x:124:nico nico@ubuntu:~$

nicolas

Please Log in to join the conversation.

More
12 years 6 months ago #7027 by dFVarela
Replied by dFVarela on topic No Shortcuts in Linux!?!?
It's the same errors!Your output is very similar to mine, so it seems it is not a question of permission!

dFVarela

Please Log in to join the conversation.

More
12 years 6 months ago #7029 by sl1200mk2
Replied by sl1200mk2 on topic No Shortcuts in Linux!?!?
nope...
at launch DL attempt to create a .DLightWorkingSho folder in the $HOME directory.
so in your case, that mean in /home/daniel/.DlightWorkingSho

if you display hidden files, do you see this folder?
does it have read/write permissions?

nicolas
The following user(s) said Thank You: dFVarela

Please Log in to join the conversation.

Time to create page: 0.246 seconds
Powered by Kunena Forum