Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
loadkeys in X> permission denied [risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
wolf3d
Tux's lil' helper
Tux's lil' helper


Joined: 27 Aug 2003
Posts: 101
Location: Nibelheim

PostPosted: Sun Aug 31, 2003 8:51 pm    Post subject: loadkeys in X> permission denied [risolto] Reply with quote

ciao a tutti, sto provando gentoo e la trovo fantastica, neanche con la slackware ero andato cosi' avanti nel mio lento cammino di apprendimento di linux. :D

ho questo problema con loadkeys in x, in pratica in q3 mi serve il layout US altrimenti e' una casino per la console e altri tasti.....

ma questo e' l'errore che mi da'

Code:
bash-2.05b$ loadkeys us           
Loading /usr/share/keymaps/i386/qwerty/us.map.gz
Keymap 0: Permission denied
Keymap 1: Permission denied
Keymap 2: Permission denied
KDSKBENT: Operation not permitted
loadkeys: could not deallocate keymap 3


da console funziona regolarmente.. ho provato a mettere 2 option alla voce keyboard layout ma prende solo la prima, qualche idea :?:

ah e come si fa sempre in terminale ad avere il percorso completo di dove mi trovo anziche' bash-2.05b$ ??

grazie a chi mi rispondera' :)

P.S. per condividere la mia felicita' di utente gentoo ( :D ) eccovi una schermata (una fatica a configurare idesk, ho perso una giornata e ho scoperto che se ci sono altri file oltre ai .lnk non funziona...ma questa e' un'altra storia....)
_________________
The Brave Do Not Fear The Grave


Last edited by wolf3d on Sun Aug 31, 2003 9:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30964
Location: here

PostPosted: Sun Aug 31, 2003 9:11 pm    Post subject: Re: loadkeys in X> permission denied Reply with quote

wolf3d wrote:
ah e come si fa sempre in terminale ad avere il percorso completo di dove mi trovo anziche' bash-2.05b$ ??

Metti nel tuo .bashrc la linea ". /etc/profile" questo ti fa vedere solo il nome
della cartella corrente e non tutto il path (per il path poi usare il comando pwd).
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
shev
Bodhisattva
Bodhisattva


Joined: 03 Feb 2003
Posts: 4084
Location: Italy

PostPosted: Sun Aug 31, 2003 9:27 pm    Post subject: Re: loadkeys in X> permission denied Reply with quote

wolf3d wrote:

ho questo problema con loadkeys in x, in pratica in q3 mi serve il layout US altrimenti e' una casino per la console e altri tasti.....


Prima di tutto benvenuto, passando al tuo problema mi pare di ricordare che loadkeys faccia lo switch tra tastiere ma solo in console, non sotto X. In X devi vedere cosa ti mette a disposizione il tuo wm/de, riavviare ogni volta, usare xmodmap (man xmodmap), setxkbmap (man setxkbmap ) oppure farti uno scriptino tuo (consiglio setxkbmap). Per la bash fa pure come dice fedeliallalinea, oppure ancora meglio, man bash ;)

EDIT: ma come fai ad aver faticato a configurare idesk, imho è veramente semplicissimo e immediato. Ammettilo, non hai letto bene la doc :D
_________________
Se per vivere ti dicono "siediti e stai zitto" tu alzati e muori combattendo
Back to top
View user's profile Send private message
active
Apprentice
Apprentice


Joined: 23 Jun 2003
Posts: 228
Location: Something not a structure or union

PostPosted: Sun Aug 31, 2003 9:36 pm    Post subject: Re: loadkeys in X> permission denied Reply with quote

Quote:

In X devi vedere cosa ti mette a disposizione il tuo wm/de, riavviare ogni volta, usare xmodmap (man xmodmap), setxkbmap (man setxkbmap ) oppure farti uno scriptino tuo (consiglio setxkbmap). Per la bash fa pure come dice fedeliallalinea, oppure ancora meglio, man bash ;)


Mmamma mia che lavoro :P Basta editare XF86Config (o XF86Config-4) e aggiungere in sezione keyboard:

Section "Keyboard"
XkbModel "it"
...[/quote]
_________________
GIT d- s:+>: a-- C+++ UBS+++ P++ L+++
E--- W+ N+ w M- PS+(++) PE PGP+ !t
X++ tv+ b++ D+ G e h! r++ x*
Back to top
View user's profile Send private message
wolf3d
Tux's lil' helper
Tux's lil' helper


Joined: 27 Aug 2003
Posts: 101
Location: Nibelheim

PostPosted: Sun Aug 31, 2003 9:37 pm    Post subject: Reply with quote

grazie delle prime risposte

cmq il problema e' solo in XTerm mentre nella bash normale appare con colori percorso etc etc

fedeliallalinea se metto la linea da te suggerita mi dà errore file not found (credo manchi qualche argomento o debba essere posizionato in un posto preciso)

ora mi sparo un po' di man pages =P
_________________
The Brave Do Not Fear The Grave
Back to top
View user's profile Send private message
shev
Bodhisattva
Bodhisattva


Joined: 03 Feb 2003
Posts: 4084
Location: Italy

PostPosted: Sun Aug 31, 2003 9:43 pm    Post subject: Re: loadkeys in X> permission denied Reply with quote

