General :: What Is The Best Place To Put "setxkbmap" Setting
Jan 5, 2011To autorun it. Where to put it if I use Gnome?
View 1 RepliesTo autorun it. Where to put it if I use Gnome?
View 1 RepliesI have a problem with my keyboard on Kubuntu 10.10. The specifics of the problem are not really relevant right now. I can fix it by running 'setxkbmap br' on the command line. It's good for the entire session (KDE). But I often forgot to do that, so I want to have that done automatically. I tried adding it to my .tcshrc file, it didn't work. I tried adding it to /etc/rc.local, it didn't work. Where can I insert that line and have it run automatically? Please note that my login shell is tcsh, not Bash.
View 8 Replies View RelatedI've only recently learned how to use the "Multi_key" function of the X windows system... I learned how to set a compose key from: [URL]... Which I found via google. It gave both directions for defining a compose key in the xorg.conf file. which method did NOT work for me on Arch Linux even after a full reboot. I'm not all that concerned about that however, because I find the temporary setxkbmap method more appealing anyway. A simple ~/bin bash script which if $1 begins with -h will less /usr/share/X11/locale/en_US.UTF-8/Compose and will otherwise run the command
[code]...
IF I use the above setxkbmap command to enable a Multi_key, is there also a setxkbmap command I could issue to disable it?
When I change my keyboard with setxkbmap I want to see the updated layout via xkbprint, however xkbprint always seems to print the same thing regrdless of any changes i make. Am I missing some option or something?"xkbprint :0" before viewing it?
View 1 Replies View RelatedTo reeanable CTRL-ALT-BKSP (since 11.2), you use:
setxkbmap -option terminate:ctrl_alt_bksp
It works. However if you map keys with xmodmap, it's gone. In whatever order you use them, setxkbmap and xmodmap are always conflicting. Running xmodmap immediately disables CTRL-ALT-BKSP, while running setxbbmap reverses key mappings to their default.
I'm trying to execute a custom setxkbmap command upon startup so that I have the correcty layout when logging in.
I have tried placing the command in different files after reading through the man pages for Xsession, Xsession.options, xinitrc etc.
~/.gnomerc
~/.xsession
~/.xinitrc
but to no avail.
I have a software program that when you try to install it on Centos it returns "This programs requires RHEL 4" Is there a work around to get the software to use the Centos software the same as it would RHEL 4?
View 6 Replies View RelatedI have just installed slackware 13 on an old machine I am bringing back into use. As I have a spare Linksys wmp54g card I would like to try to get the wireless networking in place.From reading the forum the relevant advice seems to be fairly old (2004-2006). I wonder if anyone can advise me what the current steps would be?
View 3 Replies View RelatedI have migrtaed from Arch, my first experience with linux for the past 2 months, to Debian and i'm currently setting up my system. I have a X61s Thinkpad with a cracked screen which i use with the ultrabase with an external monitor and keyboard. The monitor requires me to use fbset on console and xrandr for a graphical enviroment Whilst i was using Arch i used 'startx' to access openbox and placed my xrandr configuration in ~/.xinitrc but with debian i have wanted to use a login manager, Slim.
Because i am using KMS for my intel based system i don't have an xorg.conf and because i am using slim i am not using ~/.xinitrc I read somwhere that creating an ~/.xprofile file would solve this but i have not had any luck. So i am wondering where would be the best place to put the xrandr configuration?
I've been looking for a way to run windows-only vst plugins nativley on linux as well as to find a linux driver for my 1394 audio interface with little luck; I would like to do so without relying on wine, and have come across an idea to work out after stumbling on a utility that converts dll to lib (called dll2lib). The idea would be to convert the dll's for a proprietary fw audio dev and dependent MS libraries and manually change what's needed to make it compatible with linux env. is this possible; will I be able to achieve source code from this? if not, what is the primary point of converting a dll to lib in the first place.
View 2 Replies View RelatedIf Linux is not in GUI mode, what application handles input and output?
View 6 Replies View RelatedI add a user in my linux machine using the command 'useradd' as shown below. # /usr/sbin/useradd -c "Non Root User" -d "/home/testUser" -g root testUser "/etc/passwd" file shows that user created with uid '517'
cat /etc/passwd
ot:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
[code]...
I am starting to dive into Linux after being a Microsoft geek for years. Where is the best place to start?
View 6 Replies View RelatedI have a program that has a GUI which I have placed in /usr/local/bin however when I invoke the program I receive the following error:
Unable to find a supported JDK or JRE version. Version 1.3.1 or higher is required. Check your installation and use +javahome to specify the JDK or JRE location
I have since installed Java into the usr/local/ directory however I am now just totally Lost! Additionally, I believe that i have tried to install Java several times with no luck.
Questions:
1) Where should java be installed to have system wide access to all programs?
2) How can I place the Java location in my $PATH? here I am going to need very easy and detailed instructions?
3) Is there a way to ensure that the location where I intall java gets updates?
Using a python script, I am gathering various info about all the ethernet adapters installed. For this I am parsing all the directories(each directory represent a ethernet adapter) inside"/sys/class/net/" directory.Is this is the correct place and de-facto standard for listing ethernet adapters?I am concerned about modern distros as well as a bit older ones for the presence of this directory.
View 1 Replies View Relatedi want to configure VNC server on Fedora 12 to be able to connect from any place how to configure it i try Google to find instruction about it but i found alot on ways to configure and they are difference what you recommend
View 1 Replies View RelatedI running ubuntu 9.04 server edition,I place a pci expressmodel PEX8S952 8 Port PCI Express Serial Card ,and ports are disable there is a place
View 4 Replies View RelatedLooking to build the first computer system from scratch and I have chosen Linux as my system. Learning about Linux is a must as I would like to get away from MS. Also, building the system will better equip me when I pursue a business venture within the next year or two.I presently take course work in accounting for a bachelor degree, but will attain another degree in software engineering, both from Herzing University. My present skill level in programming?
View 5 Replies View RelatedWhen connecting to a database in a php script, where would be the safest place to store the connect.php file. I am thinking it should not be in public_html, but is it safe in sub folders or is there a method people generally use to keep such files secure and inaccessible.
The file I mean is one including the database name, user and password etc.
Have installed Suse 11.2. how can I change the calendar format dd/mm/yyyy and how to configure the system to sync.from an ntp?
View 1 Replies View RelatedFollowing script name is 123.sh and I need to put this in the background if I do 123.sh -bg this will not bring me back to the prompt but echoes what ever I put (using echo hello >> /tmp/123) in to the /temp/123 file. the only way that I have found doing this is to do "nohup 123.sh &" to put this in to the background. Is this okay or is there any better way of doing this?
#!/bin/bash
# file name is 123.sh
tail -f /temp/123 | while read line
[code]...
i would like to find and backup all *.mp4 files from /Pictures and its sub-directories and move them to a single directory on a remote. I can find and move the files but I don't want the directory structure...just the files to be placed in the remote directory.
To find my files I use
rsync -r -a -v -e "ssh -l user" --delete --include '*/' --include '*.mp4' --exclude '*' /home/drew/Pictures/ remoteserver:/Users/drew/mp4
but this creates all the subdirectories
I also tried
find ~/Pictures -name "*.mp4" -exec rsync -r -a -v -e "ssh -l user" --delete {} remote:/Users/drew/mp4 ;
This works but takes forever
I have a ubuntu server , can advise if I want to change the network setting ( eg. IP address , gateway address etc ) , which one is the configuration file ? for example , if I want to change eth0 setting , what file I should update ?
View 10 Replies View RelatedI am trying to parse a line from a file and place the values into separate variables:
input.txt:
Code:
CreateVegaFeed-20110928-before-skip-start
this is the code i have done so far:
Code:
$input_file="input.txt"
INPUT_FILE=`cat $input_file`
for i in $INPUT_FILE
[Code].....
I have a ZTE MF112 mobile broadband modem, which comes with Windows drivers and software. This software allows not only connect to Internet, but also send SMS and place calls (as in you dial number in program and when you're connected, sound goes through the sound card). As far as I know, almost any USB mobile modem comes with application to send SMS via its GSM connection.Now the question is - is there any vendor-independent software that runs under Linux and allows you to use your mobile broadband modem to turn your PC into larger mobile phone? I want at least to be able to send and receive SMS using PC + mobile modem.
View 1 Replies View RelatedI want to copy all files with the name XYZ* into one folder. The problem is that the files are in different subfolders and that not even the depth of the folder structure is the same for all files. Luckily, at least each file has a unique name.
Of course, I thought about the cp command but I guess the depth of the folder structure needs to be the same for this to work.
I need to write a shell script which can ready content of the folder and place files on remote FTP server. I need to make sure that a file that is already placed on remote FTP server is not attempted second time. The file names will be something like Records-2011-05-09. The files will be generated by MySQL every hour.
View 7 Replies View RelatedI wonder whether to place swap partition on LVM or on standard fdisk partition which will not be in LVM.What is better and more often used on production ?
View 4 Replies View Relatedand my only solution to switch keyboard is to use setxkbmapnow after i define keyboards layouts to switch and chose ALT+Shift to switch it goes "bugged"using the right ALT will switch the layoutsand i'm not able to write the "other" lettersP.S : this is the command i use�setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll fr,ar�
View 1 Replies View Relatedwhy is it when i place my tcl file in the desktop it doesn't work, but when i place it in ~ns/ns-2.34 folder it works? and the command is work is "./ns filename.tcl" instead of "ns filename.tcl"
View 5 Replies View Related