Added New Keymap And There Are Errors

Hi, I am a newbie but tried to be overly smart. This is a brand new installation of Linux Mint dual booting with Windows 8.1 on an inexpensive but new notebook (Dell inspiron 14 - 3451).

Well, I read a tutorial and added a keymap after editing 5 files.
All these files are at /usr/share/X11/xkb/rules:
xorg.xml, xorg.lst, evdev.xml, base.xml, base.list
The symbols file is:
/usr/share/X11/xkb/symbols/lk

Now I get this error:

===============================
Error activating XKB configuration.
There can be various reasons for that.

If you report this situation as a bug, include the results of
• xprop -root | grep XKB
• gsettings get org.gnome.libgnomekbd.keyboard model
• gsettings get org.gnome.libgnomekbd.keyboard layouts
• gsettings get org.gnome.libgnomekbd.keyboard options
===============================

I went through the files for errors, found some and fixed them (I think). Still this same error pops up when I try to add the new layout. How do I do what the message tells me to do (in order to get help)?

May be I'll get some idea if I see the 'results' it is talking about.
But what does it mean by, for example, 'xprop -root | grep XKB'? Must be some console command, but I do not know even how to do that.

Any help or hint is gratefully appreciated.

Thanks.


Similar Content



Sed: Transforming 'ls-laR' Output Into A List With Absolute Paths

Hello, this is my first post
First i would like to thank you all for answering other people questions because I've been able to learn from the forum a lot.

I need your help with something.
I have standard output from 'ls -laR /etc' command which looks like this:
Code:
/etc/X11/xorg.conf.d:
total 4
drwxr-xr-x. 2 root root  29 Apr  1 00:46 .
drwxr-xr-x. 5 root root  54 Apr  1 00:43 ..
-rw-r--r--. 1 root root 232 Apr  1 00:46 00-keyboard.conf

/etc/xdg:
total 12
drwxr-xr-x.  4 root root   36 Apr  1 00:43 .
drwxr-xr-x. 87 root root 8192 Apr 12 13:53 ..
drwxr-xr-x.  2 root root    6 Jun 10  2014 autostart
drwxr-xr-x.  2 root root   17 Apr  7 01:25 systemd

by using sed command:
Code:
sed -e '/./!d' -e '/^total/d' -e '/\.$/d' -e 's/:$/\//' list.txt

I have transformed it to the following form:

Code:
/etc/X11/xorg.conf.d/
-rw-r--r--. 1 root root 232 Apr  1 00:46 00-keyboard.conf
/etc/xdg/
drwxr-xr-x.  2 root root    6 Jun 10  2014 autostart
drwxr-xr-x.  2 root root   17 Apr  7 01:25 systemd

and now I would like to achieve absolute paths at the end of each row

Code:
-rw-r--r--.  1 root root  232 Apr  1 00:46 /etc/X11/xorg.conf.d/00-keyboard.conf
drwxr-xr-x.  2 root root    6 Jun 10  2014 /etc/xdg/autostart
drwxr-xr-x.  2 root root   17 Apr  7 01:25 /etc/xdg/systemd


How do I join(merge) filenames with corresponding absolute path to their parent directory?



I know how to extract filenames using awk and get this:
Code:
00-keyboard.conf

autostart
systemd

but I don't know what to do next. Should I use some hitech sed option or go for loop or try with arrays? Help. Heeeelp

Searching For Strings

If there is one Windows XP feature that I greatly miss in Mint, it is the Search Companion.

I have been struggling with 'grep' in order to create something suitable but with limited success. Take the following problem:-

I wish to interrogate the folder home/dell/Documents/Domestic/Recipes, searching for all files containing the word "mushroom" or "mushrooms", ignoring case. (I can manage the latter. )

Each individual file search should terminate at the first instance of a match and move to the next file. (Recursive, yeh?) Only the file names need to be listed and the output should be paged to allow for easier reading of long lists.