active wrote:

Mmamma mia che lavoro :P Basta editare XF86Config (o XF86Config-4) e aggiungere in sezione keyboard:


Ma hai letto bene il problema del nostro amico? Vuole poter switchare tra un layout e l'altro in modo veloce. Se dovesse modificare ogni volta il file di config come proponi tu ci metterebbe una vita (oltre a dover riavviare X ogni volta con conseguente chiusura di applicazioni etc). Quelle che ho dato io sono alternative, non un'unica soluzione :P
Ad esempio con setxkbmap basta dare:
setxkbmap -layout us
e hai il layout us, metti it e l'hai it, etc. In un secondo senza riavviare nulla ;)
_________________
Se per vivere ti dicono "siediti e stai zitto" tu alzati e muori combattendo
Back to top
View user's profile Send private message
wolf3d
Tux's lil' helper
Tux's lil' helper


Joined: 27 Aug 2003
Posts: 101
Location: Nibelheim

PostPosted: Sun Aug 31, 2003 9:43 pm    Post subject: Re: loadkeys in X> permission denied Reply with quote

Quote:

Mmamma mia che lavoro :P Basta editare XF86Config (o XF86Config-4) e aggiungere in sezione keyboard:

Section "Keyboard"
XkbModel "it"
...


non sono sicuro che tu abbia letto il mio post, dalla tua risposta sembra che non riesco a settare la tastiera italiana... :roll:
_________________
The Brave Do Not Fear The Grave
Back to top
View user's profile Send private message
active
Apprentice
Apprentice


Joined: 23 Jun 2003
Posts: 228
Location: Something not a structure or union

PostPosted: Sun Aug 31, 2003 9:44 pm    Post subject: Reply with quote

sorry, cmq basta "us" al posto di "it" :o
_________________
GIT d- s:+>: a-- C+++ UBS+++ P++ L+++
E--- W+ N+ w M- PS+(++) PE PGP+ !t
X++ tv+ b++ D+ G e h! r++ x*
Back to top
View user's profile Send private message
wolf3d
Tux's lil' helper
Tux's lil' helper


Joined: 27 Aug 2003
Posts: 101
Location: Nibelheim

PostPosted: Sun Aug 31, 2003 9:45 pm    Post subject: Re: loadkeys in X> permission denied Reply with quote

Shev wrote:

setxkbmap -layout us


GRANDE!!!! ;)
_________________
The Brave Do Not Fear The Grave
Back to top
View user's profile Send private message
shev
Bodhisattva
Bodhisattva


Joined: 03 Feb 2003
Posts: 4084
Location: Italy

PostPosted: Sun Aug 31, 2003 9:46 pm    Post subject: Reply with quote

wolf3d wrote:

fedeliallalinea se metto la linea da te suggerita mi dà errore file not found (credo manchi qualche argomento o debba essere posizionato in un posto preciso)


Prova mettendo:
Code:
source /etc/profile

Alla fine del tuo bashrc e facci sapere ;)
_________________
Se per vivere ti dicono "siediti e stai zitto" tu alzati e muori combattendo
Back to top
View user's profile Send private message
active
Apprentice
Apprentice


Joined: 23 Jun 2003
Posts: 228
Location: Something not a structure or union

PostPosted: Sun Aug 31, 2003 9:48 pm    Post subject: Reply with quote

Ops, doveva cambiare il layout al volo, scusate x i post ma stasera sto fuso :oops:
_________________
GIT d- s:+>: a-- C+++ UBS+++ P++ L+++
E--- W+ N+ w M- PS+(++) PE PGP+ !t
X++ tv+ b++ D+ G e h! r++ x*
Back to top
View user's profile Send private message
wolf3d
Tux's lil' helper
Tux's lil' helper


Joined: 27 Aug 2003
Posts: 101
Location: Nibelheim

PostPosted: Sun Aug 31, 2003 9:49 pm    Post subject: Re: loadkeys in X> permission denied Reply with quote

Shev wrote:

EDIT: ma come fai ad aver faticato a configurare idesk, imho è veramente semplicissimo e immediato. Ammettilo, non hai letto bene la doc :D


al contrario... ho letto di tutto il possibile e reperibile, guardato sito ufficiale, preso cfg di esempio etc....
in pratica avevo un .ideskrc nella dir dove si mettono i file .lnk e ho detto questo non deve stare qua ma in /home/user/.ideskrc, l'ho cancellato et voilà le maledette icone sono apparse! :D

cmq noto che ogni tanto quando sposto l finestre le icone si corrompono e devo switchare di workspace per rimettere a posto...
_________________
The Brave Do Not Fear The Grave
Back to top
View user's profile Send private message
wolf3d
Tux's lil' helper
Tux's lil' helper


Joined: 27 Aug 2003
Posts: 101
Location: Nibelheim

PostPosted: Sun Aug 31, 2003 9:54 pm    Post subject: Reply with quote

Shev wrote:
Prova mettendo:
Code:
source /etc/profile

Alla fine del tuo bashrc e facci sapere ;)


ma quante ne sa Shev :mrgreen:
_________________
The Brave Do Not Fear The Grave
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum