[Solved]Greek on archlinux

Hello. i generated el.utf-8 encoding through locale.gen and set it as locale in rc.conf. everything seemed normal except that i cant type accented letters like "ή" or "ό" plus filenames typed in greek are shown as "????". what can i do to fix it?
Thank you very much
Last edited by Zapman (2012-04-05 10:22:58)

1)Edit /etc/locale.gen and uncomment those lines:
el_GR.UTF-8 UTF-8
el_GR ISO-8859-7
en_US.UTF-8 UTF-8
en_US ISO-8859-1
2)Run locale-gen.
3)Edit /etc/rc.conf:
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Athens"
KEYMAP="us"
CONSOLEFONT="ter-v16b" #it's Terminus font for console, just install terminus-font from community
CONSOLEMAP=
LOCALE="en_US.UTF-8"
DAEMON_LOCALE="no"
USECOLOR="yes"
On terminals under X, use Monospace or Dejavu Sans, or any other UTF8 font, or any font with iso8859-7 encoding
4) For keyboard layout toggle, i use
setxkbmap us,gr -option grp:alt_caps_toggle,grp_led:scroll
in my ~/.xinitrc file. Install xorg-setxkbmap from extra. That way, i use Alt+CapsLock to switch layouts.
PS. I'm Greek also and with these settings, i have not trouble reading or writing Greek with any application or terminal.
Last edited by Thanoulis (2012-04-04 13:09:34)

