Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xmodmap beim starten von kde über kdm
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
n1maddin
n00b
n00b


Joined: 11 May 2005
Posts: 51

PostPosted: Sat May 14, 2005 11:22 pm    Post subject: xmodmap beim starten von kde über kdm Reply with quote

Hi junx,

ich bin am verzweifeln ich bekomme es eifnach nicht hin das xmodmap -e "pointer 1 2 3 6 7 4 5" beim starten von kde (über kdm) ausgeführt wird. ich hab es schon in xsession und xprofile drin, aber ich muss es immer wieder selbst in der konsole eingeben, und kann dann erst mein mausrad benutzen.

irgendwelche ideen wie es automatisch ausgeführt werden kannn??

dank euch
Back to top
View user's profile Send private message
setotak
n00b
n00b


Joined: 13 Jan 2005
Posts: 17

PostPosted: Sat May 14, 2005 11:29 pm    Post subject: Reply with quote

Hallo,

erzeuge die Datei "Xmodmap" unter "/usr/X11/xinit/" mit dem Inhalt "pointer 1 2 3 6 7 4 5".

Somit muesste es klappen.
Back to top
View user's profile Send private message
n1maddin
n00b
n00b


Joined: 11 May 2005
Posts: 51

PostPosted: Sun May 15, 2005 10:08 am    Post subject: Reply with quote

mh wie soll ichn des machen?

