[SOLVED]Changing the KEYMAP in rc.conf
What values are you supposed to give it so that it will change to that keymap? I'm trying to change to the 'colemak' layout, I can't seem to do so.
If I'm already in x, this doesn't work:
setxkbmap colemak
but this does:
setxkbmap us -variant colemak
I tried both 'colemak' and 'us -variant colemak' in rc.conf, but neither works.
Last edited by Hspasta (2012-01-07 06:40:55)
man rc.conf wrote:
KEYMAP=
Defines the keymap to load with the loadkeys program on boot. Possible
keymaps are found in /usr/share/kbd/keymaps. Please note that this
setting is only valid for your TTYs, not any graphical window managers
or X. KEYMAP in /etc/vconsole.conf takes precedence.
setxkbmap is for X.
https://wiki.archlinux.org/index.php/KEYMAP
KEYMAP="colemak"
should work according to the wiki.
Edit: The man for rc.conf is in initscripts 2012.01.2-1 - in [testing] atm.
Last edited by karol (2012-01-07 01:37:30)
Similar Messages
-
[SOLVED] Changing the default startup font
I've been trying to do this for ages, but I've never been able to find any concrete details as to how to do this. I'd like to set the start up font so that it looks like the one used in like Debian, Ubuntu, and other distros, instead of the bitmap font that I currently have set as the terminal font.
Last edited by lspci (2013-02-12 08:14:05)It works ...sort of...
It does indeed set up the startup font to be the desired font in question, but systemd keeps changing it back everytime it hits the
[Starting Virtual Console] part.
I tried figuring out how to get Systemd to stop setting the font, and currently I'm wondering whether commeting out
FONT=Lat2-Terminus16
part in vconsole.conf now that mkinitcpio has loaded it into the boot image thing--or at least I assume that's what it's done--might help, not sure though--in fact doing that may be a very bad idea...
Okay, so get this. Setting the console font using mkinitcpio works with Sysvinit, but doesn't work with Sysvcompat. Sysvcompat changes the font back to the original setting when it hits the
[ OK ] Setup Virtual Console
[ OK ] Reached Sound Target
part
EDIT-SOLUTION:
As it turns out the default font can be set for the current tty using a homebrew service file.
Here's the one I use:
# /etc/systemd/system/default.target.wants/vconf.service
[Unit]
Description=vconf
# Virtual Console Font sets the console font to whatever font you specify.
# setfont Lat2-Terminus16 -> Debian, I believe.
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/setfont Lat2-Terminus16
[Install]
WantedBy=default.target
Last edited by lspci (2013-02-12 08:12:15) -
[SOLVED]change the font that displays pages in the browser Uzbl
hi all
there is some form in the browser Uzbl change the type of font displayed on web pages?
thanks
Last edited by jccl1706 (2010-03-16 01:32:53)You would need to apply a style sheet that loads for all pages that you visit (fonts that you view on the web are determined by a) the designers who specify either specific fonts, or families (like serif) and b) the fonts that you have installed on your system).
Last edited by jasonwryan (2010-03-15 22:41:21) -
[SOLVED] changing the owner of /usr
after installing the arch successfully. i noticed that virtualbox does not work and gives a message about permission. i noticed that the ownership of /usr is not root. because i had this problem before on arch, i changed the ownership by "chown root:root /usr -R" .
Now i can not do su , mount a win drive ...... and get error for permission. How can i undo that command?????
Last edited by hadian (2013-10-06 12:59:44)chown root:root /usr -R
I don't know what you have going on.
/usr should have been
ls -ld /usr
drwxr-xr-x 9 root root 4096 Aug 2 11:22 /usr
And su should be
ls -l /usr/bin/su
-rwsr-xr-x 1 root root 27496 Jul 31 08:15 /usr/bin/su
Did you remove suid on mount and su?
ls -l /usr/bin | grep rws
-rwsr-sr-x 1 daemon daemon 46064 May 12 09:31 at
-rwsr-xr-x 1 root root 55736 May 30 08:17 chage
-rwsr-xr-x 1 root root 23520 Jul 31 08:15 chfn
-rwsr-xr-x 1 root root 19360 Jul 31 08:15 chsh
-rwsr-xr-x 1 root root 44296 Jun 23 04:17 crontab
-rwsr-xr-x 1 root root 24000 May 30 08:17 expiry
-rwsr-xr-x 1 root root 31384 Jul 31 11:25 fusermount
-rwsr-xr-x 1 root root 69200 May 30 08:17 gpasswd
-rwsr-xr-x 1 root root 52104 Jun 10 01:46 ksu
-rwsr-xr-x 1 root root 40104 Jul 31 08:15 mount
-rwsr-sr-x 1 root root 39704 Jul 4 03:19 mount.cifs
-rwsr-xr-x 1 root root 10608 Jul 31 08:15 newgrp
-rwsr-xr-x 1 root root 47816 May 30 08:17 passwd
-rwsr-xr-x 1 root root 23304 Jun 14 09:57 pkexec
-rwsrwxr-x 1 root root 56464 May 29 23:31 rcp
-rwsrwxr-x 1 root root 52552 May 29 23:31 rlogin
-rwsrwxr-x 1 root root 52296 May 29 23:31 rsh
-rwsr-xr-x 1 root root 33272 May 30 08:17 sg
-rwsr-xr-x 1 root root 27496 Jul 31 08:15 su
-rwsr-xr-x 1 root root 129384 Jun 14 03:58 sudo
-rwsr-xr-x 1 root root 27544 Jul 31 08:15 umount
-rwsr-sr-x 1 root root 31344 May 19 10:04 unix_chkpwd
-rwsr-xr-x 1 root root 2133544 Sep 13 06:29 Xorg
EDIT:
Also everything in /usr isn't suppose to be owned by root
find /usr ! -user root
/usr/share/polkit-1/rules.d
/usr/bin/at
Last edited by teckk (2013-09-26 18:09:33) -
[Solved] -Change the background image of gdm login screen.
When I first installed Arch I found that the default background image of gdm login screen ( or lock screen ) didn't look good with the desktop image that I had, so when I installed I looked for a way to change this. Sadly I could not find any direct and easy way, I looked in forums, I looked in gconf-editor and I could not find any relevant information about it. So I decided to look for the file and change it.
This was not the best option, clearly since now that I installed Gnome 2.30 it replaced the image with the old one and I had to change the file again. Since maybe some other people are having similar problems I thought I could just post the place where gdm is looking for the file, and if somebody has any suggestions about how to change it with a better way, I would welcome it .
After the longest intro to a directory, here it is: /usr/share/pixmaps/backgrounds/gnome/background-default.jpg
Thank you .
Last edited by agomezh (2010-04-11 18:53:09)Not to belabour the point, but after much hair pulling, I stumbled upon the following method, and it works perfectly. It sets the default background (for GDM login, Lock, desktop...etc.) for Gnome to whatever you want--even new users get the new default background on their desktop, although they can obviously change it, this is only the default. The page also shows a method of doing the same as gnome-appearance-properties method with just gconftool-2. I hope this doesn't just cause confusion.
[Note: It still has to be run as root of course. I used sudo.]
http://library.gnome.org/admin/system-a … n#gconf-20
gconftool-2 --direct \
--config-source xml:readwrite:/etc/gconf/gconf.xml.defaults \
--type string \
--set /desktop/gnome/background/picture_filename some_picture_filename.png -
[SOLVED] Changing default keymaping in fluxbox
Right, here's one I'm finding interesting and a little frustrating.
My default keymapping in fluxbox is set to us and I can't change it.
My keymapping is set to uk in rc.conf and I can get uk in the terminal.
I have also set the xorg.conf file to contain the following lines in the eyboard section:
Option "XkbRules" "xorg"
Option "XkbLayout" "gb"
I tested x before installing fluxbox by doing startx and it worked ok, the keyboard mapping was set to uk.
I have installed fluxbox and have set it to start when using the startx command in my user account, leaving root to use just normal x.
In fluxbox the keyboard is mapped to us instead of gb, but it's ok in normal x.
The only way I can get around this is to use the setxkbmap gb command in the xterm of fluxbox, but doing this everyti,e i boot is annoying.
I've also tried adding the line setxkbmap gb to the startup file ~./fluxbox/startup but that does not work either.
Any and all suggestions welcome. (And yes I have read posts on other forums and searched on google).
Last edited by astacha (2009-11-07 06:47:22)hi.
put this line on your ~/.fluxbox/startup
setxkbmap <language_symbol> &
replace "<language_symbol>" with the language symbol you want
you may check them with the command
ls /usr/share/X11/xkb/symbols/
(pt stands for portuguese, fr for french, etc..)
put it just before "exec fluxbox"
edit: sorry I didn't realized that you have tested this before
Last edited by quarkup (2009-10-06 18:52:51) -
[SOLVED] - Changing the root file system to a different disk
Hi,
I ran out of disk space on my / partition so I decided to buy a new hard drive, and copy everything over (but with different sized partitions). Hoewever, Arch is still using the old / partition rather than the new one.
My new home partition is mounted on /home, as I expect. But for some reason, both the old and the new root partitions are mounted on /. Furthermore, I know that the old disk is being used for the root filesystem because conky tells my that it's 94% full, which is how full the old / on my old disk was.
Here are the things I tried:
First of all, I changed my fstab so that the root partition on my new disk gets mounted as /. (I also changed it for my /home partition similarly). Here are the relevant lines from my fstab:
LABEL=new-hitachi-root / ext3 defaults 0 1
LABEL=new-hitachi-home /home ext3 defaults 0 1
UUID=3c1c1940-693f-4428-aa89-65e1403241f7 /old-home ext3 defaults 0 1
UUID=4a84f8ae-4bad-4acf-8573-1a7b244b416c /old-root ext3 defaults 0 1
After this, gparted reported that my old root partition was mounted under both / and /old-root. My new root partition is mounted under /, also. (So I have two partitions mounted under /, my old and new root partitions. However, the system is using the old root partition, since conky still tells my that / is 94% full).
I'm not sure what else to try. I tried messing around with /boot/grub/menu.list, but I'm not sure how to modify it, I keep making my system unbootable. At the moment it looks like
title Arch Linux
root (hd0,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/4a84f8ae-4bad-4acf-8573-1a7b244b416c ro
initrd /kernel26.img
(or it did look like that, before I modified it). That seems to be right, because the root entry says (hd0,0), which is the same as /dev/sda, which is the disk where my new root partition is.
Cheers for any help! I'm pretty stuck until I can get some more space on my root partition.
Last edited by ElKatrina (2011-11-08 02:06:54)karol, thanks. Any idea how to get it to point to my new disk? I tried
root=/dev/disk/by-label/new-hitachi-root ro
but I couldn't boot from that, I got loads of errors... it couldn't find proc, it didn't even know the host name, loads of other errors. What is the new naming scheme?
bangkok_manouel, do you mean grub? I modified /boot/grub/menu.list as described above, is there anything else I should do?
Edit: I didn't post the whole fstab file, but boot is definetly in there. Actually, I'm still booting from the old disk, since I didn't want to boot from the new one until I got root and home right. (Is this bad?)
My whole fstab:
devpts /dev/pts devpts defaults 0 0
shm /dev/shm tmpfs nodev,nosuid 0 0
LABEL=callisto /callisto ext3 defaults 0 1
LABEL=thebe /thebe ext3 defaults 0 1
LABEL=new-hitachi-boot /new-boot ext3 defaults 0 1
LABEL=new-hitachi-root / ext3 defaults 0 1
LABEL=new-hitachi-home /home ext3 defaults 0 1
UUID=3c1c1940-693f-4428-aa89-65e1403241f7 /old-home ext3 defaults 0 1
UUID=4795b52b-f849-4bcd-8032-d1634550afdc /boot ext2 defaults 0 1
UUID=4a84f8ae-4bad-4acf-8573-1a7b244b416c /old-root ext3 defaults 0 1
Last edited by ElKatrina (2011-11-07 07:52:34) -
[SOLVED]Changing the apperance of subsubsection in LaTeX
Currently subsubsection is displayed like this 1.1.1
I'd very much like it to be 1.11, is that possible?
Last edited by Noble (2010-09-16 14:42:02)I haven't tried it, but maybe something like
\renewcommand{\thesubsubsection}{\arabic{section}.\arabic{subsection}\arabic{subsubsection}}
in your preamble? -
Dot11Radio0 stuck in reset status after changing the station role
Hi Everyone.
I've got a AIR-AP1231G-A-K9 router. IOS has been upgraded to the latest version c1200-k9w7-mx.123-8.JED. Everything worked fine before I change the station role from root to repeater or workgroup bridge. Following is my configuration:
ap#sh run
Building configuration...
Current configuration : 1224 bytes
version 12.3
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
hostname ap
enable secret 5 $1$KHHu$bN/odUmHdmb.0cwa57GYs1
ip subnet-zero
no aaa new-model
dot11 syslog
dot11 ssid Lanyard
authentication open
username Cisco password 7 123A0C041104
bridge irb
interface Dot11Radio0
no ip address
no ip route-cache
ssid Lanyard
speed basic-1.0 basic-2.0 basic-5.5 6.0 9.0 basic-11.0 12.0 18.0 24.0 36.0 48.0 54.0
station-role root
bridge-group 1
bridge-group 1 subscriber-loop-control
bridge-group 1 block-unknown-source
no bridge-group 1 source-learning
no bridge-group 1 unicast-flooding
bridge-group 1 spanning-disabled
interface FastEthernet0
no ip address
no ip route-cache
duplex auto
speed auto
bridge-group 1
no bridge-group 1 source-learning
bridge-group 1 spanning-disabled
interface BVI1
ip address 11.11.11.1 255.255.255.0
no ip route-cache
ip http server
no ip http secure-server
ip http help-path http://www.cisco.com/warp/public/779/smbiz/prodconfig/help/eag
ip radius source-interface BVI1
bridge 1 route ip
line con 0
line vty 0 4
login local
line vty 5 15
login
end
ap#sh ip int bri
Interface IP-Address OK? Method Status Protocol
BVI1 11.11.11.1 YES NVRAM up up
Dot11Radio0 unassigned YES NVRAM up up
FastEthernet0 unassigned YES NVRAM up down
ap#
Then I changed the station role
ap#conf t
ap(config)#int dot 0
ap(config-if)#station-role repeater
ap(config-if)#end
ap#sh ip int brie
Interface IP-Address OK? Method Status Protocol
BVI1 11.11.11.1 YES NVRAM down down
Dot11Radio0 unassigned YES NVRAM reset down
FastEthernet0 unassigned YES NVRAM up down
ap#
Interface Dot11Radio0 stuck in reset. No matter I reload or powercycle the AP, I still get the same reset status on Dot11Radio0.
Please help! Any input will be appreciated.In order to get either the repeater or the workgroup bridge functionality working, you would likely need to have a Cisco AP as root. This is because the repeater and workgroup-bridge functionalities require Cisco Aironet Information Element (IE), which requires a Cisco root AP. There is no standard for interoperability for these functionalities (not part of any 802.11 standards). You can always try to connect them, making sure that they are using the same authentication/encryption configuration. However, it is unlikely to work.
-
[SOLVED] Cannot change the lightdm-unity-greeter background
Hi.
So I installed the lightdm-ubuntu and lightdm-unity-greeter (which needed lightdm-ubuntu) from the AUR, and when I read both the wiki and the web, they said that I needed to install the lightdm package, not lightdm-ubuntu (when I install lightdm-ubuntu, it conflicts with lightdm, forcing me to remove it). So I installed it, used it, saw the nice login screen, but I would like to remove the dots showing up over the background AND change the background. I read that there is a config in the /etc/lightdm folder, but when I tried finding it, it was not there.
ls /etc/lightdm showed me:
keys.conf lightdm-gtk-greeter.conf users.conf
lightdm.conf lightdm-gtk-greeter.conf~
lightdm.conf.pacsave lightdm-gtk-greeter.conf.pacsave
I do not want to have the background of the login the same as my background when I'm logged in, so I don't think gnome-settings-daemon-ubuntu and accountsservice-ubuntu should be needed. And even if they are, I would like to find a way to change it without installing those packages, since I can't install them easily -- this computer is a school computer and is connected through a filter, which unnecessarily blocks many sites (like say, eclipse.org and gnu.org, but that is not the point), and freedesktop.org is one of them.
I would appreciate if anyone knows how to do that.
Thanks.
EDIT: Solved. faidoc's answer was priceless.
Last edited by Technicolor (2012-10-04 13:54:05)hi everybody from the Indian Ocean , especially Rodrigues Island-Republic of Mauritius !
I am now running a Archlinux Vm with 3 desktop environemnts such as Gnome, Mate and Xfce4 . I am encounting a conflict file issue between lightdm , lightdm-Ubuntu and lightdm-gtk-greeter.conf !
The system says that lightdm-gtk-greeter.conf creates a conflict and , when installing Unity as per " chenxiaolong :https://github.com/chenxiaolong/Unity-for-Arch" or through the Wiki method I am always stuck ! I don't even have the " /usr/share/glib-2.0/schemas/com.canonical.unity-greeter.gschema.xml" ! The nearest I've got is " com.canonical.unity-gtk-module.gschema " ! This means that even lightdm-ubuntu-greeter cannot be installed ......What must I do ? -
i buy a macbook air with my friend and i changed the apple id also.at first i can update the application but now its impossible to update the application.when i clock to update it shows the id of my fren andsomebody do you have idea to solve this problem.
The first thing to do with a second-hand computer is to erase the internal drive and install a clean copy of OS X. You — not the previous owner — must do that. How you do it depends on the model, and on whether you already own another Mac. If you're not sure of the model, enter the serial number on this page. Then find the model on this page to see what OS version was originally installed.
1. You don't own another Mac.
If the machine shipped with OS X 10.4 or 10.5, you need a boxed and shrink-wrapped retail Snow Leopard (OS X 10.6) installation disc from the Apple Store or a reputable reseller — not from eBay or anything of the kind. If the machine has less than 1 GB of memory, you'll need to add more in order to install 10.6. Preferably, install as much memory as it can take, according to the technical specifications.
If the machine shipped with OS X 10.6, you need the installation media that came with it: gray installation discs, or a USB flash drive for some MacBook Air models. For early MBA models, you may need a USB optical drive or Remote Disc. You should have received the media from the previous owner, but if you didn't, order replacements from Apple. A retail disc, or the gray discs from another model, will not work.
To boot from an optical disc or a flash drive, insert it, then reboot and hold down the C key at the startup chime. Release the key when you see the gray Apple logo on the screen.
If the machine shipped with OS X 10.7 or later, you don't need media. It should boot into Internet Recovery mode when you hold down the key combination option-command-R at the startup chime. Release the keys when you see a spinning globe.
2. You do own another Mac.
If you already own another Mac that was upgraded in the App Store to the version of OS X that you want to install, and if the new Mac is compatible with it, then you can install it. Use Recovery Disk Assistant to create a bootable USB device and boot the new Mac from it by holding down the C key at the startup chime. Alternatively, if you have a Time Machine backup of OS X 10.7.3 or later on an external hard drive (not a Time Capsule or other network device), you can boot from that by holding down the option key and selecting it from the row of icons that appears. Note that if your other Mac was never upgraded in the App Store, you can't use this method.
Once booted in Recovery, launch Disk Utility and select the icon of the internal drive — not any of the volume icons nested beneath it. In the Partition tab, select the default options: a GUID partition table with one data volume in Mac OS Extended (Journaled) format. This operation will permanently remove all existing data on the drive.
After partitioning, quit Disk Utility and run the OS X Installer. You will need the Apple ID and password that you used to upgrade. When the installation is done, the system will automatically reboot into the Setup Assistant, which will prompt you to transfer the data from another Mac, its backups, or from a Windows computer. If you have any data to transfer, this is usually the best time to do it.
Then run Software Update and install all available system updates from Apple. To upgrade to a major version of OS X newer than 10.6, get it from the Mac App Store. Note that you can't keep an upgraded version that was installed by the previous owner. He or she can't legally transfer it to you, and without the Apple ID you won't be able to update it in Software Update or reinstall, if that becomes necessary. The same goes for any App Store products that the previous owner installed — you have to repurchase them.
If the previous owner "accepted" the bundled iLife applications (iPhoto, iMovie, and Garage Band) in the App Store so that he or she could update them, then they're linked to that Apple ID and you won't be able to download them without buying them. Reportedly, Apple customer service has sometimes issued redemption codes for these apps to second owners who asked.
If the previous owner didn't deauthorize the computer in the iTunes Store under his Apple ID, you wont be able to authorize it immediately under your ID. In that case, you'll either have to wait up to 90 days or contact iTunes Support. -
dear, there.
how to change the default search engine? I accidentaly change it from google to yahoo, and I can't get it back. I changed my homepage to google too, but it isn't solved. ThanksClarification:
I believe now you potentially lose all extensions, plug-ins when you use the new reset function, but you will let me know.
If that is the case, your find corrupt file method maybe better. However, I reviewed the two help articles and there appear to be more files than just the delete search.json file and a possible search.sqlite file in the Firefox Profile Folder. I am confused. Then I have to find the folders. I think help articles mentioned how to find the profile containing the files, but not sure. -
Hi, my Ipod Schuffle (4 gen) dissapears from windows vista right after I execute Itunes, I've change the drive letter, erase temps in App data file, verified USB drivers, etc... Can someone guide on how to solve this?
If you want the shuffle to be always visible in Windows (outside of iTunes), you need to Enable disk use.
Select the shuffle in the iTunes sidebar, under DEVICES. Over to the right, select the Summary tab. You should see a checkbox that says Enable disk use. Check it and click Apply.
NOTE: If disk use is enabled, you have to Eject the shuffle in iTunes, BEFORE you physically disconnect it. If disk use is NOT enabled, you can disconnect the shuffle at any time, as long as iTunes is not doing something with it at that moment (such as syncing); the shuffle's light will then be blinking (to indicate DO NOT DISCONNECT).
So, unless you want to use the shuffle like a USB flash drive (carry random files on it), you may want to NOT Enable disk use. -
[SOLVED]how to change the size of default font ?
, hellow everyone. I am newbie here and I recently installed Archlinux with Awesome WM,the default size of font is too small, in some cases,the characters even can not be clearly seen,I want to change the size of fonts so that I can read words comfortablely ,what shall I do to make the font bigger? I tried to find the solution in wiki or forum but failed, thank you in advance!
Last edited by mabier (2010-07-23 03:41:09)karol wrote:A never used Awesome WM but I think you're referring to some app's font - is it your shell, browser or what? Or maybe is it some toolbar or panel (I don't know if Awesome has those)?
the fonts in firefox browser and terminal emulator xterm are too small. I can enlarge characters in firefox browser by "ctrl +", but small fonts in xterm can not be modified by me at the beginning, but now I create and configure ~/.Xdefaults, and this problem has been solved. the fonts in panel of Awesome WM was also very small at the first, after configuring Awesome's theme.lua file, everything is fine now.:D
Last edited by mabier (2010-07-22 06:31:03) -
When I click on a link in an RSS feed it used to indicate that I'd viewed that particular link by changing the icon to the left of the link. It doesn't do that anymore. This started happening right around the time I updated to Firefox 4, but may have been a little before that too. For some things, like news and web comics it's just a little annoying. For important things like looking for new journal articles for my job, it literally makes my job more difficult. So fixing this would make my day.
I seem to have solved my own problem. When I disabled the add-on "Tab Renamizer" everything started working fine.
Maybe you are looking for
-
Refreshing only the single row of ADF Table
Hi All, I have a webcenter application where the ADF Applications has been deployed.Now the Data is coming onto the ADF Tables from a webservice.In that particular table i need to refresh only the single row(whichever selected by the user to edit ) o
-
Can't create new contact in OS7
My husband has a new iPhone 5c. Some of the calls in his recent call list give the option of "create new contact" when you press on the "i" next to the phone number of the recent call. Other calls give the option of sharing the contact, but not creat
-
Attach a File to a cell in the BW report...
Hi all, When I run a bw report on the web it is possible attach a text comment to a cell in the result table as a "document". This is an standard function but we need attach also a file in the same way. Please con you help me with this issue? Enrique
-
My PowerPC G4 Tower is on OS 10.5.8 and keeps freezing up
I have repaired the disks and it still freezes up... I got the error report pasted below when I turned it back on this morning.. does anyone know what this means? Desperate for assistance.... thank you in advance! FYI this computer used to be my fath
-
CSS and HTML not merging in design view
I hate questions that start with "all the sudden this happened." I was using Dreamweaver CS5.5 along with some other things I had open. I was off doing something with one of the other things and came back to Dreamweaver. It was in design view not l