[SOLVED]Incorrect character codification in openbox dialogs
I'm triyng standalone openbox, and have noticed dialogs do not show the correct character codification, showing, for example, weird characters instead of accent vowels. What should I check to solve this? Normal windows (firefox, pcmanfm... ) do show them correctly, but not their dialogs.
Last edited by Daerun (2012-02-08 13:33:16)
That was the first thing I looked up.
locale.gen has only two uncomented entries: ca_ES.UTF-8 UTF-8 and ca_ES ISO-8859-1 wich correspond to my locale; rc.conf is set to LOCALE="ca_ES.UTF-8", and keymap to KEYMAP="es" (just in case that's of any relevance).
Last edited by Daerun (2012-02-05 21:08:04)
Similar Messages
-
[SOLVED] Strange character issue...
I'm using Openbox, and sometimes (often) the text will mess up and start showing random characters in place of the characters that's supposed to be there. I kill X and start it up again, and it's fixed until it happens again. It usually happens after doing some package management and other system-related things, but a couple of times it's done it during a session where I didn't do any of those things. This only happens in X/Openbox.
I figured it was a locale problem, so I checked all of my locale settings multiple times and everything appears correct. Then I figured it was maybe a key mapping problem, so I checked that KEYMAP was set to us, and it is.
I have en_US.UTF-8 UTF-8 and ja_JP.UTF-8 UTF-8 enabled, and en_US.UTF-8 is my default...I use Terminus as my font for everything. Any help with this is appreciated since I've spent two days trying to figure it out already and I just want to move on.
Here's an example...Sometimes there'll be huge characters and Japanese kanji thrown in there.
Last edited by rzrscm (2012-11-18 12:03:25)fritz wrote:
rzrscm wrote:Is it possible that this is being caused because I'm not using a display manager?
No. Xorg 1.13.04 does not work well with nvidia drivers.
This problem is dealt with in several topics:
https://bbs.archlinux.org/viewtopic.php?id=153138
https://bbs.archlinux.org/viewtopic.php?id=152899
https://bbs.archlinux.org/viewtopic.php?id=152837
Only "solution" so far: Downgrading xorg.
1.13.03 might be enough according to user corion's post).
Alright...Thanks for the info. I guess I was completely wrong in how I was thinking of the problem. So, am I able to just downgrade the xorg-server package to solve the issue, or am I going to have to downgrade other related packages such as xorg-server-common? -
Will Reinstallation and Data migration solve the Character Set Problem????
Hi to all,
We are having a problem with Arabic Data in the Oracle 9i Database, when we are adding any data using SQL * Plus and a asp.net web based application, the data is converting to ????? (Question Marks), when the database was installed on the Server with Windows 2003 OS, it was not having Arabic Support, after installation of oracle 9i it was realised, later we installed the language packs for Arabic on the Server.
So this was the reason the arabic support is not there in the database, we changed the NLS_LANG parameter of the Server's Registry entry, but this did'nt make any effect on the database, the only change we observed was that now we were able to type arabic data in the SQL * Plus on the Server machine. But after saving the record when we retrieve the data is coming as ?????? , so we tried to insert the data using a client which is having the Arabic Support and we inserted a row using the SQL * Plus with arabic data in the insert statement, after inserting when we retrieve the data. The data was visible without any problem.
So What is the problem is the database storing the arabic data correctly or not ???, we think there is problem with the Server's Oracle Configuartion, is there any other way we can get the server working with arabic data or a Reinstall of the Oracle Data will solve the Problem.
Or we can do something on the server machine so that we dont need the Resinstallation.
If we have to Reinstall the Server what are the best practices and steps we should follow so that we have a seamless migration between the old and the new oracle database.
Thanks and RegardsWith NLS_LANG on the client and NLS_CHARACTERSET in the database equal AR8MSWIN1256, you should be able to support Arabic data without problems. If you have problems, it usually means a configuration issue on the client, for example, NLS_LANG not set for the right Oracle Home, or lack of Arabic support in a particular tool.
You need to add Arabic message files to the database Oracle Home (i.e. Arabic should be selected in the Product Languages dialog box in the Installer) only if you care about the language of error messages returned from the database to clients. If you do not display these ORA-xxxx error messages to end users, it should be OK to leave them in English. Also, if you want Arabic error messages, month names, and weekday names, you should change AMERICAN to ARABIC in NLS_LANG.
-- Sergiusz -
How to Solve Morgan Multimedia Codec trial offer dialog box in PSE 6.0?
In the Organizer view of PhotoShop Elements 6.0, all my video links are marked with a broken video film clip image. When I click on the link, the video does not appear; instead, i see a popup dialog box that says "The trial period has expired! You can buy the codec online at: www.morgan-multimedia.com".
Why do i have to buy a codec? When i first bought PSE 6.0, videos used to work fine. I'm an infrequent user of the software, and have ignored this issue so far. Is Morgan Multimedia working with Adobe? I'd like to solve this -- thanks for your help.
BobWell, there might be more answers in the Photoshop Elements forum, but first some background on CODEC's. This ARTICLE will give you the basics.
Adobe, and a lot of other software companies, offer trials of various 3rd party products, which will work within them. Pinnacle is probably the best (or worst, depending on one's perspective), in that most of the Transitions and Effects are trial only. To use them without a watermark, one must buy the packs. Adobe does similar with PrPro, where one gets 3 trial uses of the Minnetonka SurCode plug-in to Export DD 5.1 SS Audio. After that, one can buy the plug-in from within PrPro, and get a US$50 discount over the SurCode Web site.
On many Adobe programs' installation discs, there are 3rd part trials. Some can be bought with an "Adobe user discount," and some are for the same prices as on the mfgr's Web site. It is common practice.
Good luck,
Hunt
PS - here is the link to the PSElements Forum. -
Fixing or reporting incorrect character glyphs?
On my Macbook Pro (up to date according to Software Update), I've found a number of UTF-8 character codes that display as the wrong glyph with some software (but usually other software gets it right). I've tried to find a way of either submitting a bug report to get it fixed, or maybe fixing it myself, but I've been unable to find any information about how to do this. Is it possible? If so, how?
An example from this morning: I found that the char U+FA1B (福, which displays incorrectly in this window) is displayed as the glyph for U+798F (福, which is probably correct if you have Unihan charsets installed). These are a traditional/simplified pair ("blessing, happiness") that differ in the left "radical" portion. What's especially weird is that for some apps, if I copy the FA1B char, it gets translated to 798F. Others, such as my Terminal to the right of this one, display the 798F glyph for both, though if I cut out a line of text and feed it to "od -x", I do see the correct hex bytes for both chars (3E5BE7, A68FEF).
One bit of bizarreness: If I look these chars up in Character Palette, the "Character Info" panel displays them both correctly. But if I open the Font Variation panel, both characters includes a few fonts that show the wrong glyph. Thus, for FA1B, there are 13 fonts shown, 12 correct, and one (Arial) showing the 798F glyph. For 798F, there are 27 fonts shown, of which 3 (PCMyungjo, AppleGothic, Arial) are the FA1B glyph, and the other 24 are correct.
Does anyone know what might be going on here? Is this the wrong forum to find an answer? If so, is there some place I can ask about it where people will be interested in helping get it fixed? If so, how could I have found it without bothering this group?
(Out of curiosity, I pulled out my G1 phone, fired up its browser, and had it show a doc that contains these two characters. It displayed them fine, as it has with earlier example like this. ;-)jc1742 wrote:
One bit of bizarreness: If I look these chars up in Character Palette, the "Character Info" panel displays them both correctly. But if I open the Font Variation panel, both characters includes a few fonts that show the wrong glyph. Thus, for FA1B, there are 13 fonts shown, 12 correct, and one (Arial) showing the 798F glyph. For 798F, there are 27 fonts shown, of which 3 (PCMyungjo, AppleGothic, Arial) are the FA1B glyph, and the other 24 are correct.
The glyph which is displayed at any particular time depends on the font which is being used by the app or OS, which could depend on a variety of factors. The "Arial" that you mention is Arial Unicode, which is ancient and not something anyone should use for Han unless there were no alternative. You could complain to Microsoft, but I don't think anybody is ever going to fix any bugs that font has. PCMyungjo and Apple Gothic are older Apple fonts intended only for Korean, not Chinese or Japanese. You could send feedback to Apple about them, but as the use of Han characters in Korean is now extremely limited I doubt fixing the font would have much priority, assuming that they are in fact wrong for that language.
I guess if you removed those fonts there is no chance any app could use the wrong glyphs. You might want to at least make sure that Korean is listed below Chinese and Japanese in system prefs/language & text/language. That should ensure the right glyphs appear in normal Han contexts (assuming Arial Unicode is never used, which hopefully is the case). -
I have through eprint to print out Chinese character on the Tiltle and content, but the print out was dispalyed some of unexpected symbols. And after I logon to eprint website, the Chinese character title can be display correctly, Could you help me to solve it? Thanks
Printer MODEL:MFP1536-DNFHi,
Most likely due to fonts. Your machine may have those fonts therefore you can see properly BUT the ePrint may not. My suggestion: change to another font and try again.
Regards,
BH
**Click the KUDOS thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem. -
Incorrect Character Tag in Quick Access Bar
FrameMaker 7.2 (unstructured)
Our writers in China have a document that uses the Body Paragraph Tag (this tag uses Times New Roman as its Character Tag). If the writers add new text within this paragraph, the character tag box in the Quick Access Bar displays Chinese characters rather than Times New Roman.
Any ideas ?Actually, we solved the issue.
By default, the Chinese writers "Text Services and Input Languages" setting in Microsoft XP was set to CH (Chinese). Therefore, any time they went to add text to a FrameMaker document created in the U.S., Chinese characters would appear (and a default Chinese character tag would be used).
By adding the EN (English) service to the Text Services and Input Languages setting in Microsoft XP, and then selecting EN as language of choice when editing U.S. created FrameMaker documents, the problem is solved. -
[SOLVED]Shutting down in Arch (Openbox + Fluxbox)
The other OPs thread got solved....but my issue didn't. So here it is again.
I have openbox and fluxbox installed on Arch:
1) Openbox stops responding on clicking either Reboot or Shutdown from the menu. Only option kill X.
2) Fluxbox doesnt have a care in the world...it keeps working...menus and all
Debian has Fluxbox installed...and shutdown and reboot work as they should.
My sudoers file has this
inxsible ALL=NOPASSWD: /sbin/shutdown
My menu file in openbox has
sudo /sbin/shutdown -r now
for the Reboot and
sudo /sbin/shutdown -h now
for the Shutdown.
I think this is specific to Arch because the same thing works well in my Debian install.
I do have acpid installed...so all is not lost. Its just that it pisses me off that this doesn't work for me when it does for everyone else.
Last edited by Inxsible (2009-02-06 22:59:39)Ok I feel like a f*ing idiot now !!!
I checked my sudoers again and the problem was this. After I enabled my user name to have NOPASSWD to /sbin/shutdown, I had another line in sudoers down below which was
%wheel ALL=(ALL) ALL
That was negating the statement above. But I am still surprised how it worked 3 times before deciding not to.
Anyway, I have now removed the username line and simply uncommented this one
%wheel ALL=(ALL) NOPASSWD: ALL
Now I dont need to worry about entering a password anywhere
Last edited by Inxsible (2009-02-06 23:00:11) -
[SOLVED]Incorrect UUIDs
I promise this isn't just another duplicate post like so many others from people who just start blindly posting when they have a problem. It's really not. I've searched thoroughly, and even found something of a solution to my original problem here on this very forum. Just give me a chance.
Anyway, I'll get to the point. After taking a break from Arch to experiment with Slackware, I decided that--while I did enjoy Slack--I missed Arch too much and wanted to return. Since it's been awhile I see some things have changed. The installation process seems mostly the same as when I had stopped, but it doesn't want to go as smoothly as it used to for me. I, like many others, have recently come across this error after what I thought was a successful install:
Booting 'Arch GNU/Linux, with Linux core repo kernel'
error: no such device: ad4103fa-d940-47ca-8506-301d8071d467.
Loading Linux core repo kernel ...
error: file '/boot/vmlinuz-linux' not found.
Loading initial ramdisk ...
error: you need to load the kernel first.
Press any key to continue...
Now wait! Don't start getting frustrated and tell me to use the Search function or otherwise label me as a leecher, noob, or idiot. I promise you, I did use the Search function. Quite a bit. I arrived at this thread: https://bbs.archlinux.org/viewtopic.php?id=157195, which helped me to achieve a semi-fix. I did as the link suggested, and when I rebooted, GRUB loads, and I saw three entries for Arch instead of the original two that are there by default with GRUB. Both of these had the random non-existent UUID posted above. The third entry, on the bottom, was simply labeled: Arch Linux. I checked my grub.cfg; indeed the UUID matches the one in my /etc/fstab. This one get's me into my installed system successfully, however, it does so without displaying any of those pretty Arch startup messages whatsoever. Just blank, then I'm at a login prompt. Weird. Another thing I noticed is that there's no Windows entry, however, there is an entry for it when I look at the actual grub.cfg. One other odd thing is that UUID in the above error is the exact same as the one mentioned in the solved thread I visited.
Now that I've given that background here's some info. Much like the link I posted above I have a dual-boot, installed Arch from USB. Partitioning scheme is as follows:
/dev/sda1 - Windows boot
/dev/sda2 - Windows
/dev/sda3 - Shared NTFS part visible in both windows and *nix
/dev/sda5 - logical /
/dev/sda6 - logical /boot
/etc/fstab:
# /etc/fstab: static file system information
# <file system> <dir> <type> <options> <dump> <pass>
# UUID=6b8bc0b7-0723-4227-8cd3-eb246fe71cfe
/dev/sda6 / ext4 rw,relatime,data=ordered 0 1
# UUID=2097ae5f-4235-436c-8fcf-c3451b0fe26a
/dev/sda5 /boot ext4 rw,relatime,stripe=4,data=ordered 0 2
grub.cfg
# DO NOT EDIT THIS FILE
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 6b8bc0b7-0723-4227-8cd3-eb246fe71cfe
else
search --no-floppy --fs-uuid --set=root 6b8bc0b7-0723-4227-8cd3-eb246fe71cfe
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_input console
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-6b8bc0b7-0723-4227-8cd3-eb246fe71cfe' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 2097ae5f-4235-436c-8fcf-c3451b0fe26a
else
search --no-floppy --fs-uuid --set=root 2097ae5f-4235-436c-8fcf-c3451b0fe26a
fi
echo 'Loading Linux core repo kernel ...'
linux /vmlinuz-linux root=UUID=6b8bc0b7-0723-4227-8cd3-eb246fe71cfe rw quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux.img
menuentry 'Arch Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-fallback-6b8bc0b7-0723-4227-8cd3-eb246fe71cfe' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 2097ae5f-4235-436c-8fcf-c3451b0fe26a
else
search --no-floppy --fs-uuid --set=root 2097ae5f-4235-436c-8fcf-c3451b0fe26a
fi
echo 'Loading Linux core repo kernel ...'
linux /vmlinuz-linux root=UUID=6b8bc0b7-0723-4227-8cd3-eb246fe71cfe rw quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux-fallback.img
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-6b8bc0b7-0723-4227-8cd3-eb246fe71cfe' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 2097ae5f-4235-436c-8fcf-c3451b0fe26a
else
search --no-floppy --fs-uuid --set=root 2097ae5f-4235-436c-8fcf-c3451b0fe26a
fi
echo 'Loading Linux core repo kernel ...'
linux /vmlinuz-linux root=UUID=6b8bc0b7-0723-4227-8cd3-eb246fe71cfe rw quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux-fallback.img
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-6b8bc0b7-0723-4227-8cd3-eb246fe71cfe' {
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-8832E79332E78512' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 8832E79332E78512
else
search --no-floppy --fs-uuid --set=root 8832E79332E78512
fi
chainloader +1
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
### BEGIN /etc/grub.d/60_memtest86+ ###
### END /etc/grub.d/60_memtest86+ ###
All the UUIDs seem to match the one in /etc/fstab. For some reason when I boot up it doesn't show any startup messages, as well, I get these errors:
When running grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
/run/lvm/lvmetad.socket: connect failed: No such file or directory
WARNING: Failed to connect to lvmetad: No such file or directory. Falling back to internal scanning.
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
No volume groups found
Found Windows 7 (loader) on /dev/sda1
error: out of memory.
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 175
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
[ 226.740489] SQUASHFS error: Can't find a SQUASHFS superblock on sda4
[ 226.744243] EXT4-fs (sda4): unable to read superblock
[ 226.747550] EXT4-fs (sda4): unable to read superblock
[ 226.750797] EXT4-fs (sda4): unable to read superblock
and when running os-prober:
/run/lvm/lvmetad.socket: connect failed: No such file or directory
WARNING: Failed to connect to lvmetad: No such file or directory. Falling back to internal scanning.
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
No volume groups found
/dev/sda1:Windows 7 (loader):Windows:chain
There error also displays EXT4-fs (sda4): unable to read superblock, three times but with different numbers in front of them. This obviously has a lot to do with why GRUB isn't detecting Windows.
I really don't understand why the command:
genfstab -p /mnt >> /mnt/etc/fstab
Seems to want to create this UUID: ad4103fa-d940-47ca-8506-301d8071d467
Because that's the UUID it puts in my /etc/fstab and that is the same exact one the other user was given in the link I provided. Is this some sort of bug? Generating fstab has always gone without a hitch before I left for Slackware. So, to summarize as to make the post less confusing:
Issues:
- genfstab /mnt >> /mnt/etc/fstab generates wrong UUIDs and I have to restart and implement the solution in the link provided.
- Aforementioned solution somewhat works, it boots me into my system but I see no startup messages(I like those startup messages), and there is obviously something wrong if this is happening anyway.
- GRUB refuses to detect Windows despite what is in grub.cfg, and os-prober and grub-mkconfig -o /boot/grub/grub.cfg spits out errors.
Thanks very much.
Last edited by xworld (2013-12-19 07:02:47)Thanks for the tip with the english output, didn't know that.
I hadn't searched that problem as my boot process works, lowering the severity-level of this particular error to 'interesting'.
In english the message says
LC_ALL=C sudo grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
No volume groups found
error: out of memory.
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 166
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
Now I had time to mess around with the grub files, here's what's going wrong:
Syntax error at line 166
Line 166 happens to be the last line in /boot/grub/grub.cfg.new.
If I remove the 40_memtest file from /etc/grub.d/, the resulting grub.cfg.new is shorter and the error message is just
Syntax error at line 142
Such last line errors normally hint to a missing semicolon or unclosed brackets, something like that.
That's what happens here too.
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-ba68a391-44a1-4849-aa24-1ed08facbd0f' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 ba68a391-44a1-4849-aa24-1ed08facbd0f
else
search --no-floppy --fs-uuid --set=root ba68a391-44a1-4849-aa24-1ed08facbd0f
fi
echo 'Loading Linux core repo kernel ...'
linux /boot/vmlinuz-linux root=UUID=ba68a391-44a1-4849-aa24-1ed08facbd0f rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux-fallback.img
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-ba68a391-44a1-4849-aa24-1ed08facbd0f' {
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
At the bottom, the submenu entry? This bracket never gets closed.
The reason for this lies in /etc/grub.d/10_linux line 274 ff:
echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' \$menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"
is_top_level=false
fi
if ! test -e "/etc/arch-release" ; then
linux_entry "${OS}" "${version}" advanced \
"${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}"
fi
if [ "x${GRUB_DISABLE_RECOVERY}" != "xtrue" ]; then
linux_entry "${OS}" "${version}" recovery \
"single ${GRUB_CMDLINE_LINUX}"
fi
list=`echo $list | tr ' ' '\n' | grep -vx $linux | tr '\n' ' '`
done
# If at least one kernel was found, then we need to
# add a closing '}' for the submenu command.
if ! test -e "/etc/arch-release" ; then
if [ x"$is_top_level" != xtrue ]; then
echo '}'
fi
fi
The first line in this excerpt opens the bracket, the two if clauses at the bottom should close it but they don't.
At leas the first clause returns false.
After just commenting out line 274, thus never opening the submenu entry, the error mesage is gone
LC_ALL=C sudo grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
No volume groups found
done
So, large text, small insight;
the problem isn't the submenu or the 10_Linux script itself but rather that
if ! test -e "/etc/arch-release" ;
isn't true.
That's because the file is there, it's empty (0B) but it should contain something or not be there at all. It being there but empty borks the whole thing
Removing it (= renaming it to "arch-release~") solves the issue kind of.
It changes the appearance of the grub menu quite heavily (only Arch and Advanced are there, the 2 core repo kernel entries not) but the boot process still works.
Last edited by Caldazar (2013-12-20 17:20:55) -
[SOLVED] Incorrect / Ugly Fonts in Epiphany Web Browser
Hello everyone. I've done a ton of a searching (here and google) on this subject to no avail. It seems fonts on Facebook / Tumblr as well as some other sites have very incorrectly rendered fonts.
I am currently using the freetype2-ubuntu patch and I have the ttf-win8 fonts installed as well. I also have the google fonts package installed.
Here are some screenshots of what I am seeing.
http://i.imgur.com/Ecem4HH.png
http://i.imgur.com/bJqL82J.png
Any input on this? Has anyone else experienced this?
-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --
Last edited by jmanes (2015-01-18 08:29:16)Hello everyone. I solved the issue myself.
It turns out that installing infinality from AUR was NOT a good idea. After doing a proper install using the pacman key and adding it to pacman.conf I now have beautiful fonts. Thanks for the responses! -
[SOLVED] Keyboard volume control in Openbox
Hi guys, I have been trying to get my keyboard keys control the volume in openbox. I have pnmixer installed, systray applet shows on tint2 and I also have xfce4-volumed installed from the AUR. Nothing seems to work. Any suggestions?
Last edited by okubax (2013-05-27 07:16:43)okubax wrote:
Did that, I thought it was one or the other. rc.xml way or xfce4-volumed ?
Thanks keyboard control works now.
Now, how to get a notification on volume change+-/mute?
You're welcome. Glad you worked it out. Don't forget to mark your post as solved. As to the other question I am unsure. I do not use this feature. If it is something that is handled by xfce4-volumed I would think maybe installing "xfce4-notifyd" or similar may work but I don't know (assuming you're talking about some kind of osd style thing where bubbles come up on the desktop and show you stuff). Other than that no clue on my end. -
[SOLVED] Automatic login to TTY1, openbox error
SOLUTION at the last post.
Hello,
I was trying to create the systemd autologin.service, to log into TTY1 right after boot.
I have been following the instructions on the wiki:
https://wiki.archlinux.org/index.php/Au … al_console
PROBLEM: after boot, the login happens a few times with an error, flashing, and then dissapears leaving with a basic underscore " _ ". I can still use TTY2.
If I go back to TT1, I see the following error multiple times, (maybe its a loop):
Last login: today, etc TTY1
Openbox-Message: Failed to open the display from the DISPLAY environment variable.
Which is weird because I don't have openbox set to autostart or anything, I think. (.xinitrc is basic as well; .dmrc has kde-plasma set.)
+Info:
$ systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
[email protected] loaded failed failed Getty on tty1
$ systemctl status [email protected]
[email protected] - Getty on tty1
Loaded: loaded (/etc/systemd/system/[email protected]; enabled)
Active: failed (Result: start-limit) since Fri 2013-02-08 01:02:10 CET; 8min ago
Docs: man:agetty(8)
man:systemd-getty-generator(8)
http://0pointer.de/blog/projects/serial-console.html
Process: 878 ExecStart=/sbin/agetty --noclear -a ubunchu %I 38400 linux (code=exited, status=0/SUCCESS)
Any hints on what could be it? What file should I check?
Thanks in advance! Cheers!
Last edited by ubunchu (2013-02-21 09:34:15)systemctl list-unit-files
UNIT FILE STATE
proc-sys-fs-binfmt_misc.automount static
dev-hugepages.mount static
dev-mqueue.mount static
proc-fs-nfsd.mount static
proc-sys-fs-binfmt_misc.mount static
sys-fs-fuse-connections.mount static
sys-kernel-config.mount static
sys-kernel-debug.mount static
tmp.mount static
var-lib-nfs-rpc_pipefs.mount static
cups.path enabled
systemd-ask-password-console.path static
systemd-ask-password-wall.path static
accounts-daemon.service disabled
adb.service disabled
atieventsd.service disabled
[email protected] enabled
[email protected] disabled
avahi-daemon.service disabled
avahi-dnsconfd.service disabled
blkmapd.service disabled
bluetooth.service disabled
brltty.service disabled
canberra-system-bootup.service disabled
canberra-system-shutdown-reboot.service disabled
canberra-system-shutdown.service disabled
colord.service static
console-getty.service disabled
console-shell.service disabled
cronie.service disabled
cups-browsed.service disabled
cups.service enabled
cupsd.service disabled
dbus-org.freedesktop.hostname1.service static
dbus-org.freedesktop.locale1.service static
dbus-org.freedesktop.login1.service static
dbus-org.freedesktop.NetworkManager.service enabled
dbus-org.freedesktop.timedate1.service static
dbus.service static
debug-shell.service disabled
dhcpcd.service disabled
[email protected] disabled
emergency.service static
fancontrol.service disabled
ftpd.service disabled
gdm.service disabled
[email protected] disabled
[email protected] static
gpm.service disabled
healthd.service disabled
ip6tables.service disabled
iptables.service disabled
irexec.service disabled
kdm.service disabled
krb5-kadmind.service disabled
krb5-kdc.service disabled
krb5-kpropd.service disabled
[email protected] static
lightdm.service disabled
lirc.service disabled
lircm.service disabled
lm_sensors.service disabled
lvm-on-crypt.service disabled
lvm.service disabled
lxdm.service disabled
mdadm.service disabled
mysqld.service disabled
net-auto-wired.service disabled
net-auto-wireless.service disabled
net-profiles.service disabled
netcfg.service disabled
[email protected] disabled
NetworkManager-wait-online.service disabled
NetworkManager.service enabled
nfsd.service disabled
nmbd.service disabled
nscd.service disabled
polkit.service static
[email protected] disabled
quotaon.service static
rescue.service static
rpc-gssd.service disabled
rpc-idmapd.service disabled
rpc-mountd.service disabled
rpc-statd.service disabled
rpc-svcgssd.service disabled
rpcbind.service disabled
rsyncd.service disabled
[email protected] static
rtkit-daemon.service disabled
[email protected] static
sensord.service disabled
[email protected] static
smbd.service disabled
[email protected] static
snmpd.service disabled
speech-dispatcherd.service disabled
sshd.service enabled
[email protected] static
sshdgenkeys.service static
svnserve.service disabled
[email protected] static
syslog-ng.service disabled
systemd-ask-password-console.service static
systemd-ask-password-wall.service static
systemd-binfmt.service static
systemd-fsck-root.service static
[email protected] static
systemd-halt.service static
systemd-hibernate.service static
systemd-hostnamed.service static
systemd-hybrid-sleep.service static
systemd-initctl.service static
systemd-journal-flush.service static
systemd-journal-gatewayd.service static
systemd-journald.service static
systemd-kexec.service static
systemd-localed.service static
systemd-logind.service static
systemd-modules-load.service static
systemd-poweroff.service static
systemd-quotacheck.service static
systemd-random-seed-load.service static
systemd-random-seed-save.service static
systemd-readahead-collect.service disabled
systemd-readahead-done.service static
systemd-readahead-drop.service disabled
systemd-readahead-replay.service disabled
systemd-reboot.service static
systemd-remount-fs.service static
systemd-shutdownd.service static
systemd-suspend.service static
systemd-sysctl.service static
systemd-timedated.service static
systemd-tmpfiles-clean.service static
systemd-tmpfiles-setup.service static
systemd-udev-settle.service static
systemd-udev-trigger.service static
systemd-udevd.service static
systemd-update-utmp-runlevel.service static
systemd-update-utmp-shutdown.service static
systemd-user-sessions.service static
systemd-vconsole-setup.service static
transmission.service disabled
udisks.service disabled
udisks2.service static
upower.service disabled
usbmuxd.service static
[email protected] static
uuidd.service static
vncserver.service disabled
winbindd.service disabled
[email protected] disabled
[email protected] disabled
wpa_supplicant.service disabled
[email protected] disabled
x11vnc.service static
xinetd.service disabled
avahi-daemon.socket disabled
cups.socket enabled
dbus.socket static
git-daemon.socket disabled
krb5-kpropd.socket disabled
rsyncd.socket disabled
saned.socket disabled
smbd.socket disabled
sshd.socket enabled
swat.socket disabled
syslog.socket static
systemd-initctl.socket static
systemd-journal-gatewayd.socket disabled
systemd-journald.socket static
systemd-shutdownd.socket static
systemd-udevd-control.socket static
systemd-udevd-kernel.socket static
uuidd.socket disabled
basic.target static
bluetooth.target static
cryptsetup.target static
ctrl-alt-del.target disabled
default.target enabled
emergency.target static
final.target static
getty.target static
graphical.target disabled
halt.target disabled
hibernate.target static
hybrid-sleep.target static
kexec.target disabled
local-fs-pre.target static
local-fs.target static
mail-transfer-agent.target static
multi-user.target enabled
network.target static
nss-lookup.target static
nss-user-lookup.target static
poweroff.target disabled
printer.target static
reboot.target disabled
remote-fs-pre.target static
remote-fs.target enabled
rescue.target disabled
rpcbind.target static
runlevel0.target disabled
runlevel1.target disabled
runlevel2.target disabled
runlevel3.target disabled
runlevel4.target disabled
runlevel5.target disabled
runlevel6.target disabled
shutdown.target static
sigpwr.target static
sleep.target static
smartcard.target static
sockets.target static
sound.target static
suspend.target static
swap.target static
sysinit.target static
syslog.target static
system-update.target static
time-sync.target static
umount.target static
systemd-readahead-done.timer static
systemd-tmpfiles-clean.timer static
225 unit files listed.
For some reason I can't disable "autologin@tty1".
Yes, this is a vanilla arch (customised by myself).
This is what I have done:
cp /usr/lib/systemd/system/[email protected] /etc/systemd/system/[email protected]
-Edited the file: /etc/systemd/system/[email protected]
the line: ExecStart=-/sbin/agetty --noclear %I 38400 linux
to be like this: ExecStart=-/sbin/agetty --noclear -a ubunchu %I 38400
sudo systemctl daemon-reload
sudo systemctl disable getty@tty1
sudo systemctl enable autologin@tty1
sudo systemctl start autologin@tty1
sudo systemctl enable multi-user.target
-now tried disabling:
sudo systemctl disable getty@tty1 (again)
sudo systemctl disable autologin@tty
sudo systemctl disable autologin@tty1
sudo systemctl disable [email protected]
sudo systemctl disable [email protected]
sudo systemctl disable [email protected]
-no output, looks like it does not disable it -
[SOLVED] Incorrect time displayed in my system
Hey Archers,
I have trouble correct time being displayed in my system.
My BIOS time is:
May 18 2012 08:39:21 PM IST
Date command displays
Sat May 19 02:09:59 IST 2012
Clearly the time displayed by date command is localtime+05:30 (Asia/Kolkata), when I expect it to be just localtime.
How do I correct this?
I dont dual boot and have just Arch installed on my machine.
And my /etc/rc.conf has this:
HARDWARECLOCK="UTC"
TIMEZONE="Asia/Kolkata"
Please correct if my understanding is wrong, but is this how it works?
When I say HARDWARECLOCK=UTC and TIMEZONE=''Asia/Kolkata",
It assumes, hardwareclock, time displayed by BIOS, is infact UTC, and, since the user is interested in timezone, +0530, it adds 0530 to hardware clock.
Thanks,
Nachiket.
Last edited by Nachiket (2012-05-19 07:22:47)Hey Tectu,
The wiki article on Time was indeed splendid. It had all the information I needed. Thank you.
Trilby,
You were right, my hardware clock was on local time.
So this is what I did to set it correct.
1. Set the HARDWARECLOCK to "localtime" in /etc/rc.conf
HARDWARECLOCK="localtime"
TIMEZONE="Asia/Kolkata"
2. Reboot the system
3. Set the systemclock to UTC by doing a -0530 (minus 05 hours 30 minutes)
# date `date -d "-05 hours -30 mins" +%m%d%H%M%Y`
4. Copy the system clock value to hardware clock
# hwclock --systohc
5. Edit the /etc/rc.conf to set HARDWARECLOCK back to UTC
HARDWARECLOCK="UTC"
TIMEZONE="Asia/Kolkata"
6. Reboot the system.
And yes, now my system clock displays correct time
Just setting HARDWARECLOCK to "localtime" also worked. But since I the beginners guide recomments "UTC" I did all this.
Marking the thread as SOLVED.
Regards,
Nachiket.
Last edited by Nachiket (2012-05-19 07:23:33) -
Android Firefox display incorrect character.
Is Firefox not support correct UTF8?
I try to play with it already.
I found: Settings->Display->Character Encoding = Show menu
Then I go to Character Encoding (appear after finish above setting)
It says Unicode UTF-8 but I think it's not
Because it show general square character in all page of Thai language website (with UTF8 work on PC)
including 'google' result.
I also try beta because I found someone says beta is work with my language. But it seems it's already changed now because it's all square when I try it.
Is some range of character in UTF8 is missing? or am I must setting something else?hello Ryuu, which phone model do you have? i think that may be a general issue on the level of the operating system when a thai font-set isn't included on your device.
also see [https://bugzilla.mozilla.org/show_bug.cgi?id=896809 bug #896809]. -
Directive #Import : Incorrect character in the tooltip?
Hi,
I inserted the directive #Import, and
I had tooltip before compiled. The message have unusual path to file. More precisely, instead the character"\" the message have the character "/" (see image). Question: its correct or Microsoft have petty
bug from Visual Studio?The header file with a extension .tlh is created by "Import". More information:
http://msdn.microsoft.com/en-us/library/8etzzkb6.aspx
Slash / and \ both work well in windows.
http://en.wikipedia.org/wiki/Path_(computing)
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Maybe you are looking for
-
Why does a secure site eg Paypal or any Bank not show the padlock on entry?
I have noticed that when I enter a site such as PayPal or my Bank or for that matter any other secure area no padlock is seen anywhere in the browser such as in the previous version of Mozilla and also Internet Explorer. Without this emblem of securi
-
How to identify a deletion transport
Hi All, We wanted to upload adobe form layout and interfaces from one system to another, say from A to B. Now in system B, all those adobe forms were present with the same name. So we deleted them. It asked for a transport and we named it "deletion t
-
Internal Error trying to open a remote panel in netscape 7.1 in linux
/usr/local/netscape/netscape Internal Error : "fontmgr.cpp", line 1023 LabVIEW version 7.0 For assistance in resolving this problem, please exit and relaunch LabVIEW, or contact National Instruments. I got this error when I was trying to open a remot
-
Help transfering my music from my Iphone 4s to my I tunes.
Thanks for letting me know because i've tried everything to transfer my music from my I phone4s to my itunes. Can you give me the names of some good 3rd party apps that will allow me to do this?
-
Iphone 5 update failed via iTunes. Needs to restore but keeps getting errors.
Hi, Just tried to update my iphone 5 to iOS 6.1 through iTunes in WIndows 7. First time actually, usually I have been updating directly in the phone without any problems. When iTunes tried to update my phone it got an error, seems it didn't even got