Similar Messages

  • [Solved] Greek accented characters and Qt Applications

    Hello.
    This is my first day with Arch linux.
    My problem has to do with greek accented characters like ά, ή, ό etc.
    I can type these characters on my browsers, rox file manager and other applications but not on Qt based applications like Skype and TeXmaker.
    At first when I tried to type ά on skype I got nothing.
    Later I installed ibus-qt and now I get á instead of ά, é instead of έ, etc.
    Thanks in advance for any help.
    PS: I include the results of locale -a and locale commands in case it helps:
    # locale -a
    C
    POSIX
    el_GR
    el_GR.iso88597
    el_GR.utf8
    en_US
    en_US.iso88591
    en_US.utf8
    greek
    # locale
    LANG=C
    LC_CTYPE="C"
    LC_NUMERIC="C"
    LC_TIME="C"
    LC_COLLATE="C"
    LC_MONETARY="C"
    LC_MESSAGES="C"
    LC_PAPER="C"
    LC_NAME="C"
    LC_ADDRESS="C"
    LC_TELEPHONE="C"
    LC_MEASUREMENT="C"
    LC_IDENTIFICATION="C"
    LC_ALL=
    Last edited by Paris (2013-07-22 00:41:19)

    I just created a /etc/rc.conf file and added:
    HARDWARECLOCK="UTC"
    TIMEZONE="Europe/Athens"
    KEYMAP="us"
    CONSOLEFONT="ter-v16b" #it's Terminus font for console, just install terminus-font from community
    CONSOLEMAP=
    LOCALE="en_US.UTF-8"
    DAEMON_LOCALE="no"
    USECOLOR="yes"
    This fixed my problem.

  • [SOLVED] New to archlinux

    Hello,
    Today i installed archlinux for the first time, i always used slackware as my linux distro and i heard allot of good things about archlinux so i decided to switch. I have installed archlinux with the next partition scheme
    sda2    Boot       32MB    ext2
    sda3    Swap       3GB     linux swap
    sda5    Home   110GB     ext3
    sda6    Root       15GB    ext3
    This i what i thought was the best after searching the internet. But i dont get it why Root is only 15GB while everything gets installed on it and home is only for personal files and stuf and its much bigger ?
    So i installed archlinux on that scheme the installation went ok. Then i rebooted and logged in as root and then downloaded kde using: pacman -Sy kde after the installation of kde i did startx but nothing happend so i searched the internet and i found that i had to install xorg so i did pacman -S xorg and i installed the whole group. Now when i typ startx i get 3 terminals with xterm as title and i see a clock i cant move the mouse or type anything i have to reset the computer with the reset button on it.
    What did i do wrong and how can i fix it and should i do thing differently ? i am willing to reinstall archlinux.
    Thanks in advance,
    Slayeriq
    Last edited by slayeriq (2009-05-28 09:56:08)

    karol wrote:
    slayeriq wrote:i specified /Root/home as the home folder for the user
    And what's wrong w/ good ol' /home<username> like f.e. /home/slayeriq?
    Could you please post the output of those commands (as root):
    cd /
    ls
    fdisk -l
    BTW: you didn't answer the second question. Please, familiarize yourself w/ what rc.conf does before posting.
    Here is the output u asked for:
    bash-3.2# cd /
    bash-3.2# ls
    bin dev home lost+found mnt proc sbin sys usr
    boot etc lib media opt root srv tmp var
    bash-3.2# fdisk -l
    Disk /dev/sda: 250.0 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x814e814e
    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 14359 115338636 7 HPFS/NTFS
    /dev/sda2 14360 14364 40162+ 83 Linux
    /dev/sda3 30009 30401 3156772+ 82 Linux swap / Solaris
    /dev/sda4 14365 30008 125660430 5 Extended
    /dev/sda5 14365 28689 115065531 83 Linux
    /dev/sda6 28690 30008 10594836 83 Linux
    Partition table entries are not in disk order
    bash-3.2#
    Im trying to get as familiarized with archlinux as i can and at the same time im trying not to break the fresh installation.
    Last edited by slayeriq (2009-05-25 23:32:20)

  • [Solved]Darkmod on archlinux problem launching

    Hello gentelmen, i have problems making the Darkmod run on Arch system.
    Darkmod is a total converison of the Doom3 game engine. Is in the AUR repository.
    The fact is that makepackage doesn't build Darkmod because the package is out of date (i think), so I installed Doom3 and Darkmod with the bash script of id software.
    Doom3 runs flawlessly, but when i run Darkmod:
    [dragora@irya darkmod]$ ./tdmlauncher.linux
    Path to tdmlauncher is /home/dragora/.doom3/darkmod/tdmlauncher.linux
    Darkmod directory is /home/dragora/.doom3/darkmod/
    Darkmod directory after normalisation is /home/dragora/.doom3/darkmod
    Trying default value for engine executable: /home/dragora/.doom3/doom.x86
    Trying default Linux location for engine executable /usr/local/games/doom3/doom.x86
    Found engine executable in /usr/local/games/doom3/doom.x86
    Engine path after normalisation is /usr/local/games/doom3/doom.x86
    Could not find 'currentfm.txt' file in /home/dragora/.doom3/darkmod/currentfm.txt
    Current FM is:
    Searching the /proc/ folder for PID files
    Using the following argument vector:
    #0: /usr/local/games/doom3/doom.x86
    #1: +set
    #2: fs_game
    #3: darkmod
    Trying to launch /usr/local/games/doom3/doom.x86 /usr/local/games/doom3/doom.x86 +set fs_game darkmod
    [dragora@irya darkmod]$ DOOM 1.3.1.1304 linux-x86 Jan 16 2007 21:58:02
    found interface lo - loopback
    found interface wlan0 - 192.168.1.35/255.255.255.0
    ------ Initializing File System ------
    Loaded pk4 /usr/local/games/doom3/base/game01.pk4 with checksum 0x51c6981f
    Loaded pk4 /usr/local/games/doom3/base/game02.pk4 with checksum 0xf3ec6f7
    Loaded pk4 /usr/local/games/doom3/base/game03.pk4 with checksum 0x5d4230ea
    Loaded pk4 /usr/local/games/doom3/base/pak000.pk4 with checksum 0x28d208f1
    Loaded pk4 /usr/local/games/doom3/base/pak001.pk4 with checksum 0x40244be0
    Loaded pk4 /usr/local/games/doom3/base/pak002.pk4 with checksum 0xc51ecdcd
    Loaded pk4 /usr/local/games/doom3/base/pak003.pk4 with checksum 0xcd79d028
    Loaded pk4 /usr/local/games/doom3/base/pak004.pk4 with checksum 0x765e4f8b
    Loaded pk4 /usr/local/games/doom3/base/pak005.pk4 with checksum 0x8ffc3621
    Loaded pk4 /usr/local/games/doom3/base/pak006.pk4 with checksum 0x95b65ab
    Loaded pk4 /usr/local/games/doom3/base/pak007.pk4 with checksum 0x666bdb3c
    Loaded pk4 /usr/local/games/doom3/base/pak008.pk4 with checksum 0x23ae5993
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_ai_animals01.pk4 with checksum 0xacda2bb
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_ai_base01.pk4 with checksum 0xf42f339d
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_ai_humanoid_builders01.pk4 with checksum 0xcb2854bf
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_ai_humanoid_females01.pk4 with checksum 0x1b2a6a31
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_ai_humanoid_guards01.pk4 with checksum 0x33ca6394
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_ai_humanoid_heads01.pk4 with checksum 0x5dd21227
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_ai_humanoid_mages01.pk4 with checksum 0x4fb92e26
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_ai_humanoid_nobles01.pk4 with checksum 0xe4ff336c
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_ai_humanoid_pagans01.pk4 with checksum 0xa1349247
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_ai_humanoid_townsfolk01.pk4 with checksum 0x8ddbd904
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_ai_humanoid_undead01.pk4 with checksum 0x2477a779
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_ai_monsters_spiders01.pk4 with checksum 0x792b0ca5
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_ai_steambots01.pk4 with checksum 0x731159a8
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_base01.pk4 with checksum 0xfb74186c
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_defs01.pk4 with checksum 0x31417173
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_env01.pk4 with checksum 0x70046471
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_fonts01.pk4 with checksum 0x4d337925
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_game01.pk4 with checksum 0xab7fd2d2
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_game02.pk4 with checksum 0x4a1b32fc
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_game03.pk4 with checksum 0x1c4edae4
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_gui01.pk4 with checksum 0x63a09f0e
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_gui_credits01.pk4 with checksum 0x5b1d7253
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_models01.pk4 with checksum 0x16c8a70a
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_models02.pk4 with checksum 0x3d12c87e
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_models_decls01.pk4 with checksum 0x92c43427
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_player01.pk4 with checksum 0xe4d3e6fd
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_prefabs01.pk4 with checksum 0x838252d0
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_sound_ambient01.pk4 with checksum 0x40500cb
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_sound_ambient02.pk4 with checksum 0x666b0cac
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_sound_ambient03.pk4 with checksum 0xfa3d0336
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_sound_ambient_decls01.pk4 with checksum 0x1f53dda2
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_sound_sfx01.pk4 with checksum 0x8d3d8fa7
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_sound_sfx02.pk4 with checksum 0x6a7ee5ef
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_sound_vocals01.pk4 with checksum 0x749a24b6
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_sound_vocals02.pk4 with checksum 0x3ce30b71
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_sound_vocals03.pk4 with checksum 0xfbc08dea
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_sound_vocals04.pk4 with checksum 0x6bae7076
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_sound_vocals05.pk4 with checksum 0x8bc0bbe1
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_sound_vocals06.pk4 with checksum 0xe1f2a386
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_sound_vocals07.pk4 with checksum 0xe7d94add
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_sound_vocals_decls01.pk4 with checksum 0x1a0de03d
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_textures_base01.pk4 with checksum 0x87f7f590
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_textures_carpet01.pk4 with checksum 0xcc1e2e32
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_textures_decals01.pk4 with checksum 0x7e7ce54e
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_textures_door01.pk4 with checksum 0xda543894
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_textures_fabric01.pk4 with checksum 0x7c12c7ad
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_textures_glass01.pk4 with checksum 0x5fa01a26
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_textures_metal01.pk4 with checksum 0x173ce02a
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_textures_nature01.pk4 with checksum 0x444352b6
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_textures_paint_paper01.pk4 with checksum 0xf4cab8d7
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_textures_plaster01.pk4 with checksum 0xf1b2549c
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_textures_roof01.pk4 with checksum 0x2efab03d
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_textures_sfx01.pk4 with checksum 0xff5da4d5
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_textures_stone_brick01.pk4 with checksum 0xe942a997
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_textures_stone_cobblestones01.pk4 with checksum 0xb215367c
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_textures_stone_flat01.pk4 with checksum 0xc063445
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_textures_stone_natural01.pk4 with checksum 0x6cd8c52a
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_textures_stone_sculpted01.pk4 with checksum 0xf225aa20
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_textures_window01.pk4 with checksum 0xdb10db90
    Loaded pk4 /home/dragora/.doom3/darkmod/tdm_textures_wood01.pk4 with checksum 0xe96a8d66
    Current search path:
    /home/dragora/.doom3/darkmod
    /home/dragora/.doom3/darkmod/tdm_textures_wood01.pk4 (293 files)
    /home/dragora/.doom3/darkmod/tdm_textures_window01.pk4 (226 files)
    /home/dragora/.doom3/darkmod/tdm_textures_stone_sculpted01.pk4 (304 files)
    /home/dragora/.doom3/darkmod/tdm_textures_stone_natural01.pk4 (99 files)
    /home/dragora/.doom3/darkmod/tdm_textures_stone_flat01.pk4 (256 files)
    /home/dragora/.doom3/darkmod/tdm_textures_stone_cobblestones01.pk4 (185 files)
    /home/dragora/.doom3/darkmod/tdm_textures_stone_brick01.pk4 (350 files)
    /home/dragora/.doom3/darkmod/tdm_textures_sfx01.pk4 (32 files)
    /home/dragora/.doom3/darkmod/tdm_textures_roof01.pk4 (65 files)
    /home/dragora/.doom3/darkmod/tdm_textures_plaster01.pk4 (96 files)
    /home/dragora/.doom3/darkmod/tdm_textures_paint_paper01.pk4 (22 files)
    /home/dragora/.doom3/darkmod/tdm_textures_nature01.pk4 (193 files)
    /home/dragora/.doom3/darkmod/tdm_textures_metal01.pk4 (329 files)
    /home/dragora/.doom3/darkmod/tdm_textures_glass01.pk4 (30 files)
    /home/dragora/.doom3/darkmod/tdm_textures_fabric01.pk4 (38 files)
    /home/dragora/.doom3/darkmod/tdm_textures_door01.pk4 (155 files)
    /home/dragora/.doom3/darkmod/tdm_textures_decals01.pk4 (226 files)
    /home/dragora/.doom3/darkmod/tdm_textures_carpet01.pk4 (71 files)
    /home/dragora/.doom3/darkmod/tdm_textures_base01.pk4 (159 files)
    /home/dragora/.doom3/darkmod/tdm_sound_vocals_decls01.pk4 (23 files)
    /home/dragora/.doom3/darkmod/tdm_sound_vocals07.pk4 (1083 files)
    /home/dragora/.doom3/darkmod/tdm_sound_vocals06.pk4 (661 files)
    /home/dragora/.doom3/darkmod/tdm_sound_vocals05.pk4 (80 files)
    /home/dragora/.doom3/darkmod/tdm_sound_vocals04.pk4 (1258 files)
    /home/dragora/.doom3/darkmod/tdm_sound_vocals03.pk4 (722 files)
    /home/dragora/.doom3/darkmod/tdm_sound_vocals02.pk4 (1335 files)
    /home/dragora/.doom3/darkmod/tdm_sound_vocals01.pk4 (66 files)
    /home/dragora/.doom3/darkmod/tdm_sound_sfx02.pk4 (549 files)
    /home/dragora/.doom3/darkmod/tdm_sound_sfx01.pk4 (457 files)
    /home/dragora/.doom3/darkmod/tdm_sound_ambient_decls01.pk4 (8 files)
    /home/dragora/.doom3/darkmod/tdm_sound_ambient03.pk4 (24 files)
    /home/dragora/.doom3/darkmod/tdm_sound_ambient02.pk4 (148 files)
    /home/dragora/.doom3/darkmod/tdm_sound_ambient01.pk4 (151 files)
    /home/dragora/.doom3/darkmod/tdm_prefabs01.pk4 (440 files)
    /home/dragora/.doom3/darkmod/tdm_player01.pk4 (123 files)
    /home/dragora/.doom3/darkmod/tdm_models_decls01.pk4 (88 files)
    /home/dragora/.doom3/darkmod/tdm_models02.pk4 (1770 files)
    /home/dragora/.doom3/darkmod/tdm_models01.pk4 (1533 files)
    /home/dragora/.doom3/darkmod/tdm_gui_credits01.pk4 (49 files)
    /home/dragora/.doom3/darkmod/tdm_gui01.pk4 (661 files)
    /home/dragora/.doom3/darkmod/tdm_game03.pk4 (2 files)
    /home/dragora/.doom3/darkmod/tdm_game02.pk4 (2 files)
    /home/dragora/.doom3/darkmod/tdm_game01.pk4 (2 files)
    /home/dragora/.doom3/darkmod/tdm_fonts01.pk4 (731 files)
    /home/dragora/.doom3/darkmod/tdm_env01.pk4 (92 files)
    /home/dragora/.doom3/darkmod/tdm_defs01.pk4 (147 files)
    /home/dragora/.doom3/darkmod/tdm_base01.pk4 (125 files)
    /home/dragora/.doom3/darkmod/tdm_ai_steambots01.pk4 (27 files)
    /home/dragora/.doom3/darkmod/tdm_ai_monsters_spiders01.pk4 (89 files)
    /home/dragora/.doom3/darkmod/tdm_ai_humanoid_undead01.pk4 (29 files)
    /home/dragora/.doom3/darkmod/tdm_ai_humanoid_townsfolk01.pk4 (65 files)
    /home/dragora/.doom3/darkmod/tdm_ai_humanoid_pagans01.pk4 (8 files)
    /home/dragora/.doom3/darkmod/tdm_ai_humanoid_nobles01.pk4 (51 files)
    /home/dragora/.doom3/darkmod/tdm_ai_humanoid_mages01.pk4 (7 files)
    /home/dragora/.doom3/darkmod/tdm_ai_humanoid_heads01.pk4 (64 files)
    /home/dragora/.doom3/darkmod/tdm_ai_humanoid_guards01.pk4 (286 files)
    /home/dragora/.doom3/darkmod/tdm_ai_humanoid_females01.pk4 (138 files)
    /home/dragora/.doom3/darkmod/tdm_ai_humanoid_builders01.pk4 (84 files)
    /home/dragora/.doom3/darkmod/tdm_ai_base01.pk4 (8 files)
    /home/dragora/.doom3/darkmod/tdm_ai_animals01.pk4 (76 files)
    /usr/local/games/doom3/darkmod
    /home/dragora/.doom3/base
    /usr/local/games/doom3/base
    /usr/local/games/doom3/base/pak008.pk4 (3 files)
    /usr/local/games/doom3/base/pak007.pk4 (38 files)
    /usr/local/games/doom3/base/pak006.pk4 (48 files)
    /usr/local/games/doom3/base/pak005.pk4 (63 files)
    /usr/local/games/doom3/base/pak004.pk4 (5137 files)
    /usr/local/games/doom3/base/pak003.pk4 (4676 files)
    /usr/local/games/doom3/base/pak002.pk4 (6120 files)
    /usr/local/games/doom3/base/pak001.pk4 (8972 files)
    /usr/local/games/doom3/base/pak000.pk4 (2698 files)
    /usr/local/games/doom3/base/game03.pk4 (2 files)
    /usr/local/games/doom3/base/game02.pk4 (2 files)
    /usr/local/games/doom3/base/game01.pk4 (2 files)
    game DLL: 0x0 in pak: 0x0
    Addon pk4s:
    file system initialized.
    ----- Initializing Decls -----
    ------- Initializing renderSystem --------
    using ARB renderSystem
    renderSystem initialized.
    1141 strings read from strings/english.lang
    Couldn't open journal files
    execing editor.cfg
    execing default.cfg
    execing DoomConfig.cfg
    Unknown command 'objectives'
    couldn't exec autoexec.cfg
    1141 strings read from strings/english.lang
    ----- Initializing Sound System ------
    sound system initialized.
    ----- R_InitOpenGL -----
    Setup X display connection
    dlopen(libGL.so.1)
    Initializing OpenGL display
    Using XFree86-VidModeExtension Version 2.2
    DGA DirectVideo Mouse (Version 2.0) initialized
    Free86-VidModeExtension Activated at 1024x768
    Using 8/8/8 Color bits, 8 Alpha bits, 24 depth, 8 stencil display.
    GL_RENDERER: GeForce 9200M GS/PCIe/SSE2
    idCommon::VPrintf: truncated to 4094 characters
    GL_EXTENSIONS: GL_ARB_base_instance GL_ARB_blend_func_extended GL_ARB_color_buffer_float GL_ARB_compatibility GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_ES2_compatibility GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_geometry_shader4 GL_ARB_get_program_binary GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_occlusion_query2 GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_provoking_vertex GL_ARB_robustness GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_objects GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shading_language_420pack GL_ARB_shading_language_include GL_ARB_shading_language_packing GL_ARB_shadow GL_ARB_sync GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object GL_ARB_texture_compression GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_rgb10_a2ui GL_ARB_texture_storage GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_transpose_matrix GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_direct_state_access GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXTX_framebuffer_mixed_formats GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_shader_objects GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_shared_exponent GL_EXT_texture_sRGB GL_EXT_texture_sRGB_decode GL_EXT_texture_storage GL_EXT_texture_swizzle GL_EXT_texture_type_2_10_10_10_REV GL_EXT_timer_query GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_EXT_x11_sync_object GL_EXT_import_sync_object GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_alpha_test GL_NV_blend_minmax GL_NV_blend_square GL_NV_complex_primitives GL_NV_conditional_render GL_NV_copy_depth_to_color GL_NV_copy_image GL_NV_depth_buffer_float GL_NV_depth_clamp GL_NV_ES1_1_compatibility GL_NV_explicit_multisample GL_NV_fb
    ------- Input Initialization -------
    XKB extension: compile time 0x1:0x0, runtime 0x1:0x0: OK
    XKB extension present on server ( 0x1:0x0 )
    dlopen(libasound.so.2)
    asoundlib version: 1.0.25
    Alsa is available
    ------ Alsa Sound Initialization -----
    opened Alsa PCM device default for playback
    device buffer size: 5644 frames ( 22576 bytes )
    allocated a mix buffer of 16384 bytes
    ...using GL_ARB_multitexture
    ...using GL_ARB_texture_env_combine
    ...using GL_ARB_texture_cube_map
    ...using GL_ARB_texture_env_dot3
    ...using GL_ARB_texture_env_add
    ...using GL_ARB_texture_non_power_of_two
    ...using GL_ARB_texture_compression
    ...using GL_EXT_texture_compression_s3tc
    ...using GL_EXT_texture_filter_anisotropic
    maxTextureAnisotropy: 16.000000
    ...using GL_1.4_texture_lod_bias
    X..GL_EXT_shared_texture_palette not found
    ...using GL_EXT_texture3D
    ...using GL_EXT_stencil_wrap
    ...using GL_NV_register_combiners
    ...using GL_EXT_stencil_two_side
    X..GL_ATI_fragment_shader not found
    X..GL_ATI_text_fragment_shader not found
    ...using GL_ARB_vertex_buffer_object
    ...using GL_ARB_vertex_program
    ...using GL_ARB_fragment_program
    ...using EXT_depth_bounds_test
    ---------- R_NV20_Init ----------
    ----------- R200_Init -----------
    Not available.
    ---------- R_ARB2_Init ----------
    Available.
    ----- R_ReloadARBPrograms -----
    glprogs/test.vfp
    glprogs/test.vfp
    glprogs/interaction.vfp
    glprogs/interaction.vfp
    glprogs/bumpyEnvironment.vfp
    glprogs/bumpyEnvironment.vfp
    glprogs/ambientLight.vfp
    glprogs/ambientLight.vfp
    glprogs/shadow.vp
    glprogs/R200_interaction.vp
    glprogs/nv20_bumpAndLight.vp
    glprogs/nv20_diffuseColor.vp
    glprogs/nv20_specularColor.vp
    glprogs/nv20_diffuseAndSpecularColor.vp
    glprogs/environment.vfp
    glprogs/environment.vfp
    glprogs/arbVP_glasswarp.txt: File not found
    glprogs/arbFP_glasswarp.txt: File not found
    using ARB_vertex_buffer_object memory
    using ARB2 renderSystem
    found DLL in pak file: /home/dragora/.doom3/darkmod/tdm_game02.pk4/gamex86.so
    copy gamex86.so to /home/dragora/.doom3/darkmod/gamex86.so
    dlopen '/home/dragora/.doom3/darkmod/gamex86.so' failed: libjpeg.so.62: cannot open shared object file: No such file or directory
    Regenerated world, staticAllocCount = 0.
    Shutting down sound hardware
    ----------- Alsa Shutdown ------------
    close pcm
    dlclose
    idRenderSystem::Shutdown()
    Sys_Error: couldn't load game dynamic library
    I have libjpeg perfectly installed
    extra/libjpeg-turbo 1.2.1-1 [instalado]
    libjpeg derivative with accelerated baseline JPEG compression and decompression
    multilib/lib32-libjpeg-turbo 1.2.1-1 [instalado]
    libjpeg derivative with accelerated baseline JPEG compression and decompression (32-bit)
    My hypothesis is that archlinux moved some bin from /bin to /usr/bin
    But i'm not sure, please help if you can, i will also look on the darkmod forums.
    Thank you
    Last edited by using_GNU (2012-08-30 14:38:13)

    Smudge, you are awsome, you were correct, the only thing i needed was installing the following packages:
    lib32-libjpeg6
    libjpeg6
    and libpng12
    Thank you, i hope this will help another person who has the same problem.
    Thank you a lot.
    Last edited by using_GNU (2012-08-30 14:41:43)

  • [Solved] Greek letters in bar

    Hi.
    How can I name my workspaces in bspwm using greek letters (alpha, beta, gamma)?
    Last edited by Malakian (2014-05-06 09:22:34)

    Are you able to see greek characters correctly in your system? Have you set the locale so that greek utf -8 characters are displayed corectly?
    If not, go to /etc/locale.gen and uncomment the greek locale lines
    el_GR.UTF-8 UTF-8
    el_GR ISO-8859-7
    and then update the system with
    locale-gen
    I do not use  bspwm but from a quick look, and asssuming you can view and type greek UTF-8 characters, I imagine you add in your bspwmrc
    bspc monitor -d α β γ δ ε ζ η θ
    Last edited by mastorak (2014-04-01 20:36:36)

  • [solved] Greek letters or symbols in inkscape

    Well, I'm trying to produce a greek letter in inkscape using the font "Standard Symbols L" in inkscape and it does not work. It looks like it is a regular font and I cannot found a way to make any greek letter in inkscape.
    inkscape version is 0.46-8
    Here is the list of the fonts installed on my system:
    pacman -Q|grep font
    artwiz-fonts 1.3-3
    fontcacheproto 0.1.2-1
    fontconfig 2.6.0-2
    fontsproto 2.0.2-1
    gsfonts 8.11-4
    libfontenc 1.0.4-1
    libxfont 1.3.3-1
    libxfontcache 1.0.4-1
    ttf-ms-fonts 2.0-1
    xorg-font-utils 1.0.3-3
    xorg-fonts-100dpi 1.0.1-1
    xorg-fonts-75dpi 1.0.1-2
    xorg-fonts-alias 1.0.1-1
    xorg-fonts-encodings 1.0.2-2
    xorg-fonts-misc 1.0.0-3
    Last edited by manouchk (2009-05-23 06:24:54)

    The best way is to use the textext package in AUR that produces LaTeX formulas into inkscape (in vectorial format, so it does not alter the quality).
    Else, any wide charset font should be suitable for greek character, you can copy/paste the greek lettre from a table of characters (the problem is that I've not found any character selector with Gnome/KDE/Xfce dependecy yet.) You can copy from OpenOffice or other (yeah, that's not a real solution and I did that sucessfully for lambda but not epsilon)
    Finally, you can type Ctrl+U and type the character code. you will find them in this document : http://unicode.org/charts/PDF/U0370.pdf

  • [SOLVED] - Easing into Archlinux

    Hey everyone,
    I've been using Linux now for about a year.  My main distro has been Ubuntu 9.04, 64 bit, but I'm interested in Archlinux.
    Being that I only have one computer, I don't have a second one to "play around" on, so I was wondering if it was possible to me to dual boot Ubuntu with Arch. 
    I would want them to be completely separate of course, making sure that if I mess anything up in Arch, it will have no effect in Ubuntu. Is this possible?  And how would I go about doing that?
    Thanks,
    -Robert-
    Last edited by RobSoko315 (2009-07-16 00:17:28)

    Sure.  Follow the regular installation instructions (taking care not to damage your Ubuntu installation).  Just don't overwrite your Ubuntu boot loader (on the master boot record) with the Arch one; if you later damage your Arch install, GRUB won't be able to find the config file.  You can install the Arch boot loader to the Arch root partition and add an entry in your Ubuntu install to chainload it.  That's probably the easiest way.
    Edit:  Wow, I need to get on the ball...
    Last edited by Trent (2009-07-16 00:20:01)

  • How I solved issues with Mail.app and Spotlight

    Even though my upgrade from Tiger 10.4.10 to Leopard was painless, the new OS X did have a few issues that had bothered me:
    *Mail.app: * Every now and then, the app would behave like on its first startup, saying it needs to import my mail before I can work with it. What's more, at times I've had the phenomen that messages would appear empty on the preview pane and sometimes even when being opened.
    *Spotlight: * Even though I let the indexing finish on the first day of working under Leopard, every now and then it seemed to start all over. First, I thought it's the NAS being indexed but it just went on to restart indexing each time I thought I had let it finish.
    *Free disk space: * I tried to bring the usage of my homedirectory down so I would have enough free disk space to switch FileVault off and then back on so I could start using TimeMachine. But whatever I did, the free disk space just wouuldn't inrease - it just stayed the same (yes, I did let the system recover space on shutdown).
    The *free disk space* issue made me think there was a problem with my disk but repeated runs with the Disk Utility yielded nothing...not for about a month. Yesterday I got some warnings about 'damaged but not repaired' but according to an Apple doc those could be safely ignored.
    Somebody suggested to apply the combo update for 10.5.1 as that could solve some issues so I went ahead - after all, the update had already been applied earlier so just re-installing wouldn't hurt much, right?
    Wrong.
    The install of the combo update went smoothly, FileVault recovered some space on shutdown but upon restart I couldn't log in anymore: My homedirectory was damaged. The friendly OS X Leopard offered to repair it but soon later reported back that it failed doing so.
    Now, to cut a long story short - deleting the affected user's account and using a different user on the same machine (without FileVault) solved any issues I've had. Mail now works like a charm (despite 40k+ messages with attachments), spotlight doesn't restart all it's indexing and disk space is shown correctly again. Also the odd corrupt file copy I had experienced occasionally (especially with large files) was gone.
    My advise to anyone who didn't de-activate FileVault under Tiger to make the switch to Leopard: Even if you think it worked, switch it off and let Leopard set it up again. You may think things went right...but the above shows that there may be issues with it that you may blame other apps for...but they're probably not guilty at all.
    I don't think the combo update actually caused FileVault to turn corrupt, it was just what broke the camel's neck. While it's no fun to lose your homedirectory, I'm glad the underlying issue finally came to light.

    Thanks to this thread, it's been solved.
    https://bbs.archlinux.org/viewtopic.php?id=97653

  • [SOLVED] Almost there just need a global progress bar

    Heya,
    There's no man page for bar so I have looked at the code a bit. I am trying to have a progress bar to copy a folder with many files including symbolic links (unfortunately pycp does not support them yet). With the -s parameter, I can specify the approximate size of what I am copying but it works only if it is a single file.
    I have also tried pv, pipemeter, orphan advcp, ecp, scp and I am now desperate.
    Would someone be kind enough to help me ?
    [tamikana@archlinux ~]$ cat /usr/bin/bar
    #! /bin/sh
    # bar
    # 'cat' with ASCII progress bar
    # (c) Henrik Theiling
    BAR_VERSION=1.4
    # Synopsis:
    # 'bar' works just like 'cat', but shows a progress bar in ASCII art on stderr.
    # The script's main function is meant to be usable in any Bourne shell to be
    # suitable for install scripts without the need for any additional tool.
    # Shell Script Usage: bar [options] [files]
    # Options:
    # -h displays help
    # Examples:
    # Normal pipe:
    # : bar mypack.tar.bz2 | tar xjpf -
    # Individual pipe for each file:
    # : bar -c 'tar xjpf -' mypack1.tar.bz2 mypack2.tar.bz2
    # Individual pipe, using ${bar_file} variable:
    # : bar -c 'echo ${bar_file}: ; gzip -dc | tar tvf -' \
    # : -e .tar.gz \
    # : file1 file2 file3 file4 file5 \
    # : > package-list.txt
    # Programs and shell commands:
    # Required (otherwise this fails):
    # if, then, else, fi, expr, test, cat, eval, exec
    # shell functions
    # test:
    # a = b
    # a -lt b
    # a -gt b
    # a -le b
    # -f a
    # -n a
    # -z a
    # expr:
    # a + b
    # a - b
    # a '*' b
    # a / b
    # a : b
    # Optional (otherwise this does not show the bar):
    # grep, dd, echo, ls, sed, cut
    # ls:
    # must output the file size at fifth position.
    # The command line interface also uses:
    # awk
    ####>-SCHNIPP-<########################################################
    bar_cat()
    # Use this shell function in your own install scripts.
    # Options:
    # Width of the bar (in ten characters). The default is 76 characters.
    test -z "${BAR_WIDTH}" && test -n "${COLUMNS}" && BAR_WIDTH=${COLUMNS}
    # Check syntax:
    ( expr "${BAR_WIDTH}" + 0 >/dev/null 2>&1 ) || BAR_WIDTH=0
    BAR_WIDTH=`expr ${BAR_WIDTH} + 0` || BAR_WIDTH=0
    test "x${BAR_WIDTH}" = x0 && BAR_WIDTH=76
    # Maximal block size to use for dd.
    test -n "${BAR_BS}" || BAR_BS=1048567
    # BEGIN PERC
    # Whether to show a percentage.
    test -n "${BAR_PERC}" || BAR_PERC=1
    # END PERC
    # BEGIN ETA
    # Whether to show estimated time of arrival (ETA).
    test -n "${BAR_ETA}" || BAR_ETA=1
    # END ETA
    # Width of the trace display:
    # BEGIN TRACE
    test -n "${BAR_TRACE_WIDTH}" || BAR_TRACE_WIDTH=10
    # END TRACE
    # The command to execute for every given file. Each file
    # is piped into this command individually. By default, the
    # files are simply dumped to stdout.
    test -n "${BAR_CMD}" || BAR_CMD=cat
    # The characters to be used in the bar
    test -n "${BAR_L}" || BAR_L='['
    test -n "${BAR_R}" || BAR_R=']'
    test -n "${BAR_C0}" || BAR_C0='.'
    test -n "${BAR_C1}" || BAR_C1='='
    # Additional extension to add to each file:
    #BAR_EXT=${BAR_EXT-}
    # Whether to clear bar after termination. Otherwise keep the full bar.
    #BAR_CLEAR=${BAR_CLEAR-0}
    # Unless switched off by user, use the bar by default:
    test -n "${BAR_OK}" || BAR_OK=1
    BAR_WIDTH=`expr ${BAR_WIDTH} - 3`
    bar_trace=''
    # BEGIN TRACE
    if test "x${BAR_TRACE}" = x1
    then
    BAR_WIDTH=`expr ${BAR_WIDTH} - ${BAR_TRACE_WIDTH}`
    bar_lauf=${BAR_TRACE_WIDTH}
    bar_t_space=''
    bar_t_dot=''
    while test "${bar_lauf}" -gt 1
    do
    bar_t_space="${bar_t_space} "
    bar_t_dot="${bar_t_dot}."
    bar_lauf=`expr ${bar_lauf} - 1`
    done
    bar_trace="${bar_t_space} "
    fi
    # END TRACE
    bar_eta=''
    BAR_GET_TIME='echo'
    # BEGIN ETA
    ( expr 1 + ${SECONDS} >/dev/null 2>&1 ) || BAR_ETA=0
    if test "x${BAR_ETA}" = x1
    then
    BAR_GET_TIME='( echo ${SECONDS} )'
    BAR_WIDTH=`expr ${BAR_WIDTH} - 6`
    bar_eta='--:-- '
    fi
    # END ETA
    bar_perc=''
    # BEGIN PERC
    if test "x${BAR_PERC}" = x1
    then
    BAR_WIDTH=`expr ${BAR_WIDTH} - 5`
    bar_perc=' 0% '
    fi
    # END PERC
    BAR_GET_SIZE='( ls -l "${BAR_DIR}${bar_file}${BAR_EXT}" | sed "s@ *@ @g" | cut -d " " -f 5 ) 2>/dev/null'
    # portable?
    # check features:
    ( ( echo a ) >/dev/null 2>&1 ) || BAR_OK=0
    ( ( echo a | dd bs=2 count=2 ) >/dev/null 2>&1 ) || BAR_OK=0
    ( ( echo a | grep a ) >/dev/null 2>&1 ) || BAR_OK=0
    ( ( echo a | sed 's@ *@ @g' ) >/dev/null 2>&1 ) || BAR_OK=0
    ( ( echo a | cut -d ' ' -f 1 ) >/dev/null 2>&1 ) || BAR_OK=0
    # check ranges:
    test "${BAR_WIDTH}" -ge 4 || BAR_OK=0
    BAR_ECHO='echo'
    BAR_E_C1=''
    BAR_E_C2=''
    BAR_E_NL='echo'
    # Does echo accept -n without signalling an error?
    if echo -n abc >/dev/null 2>&1
    then
    BAR_E_C1='-n'
    fi
    # Check how to print a line without newline:
    if ( ( ${BAR_ECHO} "${BAR_E_C1}" abc ; echo 1,2,3 ) | grep n ) >/dev/null 2>&1
    then
    # Try echo \c:
    if ( ( ${BAR_ECHO} 'xyz\c' ; echo 1,2,3 ) | grep c ) >/dev/null 2>&1
    then
    # Try printf:
    if ( ( printf 'ab%s' c ; echo 1,2,3 ) | grep abc ) >/dev/null 2>&1
    then
    BAR_ECHO='printf'
    BAR_E_C1='%s'
    else
    BAR_ECHO=':'
    BAR_E_C1=''
    BAR_E_NL=':'
    BAR_OK=0
    fi
    else
    BAR_E_C1=''
    BAR_E_C2='\c'
    fi
    fi
    # prepare initial bar:
    bar_shown=0
    if test "${BAR_OK}" = 1
    then
    bar_lauf=0
    bar_graph=''
    while test `expr ${bar_lauf} + 5` -le "${BAR_WIDTH}"
    do
    bar_graph="${bar_graph}${BAR_C0}${BAR_C0}${BAR_C0}${BAR_C0}${BAR_C0}"
    bar_lauf=`expr ${bar_lauf} + 5`
    done
    while test "${bar_lauf}" -lt "${BAR_WIDTH}"
    do
    bar_graph="${bar_graph}${BAR_C0}"
    bar_lauf=`expr ${bar_lauf} + 1`
    done
    ${BAR_E_C2}" 1>&2_eta}${bar_perc}${BAR_L}${bar_graph}${BAR_R}
    bar_shown=1
    fi
    # for shifting large numbers so that expr can handle them:
    # Assume we can compute up to 2147483647, thus 9 arbitrary digits.
    # We must be able to do + of two numbers of 9 digits length. Ok.
    # BEGIN LARGE
    ( ( test 1999999998 = `expr 999999999 + 999999999` ) >/dev/null 2>&1 ) || BAR_OK=0
    bar_large_num="........."
    bar_div=""
    # END LARGE
    bar_numsuff=""
    # find size:
    bar_size=0
    if test -n "${BAR_SIZE}"
    then
    bar_size=${BAR_SIZE}
    # BEGIN LARGE
    while expr "${bar_size}" : "${bar_large_num}" >/dev/null 2>&1
    do
    bar_div="${bar_div}."
    bar_numsuff="${bar_numsuff}0"
    bar_size=`expr "${bar_size}" : '\(.*\).$'`
    done
    # END LARGE
    BAR_GET_SIZE="echo '${BAR_SIZE}'"
    else
    for bar_file
    do
    bar_size1=0
    if test -f "${BAR_DIR}${bar_file}${BAR_EXT}"
    then
    bar_size1=`eval "${BAR_GET_SIZE}"`
    # BEGIN LARGE
    # divide and upround by pattern matching:
    if test -n "${bar_div}"
    then
    bar_size1=`expr "${bar_size1}" : '\(.*\)'${bar_div}'$'` || bar_size1=0
    fi
    # adjust if still too large:
    while expr "${bar_size1}" : "${bar_large_num}" >/dev/null 2>&1
    do
    bar_div="${bar_div}."
    bar_numsuff="${bar_numsuff}0"
    bar_size1=`expr "${bar_size1}" : '\(.*\).$'`
    bar_size=`expr "${bar_size}" : '\(.*\).$'` || bar_size=0
    done
    # upround if necessary:
    if test -n "${bar_div}"
    then
    bar_size1=`expr "${bar_size1}" + 1`
    fi
    # END LARGE
    # add to total size:
    bar_size=`expr ${bar_size} + ${bar_size1}`
    # BEGIN LARGE
    # adjust if still too large:
    while expr "${bar_size}" : "${bar_large_num}" >/dev/null 2>&1
    do
    bar_div="${bar_div}."
    bar_numsuff="${bar_numsuff}0"
    bar_size=`expr "${bar_size}" : '\(.*\).$'`
    done
    # END LARGE
    else
    BAR_OK=0
    fi
    done
    fi
    bar_quad=`expr ${BAR_WIDTH} '*' ${BAR_WIDTH}`
    test "${bar_size}" -gt "${bar_quad}" || BAR_OK=0
    if test "${BAR_OK}" = 0
    then
    # For some reason, we cannot display the bar. Thus plain operation:
    for bar_file
    do
    if test "${bar_file}" = "/dev/stdin"
    then
    eval "${BAR_CMD}"
    else
    eval "${BAR_CMD}" < "${BAR_DIR}${bar_file}${BAR_EXT}"
    fi
    done
    else
    # Compute wanted bytes per step:
    bar_want_bps=`expr ${bar_size} + ${BAR_WIDTH}`
    bar_want_bps=`expr ${bar_want_bps} - 1`
    bar_want_bps=`expr ${bar_want_bps} / ${BAR_WIDTH}`
    # Compute block count per step to keep within maximum block size:
    bar_count=1
    if test "${bar_want_bps}" -gt "${BAR_BS}"
    then
    bar_count=`expr ${bar_want_bps} + ${BAR_BS}`
    bar_count=`expr ${bar_count} - 1`
    bar_count=`expr ${bar_count} / ${BAR_BS}`
    fi
    # Compute block size for given count:
    bar_wc=`expr ${BAR_WIDTH} '*' ${bar_count}`
    bar_bs=`expr ${bar_size} + ${bar_wc}`
    bar_bs=`expr ${bar_bs} - 1`
    bar_bs=`expr ${bar_bs} / ${bar_wc}`
    # Compute bs * count, the bytes per step:
    bar_bps=`expr ${bar_bs} '*' ${bar_count}`
    # Compute bytes per hundredth:
    bar_bph=`expr ${bar_size} + 99`
    bar_bph=`expr ${bar_bph} / 100`
    # Run loop:
    bar_pos=0
    bar_graph="${BAR_L}"
    bar_cur_char=0
    bar_t0=`eval "${BAR_GET_TIME}" 2>/dev/null` || bar_t0=0
    for bar_file
    do
    # BEGIN TRACE
    if test "x${BAR_TRACE}" = x1
    then
    bar_trace=`expr "${bar_file}" : '.*/\([^/][^/]*\)$'` || bar_trace="${bar_file}"
    bar_trace=`expr "${bar_trace}${bar_t_space}" : '\('${bar_t_dot}'\)'`
    bar_trace="${bar_trace} "
    fi
    # END TRACE
    # Initial character position in bar for file:
    bar_char=`expr ${bar_pos} / ${bar_want_bps}` || bar_char=0
    while test "${bar_char}" -gt `expr ${bar_cur_char} + 4`
    do
    bar_graph="${bar_graph}${BAR_C1}${BAR_C1}${BAR_C1}${BAR_C1}${BAR_C1}"
    bar_cur_char=`expr ${bar_cur_char} + 5`
    done
    while test "${bar_char}" -gt "${bar_cur_char}"
    do
    bar_graph="${bar_graph}${BAR_C1}"
    bar_cur_char=`expr ${bar_cur_char} + 1`
    done
    # Get file size. This must work now (we checked with test -f before).
    bar_size1=`eval "${BAR_GET_SIZE}" 2>/dev/null` || bar_size1=0
    # BEGIN LARGE
    # Divide and upround by pattern matching:
    if test -n "${bar_div}"
    then
    bar_size1=`expr "${bar_size1}" : '\(.*\)'${bar_div}'$'` || bar_size1=0
    bar_size1=`expr "${bar_size1}" + 1`
    fi
    # END LARGE
    # loop:
    bar_total=0
    exec 6>&1
    exec 5<"${BAR_DIR}${bar_file}${BAR_EXT}"
    while test "${bar_total}" -lt "${bar_size1}"
    do
    dd bs="${bar_bs}" count="${bar_count}${bar_numsuff}" <&5 >&6 2>/dev/null
    bar_total=`expr ${bar_total} + ${bar_bps}`
    if test "${bar_total}" -gt "${bar_size1}"
    then
    bar_total="${bar_size1}"
    fi
    bar_pos1=`expr ${bar_pos} + ${bar_total}`
    bar_proz=`expr ${bar_pos1} / ${bar_bph}` || bar_proz=0
    # BEGIN PERC
    if test "x${BAR_PERC}" = x1
    then
    bar_perc=" ${bar_proz}% "
    bar_perc=`expr "${bar_perc}" : '.*\(.....\)$'`
    fi
    # END PERC
    # BEGIN ETA
    if test "x${BAR_ETA}" = x1
    then
    bar_diff=`eval "${BAR_GET_TIME}" 2>/dev/null` || bar_diff=0
    bar_diff=`expr ${bar_diff} - ${bar_t0} 2>/dev/null` || bar_diff=0
    bar_100p=`expr 100 - ${bar_proz}` || bar_100p=0
    bar_diff=`expr ${bar_diff} '*' ${bar_100p}` || bar_diff=0
    bar_diff=`expr ${bar_diff} + ${bar_proz}` || bar_diff=0
    bar_diff=`expr ${bar_diff} - 1` || bar_diff=0
    bar_diff=`expr ${bar_diff} / ${bar_proz} 2>/dev/null` || bar_diff=0
    if test "${bar_diff}" -gt 0
    then
    bar_t_unit=":"
    if test "${bar_diff}" -gt 2700
    then
    bar_t_uni="h"
    bar_diff=`expr ${bar_diff} / 60`
    fi
    bar_diff_h=`expr ${bar_diff} / 60` || bar_diff_h=0
    if test "${bar_diff_h}" -gt 99
    then
    bar_eta=" ${bar_diff_h}${bar_t_unit} "
    else
    bar_diff_hi=`expr ${bar_diff_h} '*' 60` || bar_diff_hi=0
    bar_diff=`expr ${bar_diff} - ${bar_diff_hi}` || bar_diff=0
    bar_diff=`expr "00${bar_diff}" : '.*\(..\)$'`
    bar_eta=" ${bar_diff_h}${bar_t_unit}${bar_diff} "
    fi
    bar_eta=`expr "${bar_eta}" : '.*\(......\)$'`
    fi
    fi
    # END ETA
    bar_char=`expr ${bar_pos1} / ${bar_want_bps}` || bar_char=0
    while test "${bar_char}" -gt "${bar_cur_char}"
    do
    bar_graph="${bar_graph}${BAR_C1}"
    ${bar_trace}${bar_eta}${bar_perc}${bar_graph}${BAR_E_C2}" 1>&2
    bar_cur_char=`expr ${bar_cur_char} + 1`
    done
    done
    ) | eval "${BAR_CMD}"
    bar_pos=`expr ${bar_pos} + ${bar_size1}`
    done
    # ${BAR_ECHO} "${BAR_E_C1}" "${BAR_R}${BAR_E_C2}" 1>&2
    fi
    if test "${bar_shown}" = 1
    then
    # BEGIN TRACE
    test "x${BAR_TRACE}" = x1 && bar_trace="${bar_t_space} "
    # END TRACE
    # BEGIN ETA
    test "x${BAR_ETA}" = x1 && bar_eta=' '
    # END ETA
    if test "x${BAR_CLEAR}" = x1
    then
    # BEGIN PERC
    test "x${BAR_PERC}" = x1 && bar_perc=' '
    # END PERC
    bar_lauf=0
    bar_graph=''
    while test `expr ${bar_lauf} + 5` -le "${BAR_WIDTH}"
    do
    bar_graph="${bar_graph} "
    bar_lauf=`expr ${bar_lauf} + 5`
    done
    while test "${bar_lauf}" -lt "${BAR_WIDTH}"
    do
    bar_graph="${bar_graph} "
    bar_lauf=`expr ${bar_lauf} + 1`
    done
    ${BAR_E_C2}" 1>&2_eta}${bar_perc} ${bar_graph}
    else
    # BEGIN PERC
    test "x${BAR_PERC}" = x1 && bar_perc='100% '
    # END PERC
    bar_lauf=0
    bar_graph=''
    while test `expr ${bar_lauf} + 5` -le "${BAR_WIDTH}"
    do
    bar_graph="${bar_graph}${BAR_C1}${BAR_C1}${BAR_C1}${BAR_C1}${BAR_C1}"
    bar_lauf=`expr ${bar_lauf} + 5`
    done
    while test "${bar_lauf}" -lt "${BAR_WIDTH}"
    do
    bar_graph="${bar_graph}${BAR_C1}"
    bar_lauf=`expr ${bar_lauf} + 1`
    done
    ${bar_trace}${bar_eta}${bar_perc}${BAR_L}${bar_graph}${BAR_R}${BAR_E_C2}" 1>&2
    ${BAR_E_NL} 1>&2
    fi
    fi
    ####>-SCHNAPP-<########################################################
    BAR_AWK_0=''
    # Command line interface:
    while test -n "$1"
    do
    case "$1" in
    -o|-c|-w|-0|-1|-e|-d|-b|-s|-\[\]|-\[|-\]|-T)
    if test -z "$2"
    then
    echo "$0: Error: A non-empty argument was expected after $1" 1>&2
    fi
    BAR_ARG="$1"
    BAR_OPT="$2"
    shift
    shift
    -o*|-c*|-w*|-0*|-1*|-e*|-d*|-b*|-T*)
    BAR_ARG=`expr "$1" : '\(-.\)'`
    BAR_OPT=`expr "$1" : '-.\(.*\)$'`
    shift
    -h|-n|-p|-D|-D-|-q|-V|-t|-E|-L)
    BAR_ARG="$1"
    BAR_OPT=""
    shift
    --) shift
    break
    -*) echo "$0: Error: Unrecognized option: $1" 1>&2
    exit 1
    break
    esac
    case "${BAR_ARG}" in
    -h) echo 'Usage: bar [-n] [-p] [-q] [-o FILE] [-c CMD] [-s SIZE] [-b SIZE]'
    echo ' [-w WIDTH] [-0/1/[/] CHAR] [-d DIR] [-e EXT] [Files]'
    echo ' bar -V'
    echo ' bar -D'
    echo ' bar -D-'
    echo 'Options:'
    echo ' -h displays help'
    echo ' -o FILE sets output file'
    echo ' -c CMD sets individual execution command'
    echo ' -e EXT append an extension to each file'
    echo ' -d DIR prepend this prefix to each file (a directory must end in /)'
    echo ' -s SIZE expected number of bytes. Use for pipes. This is a hint'
    echo ' only that must be greater or equal to the amount actually'
    echo ' processed. Further, this only works for single files.'
    echo ' -b SIZE maximal block size (bytes) (default: 1048567)'
    echo ' -w WIDTH width in characters (default: terminal width-3 or 76)'
    echo ' -0 CHAR character for empty bar (default: .)'
    echo ' -1 CHAR character for full bar (default: =)'
    echo ' -[ CHAR first character of bar (default: [)'
    echo ' -] CHAR last character of bar (default: ])'
    echo ' -n clears bar after termination'
    echo ' -t traces (=displays) which file is processed'
    echo ' -T WIDTH no of characters reserved for the file display of -t'
    echo ' -p hides percentage'
    echo ' -E hides estimated time display'
    echo ' -q hides the whole bar, be quiet'
    echo ' -D tries to dump the bar_cat() shell function, then exit.'
    echo ' Here, -t, -p, -E remove the corresponding feature completely.'
    echo ' Further, -L removes large file support from the code.'
    echo ' -D- same as -D, but dumps the function body only'
    echo ' -V displays version number'
    echo ' -- end of options: only file names follow'
    exit 0
    -n) BAR_CLEAR=1
    -L) BAR_LARGE=0
    BAR_AWK_0="${BAR_AWK_0} /END *LARGE/ {x=1} ;"
    BAR_AWK_0="${BAR_AWK_0} /BEGIN *LARGE/ {x=0} ;"
    -t) BAR_TRACE=1
    BAR_AWK_0="${BAR_AWK_0} /END *TRACE/ {x=1} ;"
    BAR_AWK_0="${BAR_AWK_0} /BEGIN *TRACE/ {x=0} ;"
    -T) BAR_TRACE_WIDTH="${BAR_OPT}"
    -q) BAR_OK=0
    -p) BAR_PERC=0
    BAR_AWK_0="${BAR_AWK_0} /END *PERC/ {x=1} ;"
    BAR_AWK_0="${BAR_AWK_0} /BEGIN *PERC/ {x=0} ;"
    -E) BAR_ETA=0
    BAR_AWK_0="${BAR_AWK_0} /END *ETA/ {x=1} ;"
    BAR_AWK_0="${BAR_AWK_0} /BEGIN *ETA/ {x=0} ;"
    -V) echo "bar v${BAR_VERSION}"
    exit 0
    -D) echo "BAR_VERSION=${BAR_VERSION}"
    awk "${BAR_AWK_0}"'{sub(/ *#.*$/,"")} ; /^bar_cat/ {x=1} ; {sub(/^ */,"")} ; /./ {if(x)print} ; /^}/ {x=0}' "$0"
    exit 0
    -D-) echo "BAR_VERSION=${BAR_VERSION}"
    awk "${BAR_AWK_0}"'{sub(/ *#.*$/,"")} ; /^}/ {x=0} ; {sub(/^ */,"")} ; /./ {if(x)print} ; /^{/ {x=1}' "$0"
    exit 0
    -o) exec 1>"${BAR_OPT}"
    -c) BAR_CMD="${BAR_OPT}"
    -b) BAR_BS="${BAR_OPT}"
    if BAR_RAW=`expr "${BAR_BS}" : '\(.*\)k$'`
    then
    BAR_BS=`expr ${BAR_RAW} '*' 1024`
    elif BAR_RAW=`expr "${BAR_BS}" : '\(.*\)M$'`
    then
    BAR_BS=`expr ${BAR_RAW} '*' 1048567`
    fi
    -s) BAR_SIZE="${BAR_OPT}"
    if BAR_RAW=`expr "${BAR_SIZE}" : '\(.*\)k$'`
    then
    BAR_SIZE=`expr ${BAR_RAW} '*' 1024`
    elif BAR_RAW=`expr "${BAR_SIZE}" : '\(.*\)M$'`
    then
    BAR_SIZE=`expr ${BAR_RAW} '*' 1048567`
    fi
    if test "$#" -gt 1
    then
    echo "Error: -s cannot be specified for multiple input files." 1>&2
    exit 1
    fi
    -e) BAR_EXT="${BAR_OPT}"
    -d) BAR_DIR="${BAR_OPT}"
    -0) BAR_C0="${BAR_OPT}"
    -1) BAR_C1="${BAR_OPT}"
    -\[) BAR_L="${BAR_OPT}"
    -\]) BAR_R="${BAR_OPT}"
    BAR_L="${BAR_OPT}"
    BAR_R="${BAR_OPT}"
    -w) BAR_WIDTH="${BAR_OPT}"
    esac
    done
    # Invoke main function:
    if test "$#" = 0
    then
    bar_cat /dev/stdin
    else
    bar_cat "$@"
    fi
    EDIT: solved https://bbs.archlinux.org/viewtopic.php … 85#p498885
    It seems like I have not tried every potential packages after all
    Last edited by tamikana (2011-10-30 16:04:46)

    This might help http://www.dwcourse.com/dreamweaver/ten-commandments-spry-menubars.php#one
    Also, if you use DW CS5 click on Live Code and Live View. Then when clicking on the menu items in Live View, watch the changes in classes that occur. This mifgt give you a clue of what to do.
    Cheers,
    Gramps

  • [Solved] NZ mirror does not appear to be update - x86_64

    I have been using this mirror for pacman:
    Server = http://mirror.xnet.co.nz/pub/archlinux/$repo/os/$arch
    However, it appears to have not synced for the past week.
    Anyone using this mirror; be aware that it does not appear to be working, for me at least.
    I've swapped to some Australian mirrors for the time being.
    Looking at the site, it was last update on the 23-7-2014 - so this could be a temporary issue.
    Or it just could be me expecting mirrors to be updated every few days...
    Last edited by pypi (2014-08-03 01:50:15)

    There's a list of unofficial mirrors: https://wiki.archlinux.org/index.php/Mi … ew_Zealand
    Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309

  • [SOLVED] No ALSA

    I've installed the 5/14 release on an Acer C720 Chromebook according tom directions found at https://wiki.archlinux.org/index.php/Ac … Chromebook and https://wiki.archlinux.org/index.php/Beginners%27_Guide.  All seems well except that I can't find ALSA.
    According to https://wiki.archlinux.org/index.php/Ad … chitecture ALSA is included in the kernel, yet I get 'command not found' from bash to all of the following:
    alsa
    amixer
    alsamixer
    alsaconf
    alsactl
    Where can I get this package?
    Last edited by porphyry5 (2014-06-09 17:54:07)

    https://wiki.archlinux.org/index.php/FA … ge_is_X.3F
    $ pkgfile amixer
    extra/alsa-utils
    Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309

  • Package is corrupted PGP signature[SOLVED]

    Hello,
    I was trying to update my system with:
    pacman -Syyu
    One package kept coming showing:
    error: archlinux-keyring: signature from "Someone <[email protected]>" is unknown trust
    I attempted:
    pacman-key --refresh-keys
    But this did not help. I then attempted:
    rm -r /etc/pacman.d/gnupg
    pacman-key --init
    pacman -Sc
    pacman -Syyu
    I then added all of the keys when queried to do so. However now I get:
    error: archlinux-keyring: signature from "Pierre Schmitz <[email protected]>" is unknown trust
    :: File /var/cache/pacman/pkg/archlinux-keyring-20140124-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
    Do you want to delete it? [Y/n]
    And I believe this is the case for every package...
    How do i resolve this?
    Thanks in advance
    Last edited by 127001 (2014-02-03 15:01:43)

    Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309

  • [solved] bash errors

    Howdy, first post here, installed arch last week after many years on debian based systems.
    I promise I have read the wiki on bash & have googled for hours & I cannot find what is generating these errors in the terminal every time a terminal is opened.
    bash: N: command not found
    bash: $!ba: command not found
    bash: s/n/: No such file or directory
    I can't recall at what point this error started to appear.  I have checked .bashrc, my bash aliases, I am stumped.
    My .bashrc :
    # ~/.bashrc
    # If not running interactively, don't do anything
    [[ $- != *i* ]] && return
    alias ls='ls --color=auto'
    PS1='[\u@\h \W]\$ '
    export LANG=en_GB.utf8
    export LC_MESSAGES="C"
    export LC_ALL=en_GB.utf8
    export EDITOR=nano
    source /usr/share/doc/pkgfile/command-not-found.bash
    # Alias definitions.
    # You may want to put all your additions into a separate file like
    # ~/.bash_aliases, instead of adding them here directly.
    # See /usr/share/doc/bash-doc/examples in the bash-doc package.
    if [ -f ~/.bash_aliases ]; then
        . ~/.bash_aliases
    fi
    Last edited by cl00t (2013-07-25 18:33:50)

    Great :-)
    Next time when pasting configs, code or command output, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode
    like this
    It makes the code more readable and - in case of longer listings - more convenient to scroll through.
    Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309

  • [SOLVED]Grub fails to open dm-crypt+LUKS volume on boot(Waiting 10s..)

    I know there are quite a few solved posts like these but it's usually because of "mkinitcpio -p linux" not being regenerated.
    My problem is after boot Grub says:
    running hook [udev]
    running hook [encrypt]
    Waiting 10 seconds for device /dev/disk/by-uuid/d1d0825c-25d1-4cbe-811f-725d9ef8d034>...
    ERROR: device 'UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034' not found. Skipping fsck.
    ERROR: Unable to find root device 'UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034'.
    Here are all the files that I think would be needed for this:
    /etc/fstab
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    #/dev/mapper/cryptroot / ext4 rw,realtime,data=ordered 0 1
    UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034 / ext4 rw,relatime,data=ordered 0 1
    #/dev/sda5 /boot ext4 rw,relatime,data=ordered 0 2
    UUID=d04b37b1-4dfb-451c-b582-b9d95ca8fe22 /boot ext4 rw,relatime,data=ordered 0 2
    lsblk
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    sda 8:0 0 298.1G 0 disk
    ├─sda1 8:1 0 100M 0 part
    ├─sda2 8:2 0 97.6G 0 part
    ├─sda3 8:3 0 1K 0 part
    ├─sda5 8:5 0 300M 0 part
    ├─sda6 8:6 0 50G 0 part
    │ └─cryptroot 254:1 0 50G 0 crypt /
    ├─sda7 8:7 0 1G 0 part
    └─sda8 8:8 0 149.1G 0 part
    sdb 8:16 1 29.3G 0 disk
    ├─sdb1 8:17 1 558M 0 part
    └─sdb2 8:18 1 31M 0 part
    sdc 8:32 1 15G 0 disk
    └─sdc1 8:33 1 15G 0 part /mnt/usb
    sr0 11:0 1 1024M 0 rom
    loop0 7:0 0 240.9M 1 loop
    loop1 7:1 0 1.5G 1 loop
    └─arch_root-image 254:0 0 1.5G 0 dm /etc/resolv.conf
    loop2 7:2 0 1.5G 0 loop
    └─arch_root-image 254:0 0 1.5G 0 dm /etc/resolv.conf
    blkid
    /dev/sda1: LABEL="System Reserved" UUID="3A481C2D481BE703" TYPE="ntfs" PARTUUID="850a6169-01"
    /dev/sda2: UUID="EE3443C234438D11" TYPE="ntfs" PARTUUID="850a6169-02"
    /dev/sda5: UUID="d04b37b1-4dfb-451c-b582-b9d95ca8fe22" TYPE="ext4" PARTUUID="850a6169-05"
    /dev/sda6: UUID="691c218e-658f-47ff-8296-6b266b2c06c9" TYPE="crypto_LUKS" PARTUUID="850a6169-06"
    /dev/sdb1: UUID="2014-07-03-18-41-56-00" LABEL="ARCH_201407" TYPE="iso9660" PTUUID="6039e1c4" PTTYPE="dos" PARTUUID="6039e1c4-01"
    /dev/sdb2: SEC_TYPE="msdos" LABEL="ARCHISO_EFI" UUID="3B47-A69A" TYPE="vfat" PARTUUID="6039e1c4-02"
    /dev/loop0: TYPE="squashfs"
    /dev/loop1: UUID="5857fcdc-02d9-4d16-aeb5-00d786995ffc" TYPE="ext4"
    /dev/loop2: UUID="5857fcdc-02d9-4d16-aeb5-00d786995ffc" TYPE="ext4"
    /dev/mapper/arch_root-image: UUID="5857fcdc-02d9-4d16-aeb5-00d786995ffc" TYPE="ext4"
    /dev/mapper/cryptroot: UUID="d1d0825c-25d1-4cbe-811f-725d9ef8d034" TYPE="ext4"
    /dev/sdc1: UUID="86D3-3C7E" TYPE="vfat" PARTUUID="c3072e18-01"
    /dev/sda7: PARTUUID="850a6169-07"
    /dev/sda8: PARTUUID="850a6169-08"
    /etc/default/grub
    GRUB_DEFAULT=0
    GRUB_TIMEOUT=5
    GRUB_DISTRIBUTOR="Arch"
    GRUB_CMDLINE_LINUX_DEFAULT="quiet"
    GRUB_CMDLINE_LINUX="cryptdevice=/dev/sda6:cryptroot"
    # Preload both GPT and MBR modules so that they are not missed
    GRUB_PRELOAD_MODULES="part_gpt part_msdos"
    # Uncomment to enable Hidden Menu, and optionally hide the timeout count
    #GRUB_HIDDEN_TIMEOUT=5
    #GRUB_HIDDEN_TIMEOUT_QUIET=true
    # Uncomment to use basic console
    GRUB_TERMINAL_INPUT=console
    # Uncomment to disable graphical terminal
    #GRUB_TERMINAL_OUTPUT=console
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    GRUB_GFXMODE=auto
    # Uncomment to allow the kernel use the same resolution used by grub
    GRUB_GFXPAYLOAD_LINUX=keep
    # Uncomment if you want GRUB to pass to the Linux kernel the old parameter
    # format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
    #GRUB_DISABLE_LINUX_UUID=true
    # Uncomment to disable generation of recovery mode menu entries
    GRUB_DISABLE_RECOVERY=true
    # Uncomment and set to the desired menu colors. Used by normal and wallpaper
    # modes only. Entries specified as foreground/background.
    #GRUB_COLOR_NORMAL="light-blue/black"
    #GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
    # Uncomment one of them for the gfx desired, a image background or a gfxtheme
    #GRUB_BACKGROUND="/path/to/wallpaper"
    #GRUB_THEME="/path/to/gfxtheme"
    # Uncomment to get a beep at GRUB start
    #GRUB_INIT_TUNE="480 440 1"
    #GRUB_SAVEDEFAULT="true"
    /boot/grub/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 loadfont unicode ; 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
    if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
    # Fallback normal timeout code in case the timeout_style feature is
    # unavailable.
    else
    set timeout=5
    fi
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-d1d0825c-25d1-4cbe-811f-725d9ef8d034' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod cryptodisk luks gcry_rijndael gcry_rijndael gcry_sha1
    insmod ext2
    set root='cryptouuid/691c218e658f47ff82966b266b2c06c9'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint='cryptouuid/691c218e658f47ff82966b266b2c06c9' d1d0825c-25d1-4cbe-811f-725d9ef8d034
    else
    search --no-floppy --fs-uuid --set=root d1d0825c-25d1-4cbe-811f-725d9ef8d034
    fi
    echo 'Loading Linux linux ...'
    linux /boot/vmlinuz-linux root=UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034 rw cryptdevice=/dev/sda6:cryptroot quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux.img
    submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-d1d0825c-25d1-4cbe-811f-725d9ef8d034' {
    menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-d1d0825c-25d1-4cbe-811f-725d9ef8d034' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod cryptodisk luks gcry_rijndael gcry_rijndael gcry_sha1
    insmod ext2
    set root='cryptouuid/691c218e658f47ff82966b266b2c06c9'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint='cryptouuid/691c218e658f47ff82966b266b2c06c9' d1d0825c-25d1-4cbe-811f-725d9ef8d034
    else
    search --no-floppy --fs-uuid --set=root d1d0825c-25d1-4cbe-811f-725d9ef8d034
    fi
    echo 'Loading Linux linux ...'
    linux /boot/vmlinuz-linux root=UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034 rw cryptdevice=/dev/sda6:cryptroot quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux.img
    menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-d1d0825c-25d1-4cbe-811f-725d9ef8d034' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod cryptodisk luks gcry_rijndael gcry_rijndael gcry_sha1
    insmod ext2
    set root='cryptouuid/691c218e658f47ff82966b266b2c06c9'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint='cryptouuid/691c218e658f47ff82966b266b2c06c9' d1d0825c-25d1-4cbe-811f-725d9ef8d034
    else
    search --no-floppy --fs-uuid --set=root d1d0825c-25d1-4cbe-811f-725d9ef8d034
    fi
    echo 'Loading Linux linux ...'
    linux /boot/vmlinuz-linux root=UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034 rw cryptdevice=/dev/sda6:cryptroot quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux-fallback.img
    ### 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 ###
    ### 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+ ###
    Things I tried:
    Replace this line in grub.cfg with
    linux /boot/vmlinuz-linux root=UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034 rw cryptdevice=UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034:cryptroot quiet
    Do mkinitcpio -p linux but the hook ecrypt is there, so I assume it's a grub issue.
    In
    /etc/default/grub
    replace GRUB_CMDLINE_LINUX="cryptdevice=/dev/sda6:cryptroot" with actual UUID, etc.
    Grub config was made with
    grub-mkconfig -o /boot/grub/grub.cfg
    Grub was installed with
    grub-install --target=i386-pc --recheck /dev/sda
    Last edited by shape (2014-07-21 15:23:05)

    Welcome to the forum :-)
    Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309
    When posting configs, code or command output, please use [ code ] tags, not [ quote ] tags https://bbs.archlinux.org/help.php#bbcode
    like this
    It makes the code more readable and - in case of longer listings - more convenient to scroll through.

  • [Solved] Installed grsecurity, can't run shell scripts. :|

    Fixed, it was TPE.
    For anyone else with this issue, either add your users to the TPE trusted group, or disable TPE altogether.
    https://wiki.gentoo.org/wiki/Hardened/G … _Execution
    Last edited by TheReverend403 (2014-04-14 13:05:28)

    Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309

Maybe you are looking for