[Solved] Setting xterm to xterm-256color won't work as described

My goal was to set TERM to xterm-256color as described in the wiki but it doesn't work.
I tried to add xterm*termName: xterm-256color to ~/.Xresources (with .xinitrc containing [[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources) and /etc/X11/xinit/xinitrc. Merging the setting manually with  xrdb -merge ~/.Xresources was also without luck.
Additionally i tried to add the line export TERM=xterm256-color to /etc/profile and to a custom script in /etc/profile.d.
I've also checked if even the scripts were executed by creating a file with touch. The file was created, so /etc/profile was executed.
The only way to set TERM to xterm-256color was by adding export TERM=xterm256-color to my ~/.zshrc (~/.bashrc would've worked also), but this is the way how it should not be done and furthermore i would like to set xterm to use 256 colors system-wide.'
I use XFCE, gnome and gdm if this helps.
Last edited by klingt.net (2014-03-11 09:25:42)

Are you using xterm or are you using Xfce's Terminal app?  I ask because there has been confusion in the past about setting $TERM for Xfce's Terminal. See https://bbs.archlinux.org/viewtopic.php?id=175581
From the documentation for the Xfce Terminal Preferences, http://docs.xfce.org/apps/terminal/preferences, under Compatibility:
Emulation setting
    This specifies the terminal emulation. This does not only set the $TERM value, but also the input conversion of the VTE widget. By default this is set to xterm, if changed /etc/termcap will be read to get the emulation values.
    If you have an application that needs $TERM for correct functionality, it is better to set this manually in your ~/.bashrc file (or whatever shell you use) and set the terminal emulation as xterm to avoid incorrect characters in the Terminal.

Similar Messages

  • NoCommonGroups set to 1 TOAST messages won't work

    Hi,
    We use
    workspace manager software to manage shortscuts/printers/mappigs etc.
    For this software NoCommonGroups set to 1 (http://technet.microsoft.com/en-us/library/cc938264.aspx) because it replaces the default user shell.
    With Server 2008R2 this is working fine but with Server 2012R2 with NoCommonGroups set to 1 TOAST messages won't work anymore... So users won't
    receive notifications from e.g. Microsoft Outlook 2013.
    Any ideas on how to get TOAST messages / notifications working with NoCommonGroups set to 1 ?

    Hi Kevin,
    >>We use workspace
    manager software to manage shortscuts/printers/mappigs etc
    Before going further, which Workspace Manager software are we using, RES Workspace Manager? If this involves third party software, in order to get better help, we may aslo contact vendor support
    to ask for advice.
    In addition, I am not sure if this can be helpful but I tried searching around and found a similar topic published in RES library. If it's irrelevant with our situation, please just ignore
    it.
    Q204440 Microsoft Outlook 2013 TOAST messages not displayed in an RES Workspace Manager session
    https://support.ressoftware.com/modules/KnowledgeBase/knowledgebaseTreeView.aspx?id=4440&source=~/modules/KnowledgeBase/KnowledgeBase.aspx#.VEUO2sWSzBm
    Best regards,
    Frank Shen

  • Setting Keyboard Shortcuts for Services won't work

    I've tried to set Keyboard Shortcuts for Services like "New Terminal Tab from Folder" but it won't work. I even tried it on my friend's machine to no avail.
    Here's where I'm setting it up. And yes, I've turned on the checkbox & set the shortcut I want. I've even tried a few different keyboard shortcuts that are complicated to ensure that it's not competing with something else.
    To note, I'm using TotalFinder but my friend, whose machine I tested this on, doesn't.
    We are both running 10.8.2 on the latest MacBook Pro with Retina Display, 15".

    I have a similar scenario......except my services that I created run one time, and then won't run again. 
    For example, I created a service to open a new blank email message for me to type in.  I assigned Cntl-Opt-Comm-M to this service.  I hit the key sequence and it works the first time.....the mail window pops open. 
    If I then close the mail window that it spawned and do it again, no mail window opens.
    I also did this to create a blank Calendar event and also another one for Reminders. 
    They all run one time and then not again.
    Any ideas?

  • Trying to set up two POP accounts - won't work

    Hi there,
    I am trying to set up a second Yahoo account on Mail. It shares the same incoming and outgoing server as my original account I use through Mail. But the user name is different. I can't log in with this new email address. It keeps throwing up the message:
    'trying to log into the POP server "pop.mail.yahoo.com.au" has failed. Please make sure the username and password are correct. If you continue, you may not be able to receive any mail.'
    This IS true, if I continue with the set up of this account, I'm not able to receive any incoming mail.
    I have tried this countless times. I DEFINITELY have the right username and password for this second account.
    Is it not possible to set up another POP account with a different user name but the same server name?

    What targeting the Mail.app preference file, do the following:
    Quit the Mail.app first and using the Finder, go to Home > Library > Mail. Copy the Mail folder and place the copy on the Desktop for backup purposes.
    Using the Finder, go to Home > Library > Preferences > com.apple.mail.plist. Move the com.apple.mail.plist file to the Desktop.
    Note: Moving the com.apple.mail.plist file out of the Preferences folder will require re-entering all email account information when re-launching Mail.
    The only exception to this is if you have a .Mac account which will be recreated automatically and/or if you created an email account as part of the computer setup assistant when first turning on the computer when new.
    Launch Mail and decline any prompt to import mailboxes. After re-entering all email account information, the Mail.app should rediscover the existing account named folders and mailbox files at Home > Library > Mail.
    After confirming all mailboxes were successfully rediscovered, you can delete the copy of the Mail folder and old com.apple.mail.plist file from the Desktop.
    Test if this resolves the problem.

  • Set-up of orange email won't work

    I have tried all permutations when setting an email for my orange.net account with pop 3's and Ssl's to find that nothing works. I tried phoning ee several months ago and still cannot do this on my LG g2.
    Since orange changed to ee this is not possible I was informed.
    Is there a helpline I can use from my land-line that isn't 150 as I would like to talk and fix the phone at the same time?

    Please check all your Incoming & Outgoing Servers settings. The important ones should be like this:
    Incoming: Username: Your orange.net addy, Your Password, POP3 Server: pop.orange.net, Security: None, Port 110.
    Outgoing: SMTP Server: smtp.orange.net, Security: None, Port 587, Requires Sign-in, Username: Your orange.net addy, Your Password.
    It is perfectly possible to access Orange emails on an Android phone. I've been doing it for years on a Galaxy S3 with the above settings

  • [SOLVED] pacstrap /mnt base base-devel won't work

    Hello everybody
    I got an issue with reinstalling my Arch. I created a CD with the archlinux-2012.10.06-dual.iso and the new installation framework.
    I did the installation like the beginners guide its describe until i got an error with pacstrap
    the pacstrap command from the title ends for me in an inter-conflict with util-linux and eject. It says I should remove eject BUT there is no package to remove. And on the other way around there is no eject to install only utils-linux (pacman -S eject want to install utils-linux).
    what should i do? I know I act like a noob but i did it like the beginners guide told me. any suggestions?
    perhaps i overlooked something
    sincerely Troopa
    PS: if there are after this issue some similar issues what can a solution be there for?
    PSS: sorry, I'm swiss not american or briton
    Last edited by Troopa (2012-10-22 18:17:51)

    now i've tried to burn a CD again with the pacstrap and co. this time with md5 sum check (it was total equal) and on the fresh installed system ( with the old CD incl. AIF). it didn't work but now for some reason its not eject anymore but systemd-sysvcompat inter-conflicts with sysvinit. thats because from the "older" CD i did a kind of a workaround for eject, i don't know what i've done for that, sorry.
    i created the installation CD with wodim from cdrkit with follow command:
    wodim -v dev=/dev/cdrom archlinux-2012.10.06-dual.iso
    (output of the procedur is not accessable anymore but works fine i think)
    did I something wrong with it? is the command wrong or something else?

  • [solved] xfce keyboard shortcuts won't work, tried arch wiki solution

    Keyboard shortcuts defined in the xfce's keyboard settings don't work,  as described in the wiki:
    http://wiki.archlinux.org/index.php/Xfc … 7t_working
    When I kill xfce4-settings-helper the shortcuts work again. After restarting X the problem returns. I renamed '/etc/xdg/autostart/xfce4-settings-helper-autostart.desktop' and  '~/.config/autostart/xfce4-settings-helper-autostart.desktop' as described in the wiki, But the second file is regenerated  after restarting X. Does anyone know a good solution?
    Last edited by rwd (2010-10-30 21:06:33)

    R00KIE wrote:What do you have in your .bash_profile? If it was working before then the problem should be somewhere else but I know that some things might not work when calling startx from .bash_profile depending on what and how you do things.
    I never noticed if xfce's application shortcuts were working properly or not because I just started using them since a few weeks.
    Leonid.I wrote:EDIT: Most likely you have seen this, but just in case: http://forum.xfce.org/index.php?topic=5304.0
    That looks like the same thing indeed.
    It seems to be this bug which hasn't been fixed since over a year O_o.
    .bash_profile
    . $HOME/.bashrc
    if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
    startx
    fi
    .bashrc
    # Check for an interactive session
    [ -z "$PS1" ] && return
    #restrict umask for group from the default 022
    umask 0017
    # added to use bash aliases and colored prompt
    if [ -f /etc/profile.bash ]; then
    source /etc/profile.bash
    fi
    #added for the auojump package (need to be sourced after /profile.bash
    if [ -f /etc/profile ]; then
    source /etc/profile.d/autojump.bash
    fi
    .xinitrc
    #!/bin/sh
    exec ck-launch-session xfce4-session
    /etc/profile.bash
    # /etc/profile.bash
    # Global settings for bash shells
    PS1='[\u@\h \W]\$ '
    #PS2='> '
    #PS3='> '
    #PS4='+ '
    export PS1 PS2 PS3 PS4
    #In the future we may want to add more ulimit entries here,
    # in the offchance that /etc/security/limits.conf is skipped
    ulimit -Sc 0 #Don't create core files
    if test "$TERM" = "xterm" -o \
    "$TERM" = "xterm-color" -o \
    "$TERM" = "xterm-256color" -o \
    "$TERM" = "rxvt" -o \
    "$TERM" = "rxvt-unicode" -o \
    "$TERM" = "xterm-xfree86"; then
    PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
    export PROMPT_COMMAND
    fi
    PS1='\[\e[1;33m\][\u@\h \W]\$\[\e[0m\] '
    EDITOR=/usr/bin/nano
    #bash history
    HISTSIZE=1000
    HISTFILESIZE=1000
    # aliases
    alias ll='ls -al --group-directories-first --color=auto'
    alias la='ls -A --group-directories-first --color=auto'
    alias ..='cd ..'
    alias ...='cd ../..'
    alias ....='cd ../../..'
    alias .....='cd ../../../..'
    alias ping5='ping -c 5'
    alias lsa='ls -lah --group-directories-first --color=auto' # human readable (sizes) long and all ;-)
    alias lls='ls -l -h -g -F --group-directories-first --color=auto'
    alias lss='ls -shaxSrs --group-directories-first --color=auto' # sort by size
    alias lsd='ls -latr --group-directories-first --color=auto' # sort by date
    alias upgrade='sudo clyde -Syu --aur'
    function publicip {
    wget -q -O - checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'
    # alarm(string alarmtext,num minutes )
    function alarm() {
    zenity --notification --timeout=$[$2 * 60] --window-icon=/usr/share/icons/gnome/scalable/status/appointment-soon.svg --text "alarm set for: $1 in $2 minutes" &
    sleep $2 $(($2 * 60)) && zenity --warning --text "$1" &
    # search bash history
    function hist {
    history | grep -i "${1}"
    # find filename in current directory and beneath
    function fnd {
    find . -iname "*${1}*" | more
    # find string in documents in current directory and beneath
    function grp {
    egrep -ri ''"${1}"'' . | more
    # search shoutcast channels by name/description/genre/current song
    function shoutcast {
    shoutcast-search $* -b ">96" -l ">10" \
    --format="%s\ngenre: %g\ncurrent track: %p\nbitrate: %b\nlisteners: %l\nurl: %u\n" \
    | more
    in ~/.config/autostart I have a few items that only contain :
    [Desktop Entry]
    Hidden=True
    And this one:
    [Desktop Entry]
    Hidden=true
    [Desktop Entry]
    Encoding=UTF-8
    Version=0.9.4
    Type=Application
    Name=xorg_fix
    Comment=scripts that need to be delayed to run
    Exec=/home/user1/documents/shellscripts/xorg_fix_delayed.sh
    StartupNotify=false
    Terminal=false
    Hidden=false
    In xorg_fix_delayed.sh I have put some things that wouldn't always be executed if I put them in a normal startup item or if  I put them in .xinitrc:
    xorg_fix_delayed.sh
    #!/bin/bash
    sleep 6
    # upnp shares mount
    #djmount ~/network/upnp &
    # mpd
    mpd ~/.mpd/mpd.conf &
    # disable trackpad during typing
    syndaemon -d -i 2 &
    # tint
    /usr/bin/tint2 &
    # trayer
    /usr/bin/trayer --transparent true --expand true --alpha 256 --tint 0x000000 --height 24 --widthtype request --SetDockType true $
    # xmodmap
    /usr/bin/xmodmap /home/user1/.Xmodmap &
    # conky
    /usr/bin/conky &
    # workaround for xfce shortcuts
    killall xfce4-settings-helper &
    # sshfs share
    ~/documents/shellscripts/sshfs_arch-server_mount.sh &
    Last edited by rwd (2010-10-29 18:56:10)

  • [SOLVED] Setting primary monitor with TwinView

    Good day to you all.
    I have been sitting with this problem for surely 5hrs+ and i haven't been able to solve it yet. How the hell do i set up TwinView so that my left monitor becomes the primary monitor instead of my right one?
    My xorg.conf is the following:
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig: version 270.41.19 ([email protected]) Mon May 16 23:52:12 PDT 2011
    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0"
    Screen 1 "Screen1" RightOf "Screen0"
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    EndSection
    Section "Files"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Unknown"
    HorizSync 28.0 - 33.0
    VertRefresh 43.0 - 72.0
    Option "DPMS"
    EndSection
    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    Option "TwinViewXineramaInfoOrder" "DFP"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "TwinView" "true"
    Option "MetaModes" "nvidia-auto-select, nvidia-auto-select"
    SubSection "Display"
    Depth 24
    Modes "1920x1200"
    EndSubSection
    EndSection
    Section "Monitor"
    Identifier "Monitor1"
    VendorName "Unknown"
    ModelName "Unknown"
    Option "DPMS"
    EndSection
    Section "Device"
    Identifier "Device1"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    EndSection
    Section "Screen"
    Identifier "Screen1"
    Device "Device1"
    Monitor "Monitor1"
    DefaultDepth 24
    Option "TwinView" "true"
    Option "MetaModes" "nvidia-auto-select, nvidia-auto-select"
    SubSection "Display"
    Depth 24
    Modes "1440x900"
    EndSubSection
    EndSection
    So basically, Screen0 would be my primary screen, and Screen1 would be the secondary screen and be right of Screen0 but somehow the intended Screen0 becomes Screen1 and therefore is put right to my secondary monitor and my secondary monitor becomes the primary one.
    And before you suggest anything, i've tried using nvidia-settings as root and everything, but it still refuses to save the configuration to xorg.conf. And even after saving the nvidia configuration file and putting "nvidia-settings --load-config-only", it doesn't load. All settings are reset and i need to go into nvidia-settings again and redo it manually. Even though it works, it's a bit of a hassle everytime i need to do that, i rather just go into xorg and edit it manually.
    Last edited by Median (2011-06-03 15:33:07)

    You were correct with not needing multiple screen sections with TwinView, but you do need to specify at least one screen section. Otherwise it won't work.
    Anyway, i kinda solved it with your solution by adding those options to the screen section instead.
    Section "ServerLayout"
    Identifier "Default Layout"
    Screen "Default Screen" 0 0
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    EndSection
    Section "Files"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Unknown"
    HorizSync 28.0 - 33.0
    VertRefresh 43.0 - 72.0
    Option "DPMS"
    EndSection
    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    EndSection
    Section "Screen"
    Identifier "Default Screen"
    Device "Device0"
    Monitor "Monitor0"
    Option "TwinViewXineramaInfoOrder" "DFP-0, CRT-1"
    Option "TwinViewOrientation" "CRT-1 RightOf DFP-0"
    Option "TwinView" "True"
    Option "MetaModes" "nvidia-auto-select, nvidia-auto-select"
    SubSection "Display"
    Modes "nvidia-auto-select"
    EndSubSection
    EndSection
    At least it works fine now! Thanks.

  • I have an ipad air and I'm trying to set up a telus email on it but it won't work. I keep getting a message saying username or password for IMAP is incorrect...please help!

    I have an ipad air and I'm trying to set up a telus email on it but it won't work. I keep getting a message saying username or password for IMAP is incorrect...please help!

    This has nothing to do with iPhoto. When I have this type of problem I call tech support for my email service. They probably are the only source of the correct settings
    LN

  • I am having a big problem. I am not getting notifications from snapchat and only snapchat. I've made sure every notification setting was on and it just won't work. I have also restored my phone and deleted the app and re-downloaded it multiple times. Help

    I am having a big problem. I am not getting notifications from snapchat and only snapchat. I've made sure every notification setting was on and it just won't work. I have also restored my phone and deleted the app and re-downloaded it multiple times. It just wont give me my notifications. Help please.

    Go to Settings > Privacy > Location Services.
    Turn off SnapChat.
    Go to Settings > Notification Center
    Turn off SnapChat.
    Restart the device.
    Go to Settings > Privacy > Location Services.
    Turn on SnapChat.
    Go to Settings > Notification Center
    Turn on SnapChat.
    Test the issue.

  • Javascript or applet dropdown menus won't work in IE6, How can I solve this

    I've made some dropdownmenu's of javascript and one of java applets. But they don't work in IE6. If IE6 is installed they won't work either. My friend has IE5.5 and he has no problems with the menus. How can you make them work.
    And how can you change the z-index of a javascipt/applet? How do you make a dropdownmenu that's put in the topframe slide over the mainframe?

    Perhaps someone could help me with the following question:
    I have a menu that cascades out of the Applet box. My question is:
    How do I close the menu without clicking on the Applet box? - i.e. if the user clicks on the HTML area of the WEB-PAGE, or simply waits a second or 2, the menu should collapse?
    I notice that this is actually the default behavior for the AWT classes - but then you can't set background colors etc. I need the same kind of behavior, but using Swing classes.
    Would appreciate any assistance or advice...

  • I set up a new airport time capsule. Most devices work fine however now my apple tv 2nd gen won't work.

    I set up a new airport time capsule. Most devices connected fine however now my apple tv 2nd gen won't work. I turn it on and it searches for time and date but goes no further. I can't by pass it either. Any suggestions?

    I can't by pass it either. Any suggestions?
    Does that mean you cannot move it to the TC and plug in by ethernet? What does bypass mean?
    I would still move it closer to the TC.. and just trial it there. Range on some AC models for 2.4ghz is worse than old one. For some people.
    Another thing to try is fixed wireless channels.. one of the very few options still available in the AC model.. lock the 2.4ghz to 11, 6, 1 .. try it in that order.

  • 'set text of container' won't work in IE8

    (I'm resubmitting this discussion as I wrote the wrong version of IE in my last post).
    Hoping someone can help
    At the moment I am using 'swap image' to change the text that appears within one container when I hover over different buttons.
    I am using images of text rather than text itself because I have found that the 'set text of container' won't work when tested in IE8 (which is important for me). This makes the page much slower to load than it should be.
    It works perfectly in Firefox and Safari but not in IE8.
    Below is a link to my site page which shows how it should work (even though it's currently just images not text)
    http://www.lindengraphics.com.au/feedback.html
    And below is the coding which appears when I set the page using 'set text of container'.
    <div id="apDivthumb1"><img src="assets/client_feedback/fdb_thumb1.jpg" alt="thumnbail1" name="fdb_thumb1" width="43" height="43" id="fdb_thumb1" onmouseover="MM_setTextOfLayer('feedbacktbl','','&quot;Example of text I have written.&quot;')" /></div>
    <div id="apDivthumb2"><img src="assets/client_feedback/fdb_thumb2.jpg" alt="thumbnail2" width="43" height="43" onmouseover="MM_setTextOfLayer('feedbacktbl','','&quot;Example of text I have written.&quot;')" /></div>   etc etc
    I've taught myself Dreamweaver so am still fairly new to it and coding (although not new to website design) so please explain things in simple terms so that it's clear for me.
    If anyone has the time to help me with this it would be really appreciated!!
    Many thanks in advance, Michelle

    Good News!
    There is no problem in any version of IE on a windows based machine.

  • Can't export to thumbdrive.  I have saved to a folder on the desktop, and it still won't work.  Do I need to change a setting?

    Can't export photos to a thumbdrive.  I have saved them to a folder on the desktop, and it still won't work.  Do I need to change a setting?

    I have saved them to a folder on the desktop, and it still won't work.
    What still won't work?  You have the photos in a folder on the Desktop, right?  So what happens when you drag that folder onto the thumbdrive? Many such drives have a slider lock switch.  Make sure it's not in the locked position. 
    Otherwise give us more detailed info on your setup and issue.
    OT

  • [SOLVED]grub-mkconfig won't work

    Hi!
    I'm running grub2, and today grub-mkconfig stopped working: this is the error:
    sudo grub-mkconfig -o /boot/grub/grub.cfg
    Creazione di grub.cfg...
    Trovata immagine linux: /boot/vmlinuz-netbook
    Trovata immagine linux: /boot/vmlinuz-3.4.9-1-i686-arch
    Trovata immagine initrd: /boot/initramfs-3.4.9-1-i686-arch.img
    Found memtest86+ image: /boot/memtest86+/memtest.bin
    No volume groups found
    Trovato Arch Linux su /dev/sda3
    /usr/sbin/grub-mkconfig: line 269: 8481 Errore di segmentazione ${grub_script_check} ${grub_cfg}.new
    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.fatto
    This is my /etc/default/grub:
    GRUB_DEFAULT=saved
    GRUB_TIMEOUT=0
    GRUB_DISTRIBUTOR="Archlinux"
    GRUB_CMDLINE_LINUX_DEFAULT="quiet rootfstype=ext4 add_efi_memmap logo.nologo fastboot raid=noautodetect libahci.ignore_sss=1 loglevel=3 pcie_aspm=force i915.i915_enable_rc6=3 i915.lvds_downclock=1 ipv6.disable=1 resume=swap:/dev/sda3:0x5d0000 "
    GRUB_CMDLINE_LINUX=""
    # If you want to enable the save default function, uncomment the following
    # line, and set GRUB_DEFAULT to saved.
    GRUB_SAVEDEFAULT=false
    # 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=0
    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-gray/black"
    GRUB_COLOR_HIGHLIGHT="green/black"
    # Uncomment one of them for the gfx desired, a image background or a gfxtheme
    GRUB_BACKGROUND="/usr/share/grub/background.png"
    #GRUB_THEME="/path/to/gfxtheme"
    # Uncomment to get a beep at GRUB start
    #GRUB_INIT_TUNE="480 440 1"
    I only set a swapfile to be used by tuxonice, then add the proper line there, in /etc/default/grub.
    May be i made some mistakes? I tried to remove the resume= parameter, but it won't work anyway...
    Thank you!
    Last edited by nierro (2012-08-23 22:32:46)

    The resume parameter is different from the normal resume= because i'm using a swap file
    Btw, this is the error message without resume parameter, in english:
    LC_ALL=C sudo grub-mkconfig -o /boot/grub/grub.cfg
    Generating grub.cfg ...
    Found linux image: /boot/vmlinuz-netbook
    Found linux image: /boot/vmlinuz-3.4.9-1-i686-arch
    Found initrd image: /boot/initramfs-3.4.9-1-i686-arch.img
    Found memtest86+ image: /boot/memtest86+/memtest.bin
    No volume groups found
    Found Arch Linux on /dev/sda3
    error: syntax error.
    error: Incorrect command.
    error: syntax error.
    /usr/sbin/grub-mkconfig: line 269: 5859 Segmentation fault ${grub_script_check} ${grub_cfg}.new
    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
    Last edited by nierro (2012-08-23 22:01:33)

Maybe you are looking for