achso und eine sache noch, mein @ und ~ usw. funktioniert immer erst wenn ich bei kde irgendwas an der tastatur ändere, dabei ist es egal was ich ändere ich muss immer nur irgendwas änderen und dann geht es bis zum nächsten neustart :(

dabei irgendwelche ideen ?
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Sun May 15, 2005 12:14 pm    Post subject: Reply with quote

Bei mir läuft das so:
~/.Xmodmap wrote:
pointer = 1 2 3 6 7 4 5
remove Lock = Caps_Lock


~/.kde/Autostart/xmodmap wrote:

#!/bin/bash
/usr/X11R6/bin/xmodmap ~/.Xmodmap

Die zweite Datei muss ausführbar sein (chmod +x).
_________________
KDE
Back to top
View user's profile Send private message
n1maddin
n00b
n00b


Joined: 11 May 2005
Posts: 51

PostPosted: Sun May 15, 2005 12:20 pm    Post subject: Reply with quote

mh, also ich bin ein linux noob :(
wie genau hast du das denn so gemacht?

danke
Back to top
View user's profile Send private message
tuxfan
Apprentice
Apprentice


Joined: 14 Feb 2003
Posts: 257

PostPosted: Sun May 15, 2005 12:57 pm    Post subject: Reply with quote

Da wir gerad hier das umbelegen von Maustasten besprechen, kann mir da jemand einen Tipp geben, wie ich in KDE die beiden Seitentasten zum Vor und Zurück benutzen kann, beispielsweise im Konquerer? Das sind ja nach dem Tausch hier, die Tasten 4 und 5.
Back to top
View user's profile Send private message
n1maddin
n00b
n00b


Joined: 11 May 2005
Posts: 51

PostPosted: Sun May 15, 2005 1:38 pm    Post subject: Reply with quote

kann mir da keiner helfen :(

biddää ist doch eigentlich so eine kleine sache im gegensatz zu den problemen die ich sonst hab ;)

tuxfan, bei mir gehen die seitlichen tasten für vor und zurück wenn ich xmodmap so ausführe
Back to top
View user's profile Send private message
stalinski
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jan 2005
Posts: 106
Location: Berlin,Germany

PostPosted: Sun May 15, 2005 2:19 pm    Post subject: Reply with quote

Einfach als root folgendes eingeben:
echo "pointer 1 2 3 6 7 4 5" >> /usr/X11/xinit/Xmodmap
Back to top
View user's profile Send private message
n1maddin
n00b
n00b


Joined: 11 May 2005
Posts: 51

PostPosted: Sun May 15, 2005 2:33 pm    Post subject: Reply with quote

mh :

bash: /usr/X11/xinit/Xmodmap: Datei oder Verzeichnis nicht gefunden


bash-2.05b# ls /usr/
bin i686-pc-linux-gnu info lib local portage sbin src X11R6
doc include kde libexec man qt share tmp


bash-2.05b# ls /usr/X11R6/
bin i686-pc-linux-gnu info lib local portage sbin src X11R6
doc include kde libexec man qt share tmp

also irgendwie komme ich net weit :(
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Sun May 15, 2005 2:41 pm    Post subject: Reply with quote

Öffne ne Konsole und gib ein:
Code:
echo "pointer = 1 2 3 6 7 4 5" >> ~/.Xmodmap
mkdir -p ~/.kde/Autostart
echo "#!/bin/bash"  > ~/.kde/Autostart/xmodmap
echo "/usr/X11R6/bin/xmodmap ~/.Xmodmap" >> ~/.kde/Autostart/xmodmap
chmod +x ~/.kde/Autostart/xmodmap

Die unterschiedliche Anzahl von ">" ist gewollt :wink:

Du kannst das gleiche auch graphisch mit dem konqueror und einem beliebigen Texteditor erreichen.
_________________
KDE
Back to top
View user's profile Send private message
SamStone
n00b
n00b


Joined: 09 May 2005
Posts: 48

PostPosted: Sun May 15, 2005 2:43 pm    Post subject: Reply with quote

n1maddin wrote:
mh :

bash: /usr/X11/xinit/Xmodmap: Datei oder Verzeichnis nicht gefunden


bash-2.05b# ls /usr/
bin i686-pc-linux-gnu info lib local portage sbin src X11R6
doc include kde libexec man qt share tmp


bash-2.05b# ls /usr/X11R6/
bin i686-pc-linux-gnu info lib local portage sbin src X11R6
doc include kde libexec man qt share tmp

also irgendwie komme ich net weit :(

Versuchs mal mit /usr/X11R6/lib/X11/xinit/Xmodmap
Back to top
View user's profile Send private message
n1maddin
n00b
n00b


Joined: 11 May 2005
Posts: 51

PostPosted: Sun May 15, 2005 2:46 pm    Post subject: Reply with quote

hört sich vielversperchend an, danke, aber :

bash-2.05b# echo "#!/bin/bash" > ~/.kde/Autostart/xmodmap
bash: !/bin/bash": event not found


danke für euere hilfe, aber ich bin n00b :)
Back to top
View user's profile Send private message
SamStone
n00b
n00b


Joined: 09 May 2005
Posts: 48

PostPosted: Sun May 15, 2005 2:48 pm    Post subject: Reply with quote

n1maddin wrote:
hört sich vielversperchend an, danke, aber :

bash-2.05b# echo "#!/bin/bash" > ~/.kde/Autostart/xmodmap
bash: !/bin/bash": event not found


danke für euere hilfe, aber ich bin n00b :)

Machs so:
Code:
echo "pointer = 1 2 3 6 7 4 5" >> /usr/X11R6/lib/X11/xinit/.Xmodmap

Als root!
Back to top
View user's profile Send private message
n1maddin
n00b
n00b


Joined: 11 May 2005
Posts: 51

PostPosted: Sun May 15, 2005 2:54 pm    Post subject: Reply with quote

SamStone wrote:

Machs so:
Code:
echo "pointer = 1 2 3 6 7 4 5" >> /usr/X11R6/lib/X11/xinit/.Xmodmap

Als root!


Danke, aber es funktioniert immer noch net 8O ohman, des ist was dank euch für eure geduld
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Sun May 15, 2005 3:09 pm    Post subject: Reply with quote

n1maddin wrote:
hört sich vielversperchend an, danke, aber :

bash-2.05b# echo "#!/bin/bash" > ~/.kde/Autostart/xmodmap
bash: !/bin/bash": event not found

Ersetz mal die Anführungszeichen " durch ein Hochkomma '
Dann sollte die bash nicht durch das Ausrufezeichen verwirrt werden.
_________________
KDE
Back to top
View user's profile Send private message
n1maddin
n00b
n00b


Joined: 11 May 2005
Posts: 51

PostPosted: Sun May 15, 2005 3:20 pm    Post subject: Reply with quote

Earthwings wrote:

Ersetz mal die Anführungszeichen " durch ein Hochkomma '
Dann sollte die bash nicht durch das Ausrufezeichen verwirrt werden.


danke, es kam kein fehler mehr. aber es geht immer noch net :roll: 8O

ich weiss auch net ich bin am verzweifeln
Back to top
View user's profile Send private message
n1maddin
n00b
n00b


Joined: 11 May 2005
Posts: 51

PostPosted: Sun May 15, 2005 4:04 pm    Post subject: Reply with quote

also ich glaube jetzt habe ich mir irgendwas kaputt gemacht
wenn ich xmodmap so eingebe, wie es sonst immer ging kommt jetzt dieses:

pbash-2.05b# xmodmap -e "pointer = 1 2 3 6 7 4 5"
/usr/bin/xmodmap: line 1: pointer: command not found


:(

also ich hab in der datei /usr/bin/xmodmap
pointer = 1 2 3 6 7 4 5
stehen.

habe ich da irgendwas flasch gemacht? wenn ich die zeile rausnehme, kommt zwar kein fehler mehr, aber es geht auch nicht mehr, so wie es sonst immer ging... habich vll. irgendwas ersetzt / kaputt gemacht=?
Back to top
View user's profile Send private message
n1maddin
n00b
n00b


Joined: 11 May 2005
Posts: 51

PostPosted: Sun May 15, 2005 7:16 pm    Post subject: Reply with quote

also ich glaube ich hab jetzt xorg / xmodmap wirklich zerschossen, ich bekomme es nicht mehr hin das kommando auszuführen, irgendwelche ideen, oder muss ich xorg erneut emergen :oops:
Back to top
View user's profile Send private message
SamStone
n00b
n00b


Joined: 09 May 2005
Posts: 48

PostPosted: Sun May 15, 2005 8:16 pm    Post subject: Reply with quote

n1maddin wrote:
also ich glaube ich hab jetzt xorg / xmodmap wirklich zerschossen, ich bekomme es nicht mehr hin das kommando auszuführen, irgendwelche ideen, oder muss ich xorg erneut emergen :oops:

Hmm. Also wenn wirklich das Programm xmodmap kaputt/gelöscht wurde, dann bleibt dir wohl nichts anderes übrig.

Versuch das mal mit "/usr/bin/xmodmap" aufzurufen. Wenn das nicht geht, dann isses wohl weg.
Back to top
View user's profile Send private message
n1maddin
n00b
n00b


Joined: 11 May 2005
Posts: 51

PostPosted: Sun May 15, 2005 10:14 pm    Post subject: Reply with quote

bash-2.05b# usr/bin/xmodmap -e "pointer = 1 2 3 6 7 4 5"
bash: usr/bin/xmodmap: Datei oder Verzeichnis nicht gefunden

....

also ermerge xorg-x11 ... :( aber ob des hilft
Back to top
View user's profile Send private message
SamStone
n00b
n00b


Joined: 09 May 2005
Posts: 48

PostPosted: Sun May 15, 2005 11:16 pm    Post subject: Reply with quote

n1maddin wrote:
bash-2.05b# usr/bin/xmodmap -e "pointer = 1 2 3 6 7 4 5"
bash: usr/bin/xmodmap: Datei oder Verzeichnis nicht gefunden

....

also ermerge xorg-x11 ... :( aber ob des hilft

Bestimmt...

EDIT: Kein Bock dafür jetzt ein neuen Thread aufzumachen, deswegen frag ich hier: Wie kann man diese "bash-2.05b" eigentlich durch das ersetzen, was man von anderen Distributionen gewohnt ist? Also Ordner in dem man sich befindet, und Name des Benutzers.
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Mon May 16, 2005 8:12 am    Post subject: Reply with quote

@SamStone: source /etc/profile in ~/.bashrc
_________________
KDE
Back to top
View user's profile Send private message
SamStone
n00b
n00b


Joined: 09 May 2005
Posts: 48

PostPosted: Mon May 16, 2005 10:47 am    Post subject: Reply with quote

Earthwings wrote:
@SamStone: source /etc/profile in ~/.bashrc

Danke. Das klappt.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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