Several different types of file may be involved, including .doc, .odt, .txt .pdf, .htm and .rtf. It would be nice to include all of them in one command. (Wild card behaviour in grep is not entirely predictable - at least not for me.) Running a separate grep command for each different file type would be tedious.

A significant difficulty is that, if grep fails with a syntax, or run-time error, it generally reports the fact but it also has a habit of producing no output, perhaps not returning to the command prompt, whilst sitting inviting the user to decide what to do next. What makes this particularly frustrating is that some file types might not be amenable to a grep search. Text in .txt files and, it would appear, .doc files appears to be searchable but I suspect that .odt files might be more problematic. The snag in such circumstances is trying to interpret grep's response. Does a null return mean that no match was found or that the file format cannot be successfully interrogated? Such failure might not be apparent if the associated file names are simply excluded from the output list.

Apart from grep, is there any other software that would do the job? Sadly LibreOffice Writer seems to be lacking in this area.

How Do I Run A Application On Top, In A Display Manager Like GDM.(RHEL 7, Gnome 3.8.4

I want to show keyboard layout and selection of language at login screen in RHEL 7.

I have modified the language menu to show "show keyboard layout" and "Region & Language settings".
On clicking above menu items, applications are launched but they are not visible at login screen.
I check the programs are running by taking a remote session.

gkbd-keyboard-display -l us
gnome-control-center region

above two applications are executing but none is displaying at login screen(gdm).

How can I bring the applications at top of display manager(gdm).

I have tried

Mint 17 Cant Set A Persistent Keyboard Layout

I'm using a Swedish keyboard and switch to English for certain terminal commands. I use English as the system language. In both mint 13 and 15 I was able to keep the Swedish layout after restart; now I have to set the keyboard to Swedish after every restart. In 15 it was possible to have a persistent keyboard layout which differed from the system language. I think it was throught regional settings. In 13 I seem to remember using a command from the terminal which I can neither remember or find. Its not a big thing to set the keyboard layout after restart but its rather annoying. Any suggestions?

Undefined Symbol In Preprocessor In Mixed C/Asm Build

Hi,
I am trying to understand MPlayer, and am currently rebuilding some of its source code which includes C and asm files.

Most of the preprocessor symbols are defined in the config.h file, created by the configure script.

In the C files, these symbols are visible in the source by including the config.h header file.

However, in the asm files, I don't see any of such inclusion. Since the asm files also use these preprocessor symbols (e.g. ARCH_X86_64), how are they made visible during the build of the asm files?

When I try building the asm source myself, I get many errors such as:
undefined symbol `ARCH_X86_64' in preprocessor

I was wondering how this is to be done, or if someone knows specifically how this is done in the Mplayer build ?

Again, many thanks for any help you can provide!

PD.

Lost My GUI In Ubuntu 14.04 After Video Card Change

Ten years on Linux and this has me stumped.
So I'm putting it in the Newbie thread.

I pulled an Nvidia card out of my box: I suspected a hardware failure with that.

The gear on the motherboard is Intel. An Intel driver is present, and it seems - judging from the logs - to be loading.

I commented out a lot of xorg.conf. There were things in there to help me get my resolution right.
Gone now, but I purged the Nvidia driver anyway.
( sudo apt-get remove --purge nvidia )

But I have no GUI.
The login screen appears as expected, mouse and keyboard work.
But when I log into the GUI I get only wallpaper, no menus nor bars nor buttons, nor anything on a right-click.

FWIW I had been using Metacity until now, rather than the latest Gnome desktop.

A CD-bootable Ubuntu still works fine in this box tonight: that makes me suppose I have eliminated any hardware problems.

Any tips would be gratefully accepted.

I think I have seen advice suggesting that a person should just delete lots of desktop config files in a situation such as this. But to me that seems wrong - or maybe hasty.

So I thought I'd ask first.

Many thanks for any help.

Why Does Grep Return "No Such File Or Directory"?

I copied the following from my linux console.

grep -lr "SMTP" *.ini
grep: *.ini: No such file or directory

I wanted to search recursively under current location in files with extenstion .ini
Actually there are files that contain "SMTP" under this directory. But I got the above error message.
What is wrong? I am using centos 6.

Thanks,
3rock

Bumblebee Ubuntu 15.04

Hello, I'm trying to get bumblebee to work running Ubuntu 15.04.
I've followed this guide to get to the point I am now, but I'm getting an error that I couldn't even google the way out of it.

This is what I get from demencia@demencia-laptop:~$ primusrun glxinfo | grep OpenGL


primus: fatal: Bumblebee daemon reported: error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)

But I was told that that error is not really important that I should have a look at my /var/log/Xorg.8.log, where I found my dead end.

Here's my /var/log/Xorg.8.log
file.

Any ideas?

Screen Sharing In Fedora 20

hi,

I am using fedora core 20. To access desktop from remote I followed the instructions mentioned in the website.

http://hex.ro/wp/blog/fedora-20-remo...rom-windows-7/

1. Settings -> System -> Sharing – enable Sharing then for Screen Sharing enable it and then enable all checkboxes
2. Added port in firewall
#firewall-cmd --add-service=vnc-server
3. Set the command
# gsettings set org.gnome.Vino require-encryption false

From other machine, using Tight vncviewer when I entered the IP address of this machine, I get full black screen. Please help me in this regards.

Thanks in advance.
uv.

Something's Wrong With GRUB

Ubuntu 12.04

I installed updates, which included a new kernel. I went to remove one of the older kernels and got:

Code:
jnojr@DEV:~$ sudo apt-get purge linux-image-3.13.0-46-generic
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-3.13.0-46-generic gir1.2-ubuntuoneui-3.0 wireless-regdb iw
  linux-headers-3.13.0-46 crda linux-headers-3.5.0-23-generic lesstif2
  linux-headers-3.5.0-23 libubuntuoneui-3.0-1 thunderbird-globalmenu
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  linux-image-3.13.0-46-generic*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 197 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 340656 files and directories currently installed.)
Removing linux-image-3.13.0-46-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-46-generic /boot/vmlinuz-3.13.0-46-generic
update-initramfs: Deleting /boot/initrd.img-3.13.0-46-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-46-generic /boot/vmlinuz-3.13.0-46-generic
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.13.0-51-generic
Found initrd image: /boot/initrd.img-3.13.0-51-generic
Found linux image: /boot/vmlinuz-3.13.0-49-generic
Found initrd image: /boot/initrd.img-3.13.0-49-generic
Found linux image: /boot/vmlinuz-3.13.0-48-generic
Found initrd image: /boot/initrd.img-3.13.0-48-generic
Found Windows Vista (loader) on /dev/sda1
Found CentOS release 6.6 (Final) on /dev/sdb1
Found linux image: /boot/vmlinuz-3.13.0-51-generic
Found initrd image: /boot/initrd.img-3.13.0-51-generic
Found linux image: /boot/vmlinuz-3.13.0-49-generic
Found initrd image: /boot/initrd.img-3.13.0-49-generic
Found linux image: /boot/vmlinuz-3.13.0-48-generic
Found initrd image: /boot/initrd.img-3.13.0-48-generic
Found Windows Vista (loader) on /dev/sda1
Found CentOS release 6.6 (Final) on /dev/sdb1
Found memtest86+ image: /boot/memtest86+.bin
error: syntax error.
error: Incorrect command.
error: syntax error.
error: Incorrect command.
error: syntax error.
error: line no: 146
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.
done
Purging configuration files for linux-image-3.13.0-46-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-46-generic /boot/vmlinuz-3.13.0-46-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-46-generic /boot/vmlinuz-3.13.0-46-generic

I have no idea how I'd "ensure there are no errors" in the /etc/grub related files... I have no idea what's supposed to be there. Looking at the line it's complaining about in /boot/grub/grub.cfg.new doesn't tell me anything. How do i find out what it's unhappy about?