[SOLVED]Color Bash Prompt help

So I have been customizing my arch box and everything has been great except for one problem; the bash color prompt. I am kind of running a color screen where I am using the same shade of green, blues, grays, etc. I would like to continue that with my bash color prompt. However it seems to use some weird numbering system for its colors that I am not familiar with. I know that there is a way to use 256 colors, but I am not sure how.
So for example I would like to have this shade of green from bash  0;32m' as this #87d75f  in html notation.
Is there a way for this to be done? Thanks.
Last edited by NoxSec (2011-07-15 20:52:08)

The prompt inherits colours from those specified in .Xresources https://wiki.archlinux.org/index.php/Xresources

Similar Messages

  • [SOLVED] Color Bash Prompt - Arch Latest News w/o description

    Hi everybody, i'm trying to get the Arch Latest News in the bash profile when terminal starts. I followed the wiki https://wiki.archlinux.org/index.php/Co … s_at_logon and I can show the latest news without problems. What I want to do is to show only the titles and links, without description, that uses much space in the terminal. I tried to figure out what lines I should delete in the /etc/bash.bashrc file but.. you know the sintax is pretty obscure for the most of us (at least for me). I see that there is a description line.. but, really I can't manage this. How can I do this? Thanks in advance.
    Last edited by crixus-ita (2013-01-17 13:42:43)

    Here's one way of doing it:
    echo -e "$(echo $(curl --silent https://www.archlinux.org/feeds/news/ | sed -e '
    :a;N;$!ba;s/\n/ /g') | \
    sed -e 's/&/\&/g
    s/&lt;\|&#60;/</g
    s/&gt;\|&#62;/>/g
    s/<\/a>/£/g
    s/href\=\"/§/g
    s/<title>/\\n\\n\\n :: \\e[01;31m/g; s/<\/title>/\\e[00m ::\\n/g
    s/<link>/ [ \\e[01;36m/g; s/<\/link>/\\e[00m ]/g
    s/<description>/\\n\\n\\e[00;37m/g; s/<\/description>/\\e[00m\\n\\n/g
    s/<p\( [^>]*\)\?>\|<br\s*\/\?>/\n/g
    s/<b\( [^>]*\)\?>\|<strong\( [^>]*\)\?>/\\e[01;30m/g; s/<\/b>\|<\/strong>/\\e[00;37m/g
    s/<i\( [^>]*\)\?>\|<em\( [^>]*\)\?>/\\e[41;37m/g; s/<\/i>\|<\/em>/\\e[00;37m/g
    s/<u\( [^>]*\)\?>/\\e[4;37m/g; s/<\/u>/\\e[00;37m/g
    s/<code\( [^>]*\)\?>/\\e[00m/g; s/<\/code>/\\e[00;37m/g
    s/<a[^§|t]*§\([^\"]*\)\"[^>]*>\([^£]*\)[^£]*£/\\e[01;31m\2\\e[00;37m \\e[01;34m[\\e[00;37m \\e[04m\1\\e[00;37m\\e[01;34m ]\\e[00;37m/g
    s/<li\( [^>]*\)\?>/\n \\e[01;34m*\\e[00;37m /g
    s/<!\[CDATA\[\|\]\]>//g
    s/\|>\s*<//g
    s/ *<[^>]\+> */ /g
    s/[<>£§]//g
    ')\n\n" | grep -E "^( :| \[)";
    The change is the addition of the grep command at the very end.

  • Color Bash prompt Wiki needs editing [SOLVED]

    Howdy archers
    I didn't know where else or who I should contact for this....
    but I found something that "may" need editing on this part of the wiki     http://wiki.archlinux.org/index.php/Color_Bash_Prompt
    the part where it says     * Edit root's Bash file; copy it from /etc/skel if the file is not present:
    # nano /root/.bash_profile
    I tried this over and over again with no luck... then I figured out that the info on the wiki was incorrect... you are not suppose
    copy ".bash_profile" to /root     you are suppose to copy    ".bashrc" over to /root and add what you want in it... otherwise
    no changes take effect
    cheers
    Last edited by kaddy (2010-05-26 09:24:36)

    oh yeah... I forgot anybody can edit the arch wiki... will do

  • [solved]Gentoo Bash Prompt not working in X

    Hi
    I'm using this .bashrc from AUR:
    http://aur.archlinux.org/packages.php?ID=18418 
    it is said to be the standard bashrc from gentoo.
    It works with xterm, but I now installed urxvt (256 color) and it doesn't work any more, my prompt ist not colored any more.
    I'm not familiar with bash scripting, perhaps someone could have a look.
    The Problem ist not my .Xdefaults, I tried with an empty one. I also did "source .bashrc".
    Last edited by lustikus (2010-01-11 12:24:28)

    thanks for testing it.
    This is my .bashrc. I did not change anything:
    # /etc/bash/bashrc
    # This file is sourced by all *interactive* bash shells on startup,
    # including some apparently interactive shells such as scp and rcp
    # that can't tolerate any output. So make sure this doesn't display
    # anything or bad things will happen !
    # Test for an interactive shell. There is no need to set anything
    # past this point for scp and rcp, and it's important to refrain from
    # outputting anything in those cases.
    if [[ $- != *i* ]] ; then
    # Shell is non-interactive. Be done now!
    return
    fi
    # Bash won't get SIGWINCH if another process is in the foreground.
    # Enable checkwinsize so that bash will check the terminal size when
    # it regains control. #65623
    # http://cnswww.cns.cwru.edu/~chet/bash/FAQ (E11)
    shopt -s checkwinsize
    # Enable history appending instead of overwriting. #139609
    shopt -s histappend
    # Change the window title of X terminals
    case ${TERM} in
    xterm*|rxvt*|Eterm|aterm|kterm|gnome*|interix)
    PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
    screen)
    PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'
    esac
    use_color=false
    # Set colorful PS1 only on colorful terminals.
    # dircolors --print-database uses its own built-in database
    # instead of using /etc/DIR_COLORS. Try to use the external file
    # first to take advantage of user additions. Use internal bash
    # globbing instead of external grep binary.
    safe_term=${TERM//[^[:alnum:]]/?} # sanitize TERM
    match_lhs=""
    [[ -f ~/.dir_colors ]] && match_lhs="${match_lhs}$(<~/.dir_colors)"
    [[ -f /etc/DIR_COLORS ]] && match_lhs="${match_lhs}$(</etc/DIR_COLORS)"
    [[ -z ${match_lhs} ]] \
    && type -P dircolors >/dev/null \
    && match_lhs=$(dircolors --print-database)
    [[ $'\n'${match_lhs} == *$'\n'"TERM "${safe_term}* ]] && use_color=true
    if ${use_color} ; then
    # Enable colors for ls, etc. Prefer ~/.dir_colors #64489
    if type -P dircolors >/dev/null ; then
    if [[ -f ~/.dir_colors ]] ; then
    eval $(dircolors -b ~/.dir_colors)
    elif [[ -f /etc/DIR_COLORS ]] ; then
    eval $(dircolors -b /etc/DIR_COLORS)
    fi
    fi
    if [[ ${EUID} == 0 ]] ; then
    PS1='\[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] '
    else
    PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] '
    fi
    alias ls='ls --color=auto'
    alias grep='grep --colour=auto'
    else
    if [[ ${EUID} == 0 ]] ; then
    # show root@ when we don't have colors
    PS1='\u@\h \W \$ '
    else
    PS1='\u@\h \w \$ '
    fi
    fi
    # Try to keep environment pollution down, EPA loves us.
    unset use_color safe_term match_lhs
    I also made a screenshot with xterm and urxvt in comparison:

  • ::SOLVED:: change bash prompt while in ssh

    I'm learning how to use bash bit by bit, but came up with a question I'm not certain how to solve.  I learned some time ago about setting the PS1 variable to customize the shell prompt, and have a nice prompt I like using.  However, it would be nice to have the prompt be flagged if I'm logged in through ssh as opposed to directly on the computer itself.  How could I do this?
    One thought I had was to check to see if certain environment variables exist (eg. $SSH_CONNECTION).
    Doing if [ $SSH_CONNECTION ]; then ... fi gives an error about too many arguments.  None of the other SSH related variables seem to be just a number value.  Is there a way to test for the existence of a variable in bash?
    Last edited by beretta (2009-05-07 20:44:06)

    Procyon wrote:What you want is [ -n "$SSH_CONNECTION" ] (variable is set/nonzero length) or the opposite [ -z "$SSH_CONNECTION" ] (variable is not set/zero length)
    Thanks-- that got it.  I was missing the quotes, so it was expanding at the spaces rather than interpreting the entire thing as a string.

  • [Solved] Change bash prompt listing in terminal

    Hi,
    I've always used c-shell for ease in writing shell scripts. I'm interested in moving to bash and just using c-shell for scripting.
    In a .cshrc I can do something like this:
    if [ -o /bin/su ]; then
    set prompt="%{\e]2\;%t - %m:%/^g\e]1\;%m^g\r%}%B:%m%b# "
    else
    set prompt="%{\e]2\;%t - %m:%/^g\e]1\;%m^g\r%}%B:%m%b$ "
    fi
    I edited the if statement for what an if statement should look like in bash. This, however, doesn't work. I'm assuming the word "prompt" is wrong. How do I get this working in bash?
    EDIT: SEEMS LIKE THIS DID IT!
    PS1="\u@\h:\w#
    Last edited by playdafunkimuzic (2009-08-27 18:29:51)

    export PS1="whatever" is the way to set the prompt in bash.  not sure bout that -o are you checking for root? if so, [ $(id -u) -iq 0 ] returns true for root.

  • [SOLVED]Bash prompt colors different in console as opposed in terminal

    Hi
    EDIT: I have solved the problem by copying /etc/skel/.bash_profile to my home directory.
    Today i updated the system and the bash prompt is fine in my terminal (KDE Konsole or in Xterm) but not in consoles. For normal user (blue colors) i use this settings in the $HOME/.bashrc file:
    PS1='[\e[0;36m\u\e[0m@\e[0;36m\h\e[0m]─[\e[0;33m\w\e[0m]\n└─\$ '
    For root (red color) /root/.bashrc:
    PS1='[\e[1;31m\u\e[0m@\e[1;31m\h\e[0m]─[\e[0;33m\w\e[0m]\n└─\$ '
    Now, if i login in console as a normal user it doesn't display blue color but red as if i was root user. Like i said in xterm or KDE Konsole it looks just fine. The case is that consoles don't use my .bashrc file and use instead /etc/bash.bashrc file: Here is my /etc/bash.bashrc file:
    # /etc/bash.bashrc
    # If not running interactively, don't do anything
    [[ $- != *i* ]] && return
    #PS1='[\u@\h \W]\$ '
    PS1='[\e[1;31m\u\e[0m@\e[1;31m\h\e[0m]─[\e[0;33m\w\e[0m]\n└─\$ '
    PS2='> '
    PS3='> '
    PS4='+ '
    case ${TERM} in
    xterm*|rxvt*|Eterm|aterm|kterm|gnome*)
    PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"'
    screen)
    PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033_%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"'
    esac
    [ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion
    export EDITOR=/usr/bin/nano
    Here is my today's update:
    [2012-07-06 08:54] upgraded linux-api-headers (3.3.8-1 -> 3.4.4-1)
    [2012-07-06 08:54] warning: /etc/locale.gen installed as /etc/locale.gen.pacnew
    [2012-07-06 08:54] Generating locales...
    [2012-07-06 08:54] en_GB.UTF-8... done
    [2012-07-06 08:54] en_GB.ISO-8859-1... done
    [2012-07-06 08:54] Generation complete.
    [2012-07-06 08:54] upgraded glibc (2.15-12 -> 2.16.0-1)
    [2012-07-06 08:54] upgraded binutils (2.22-7 -> 2.22-8)
    [2012-07-06 08:54] upgraded dbus-core (1.6.0-5 -> 1.6.2-2)
    [2012-07-06 08:54] upgraded dbus (1.6.0-1 -> 1.6.2-1)
    [2012-07-06 08:54] upgraded device-mapper (2.02.96-2 -> 2.02.96-3)
    [2012-07-06 08:54] upgraded gcc-libs (4.7.1-3 -> 4.7.1-4)
    [2012-07-06 08:54] upgraded gcc (4.7.1-3 -> 4.7.1-4)
    [2012-07-06 08:54] upgraded grep (2.12-1 -> 2.13-1)
    [2012-07-06 08:54] upgraded initscripts (2012.06.3-1 -> 2012.06.3-2)
    [2012-07-06 08:54] upgraded libpurple (2.10.4-2 -> 2.10.5-1)
    [2012-07-06 08:54] upgraded libusb-compat (0.1.4-1 -> 0.1.4-2)
    [2012-07-06 08:54] upgraded lvm2 (2.02.96-2 -> 2.02.96-3)
    [2012-07-06 08:54] upgraded mpfr (3.1.0.p10-1 -> 3.1.1-1)
    Is it a problem in yesterday's pam upgrade? Yesterday i have moved /etc/pam.d/login.pacnew to /etc/pam.d/login. I didn't backup the old file. My bad. Weird thing is also this that today my KDE session crashed (for the first time) when i have used dd to burn image on my USB.
    Last edited by Shark (2012-07-06 08:40:31)

    Procyon wrote:What you want is [ -n "$SSH_CONNECTION" ] (variable is set/nonzero length) or the opposite [ -z "$SSH_CONNECTION" ] (variable is not set/zero length)
    Thanks-- that got it.  I was missing the quotes, so it was expanding at the spaces rather than interpreting the entire thing as a string.

  • Bash prompt vs Zsh prompt problem [SOLVED]

    I have set up my .zshrc and it works perfectly
    function bat1()
    echo $(( $(awk ' /remaining/ {print $3} ' /proc/acpi/battery/BAT0/state) * 100 / 71590 ))
    # 71590 is the capacity of my #1 bat in mWh
    function bat2()
    echo $(( $(awk ' /remaining/ {print $3} ' /proc/acpi/battery/BAT1/state) * 100 / 46620 ))
    # 46620 is the capacity of my #2 bat in mWh
    #Right-side zsh promp :
    RPROMPT=' $PR_RED$(bat1)/$(bat2)$PR_NO_COLOR'
    Each time I get a new prompt(when a command finishes or I simply type <Return>) the battery info is updated.
    Now let's consider bash :
    Same functions, same way of working :
    PS1="$(bat1)/$(bat2) >"
    The problem is that bash does not automatically update the battery info. I need to source my .bashrc, which is, of course, a real pain.
    Can any bash guru help me to find a solution to make bash work like zsh ?

    Try
    PS1="$(bat1)/$(bat2) >"

  • [Solved] Yaourt + bash problem?

    Hello.
    For couple of weeks I am occasionally seeing a strange problem.
    When I use Yaourt I get some issues that I suspect might be caused by some bash configuration problem.
    Here is the output:
    $ yaourt -Syua
    You are not allowed to launch pacman with sudonPlease enter root password
    Password:
    :: Synchronizing package databases...
    core 37.1K 3.6M/s 00:00:00 [############################################] 100%
    extra 466.7K 467.0K/s 00:00:01 [############################################] 100%
    community 430.5K 824.4K/s 00:00:01 [############################################] 100%
    archlinuxfr is up to date
    aspell-sk: up to date
    bleachbit-svn: up to date
    argyllcms: up to date
    exfalso: up to date
    cairo-ubuntu: up to date
    eclipse-classic: not found on AUR
    doublecmd-svn: (local=3050-1 aur=3047-1)
    caffeine: (ignoring package upgrade)
    firefox4: up to date
    florence: up to date
    freetype2-ubuntu: up to date
    gnome-theme-bamboo-zen: up to date
    gnome-theme-eco: up to date
    gnome-theme-ellanna: up to date
    gnome-theme-exotic: up to date
    gnome-theme-industrial: up to date
    gnome-theme-infinity: up to date
    gnome-theme-orange: up to date
    gnome-theme-step-into-freedom: up to date
    gnome-theme-showtime: up to date
    gnome-theme-tropical: up to date
    gnome-theme-ubuntu-sunrise: up to date
    gnome-theme-wild-shine: up to date
    google-earth: up to date
    google-talkplugin: up to date
    gtk-candido-engine: up to date
    graveman: up to date
    gnome-theme-airlines: up to date
    ld-lsb: up to date
    gwget: up to date
    libjpeg: not found on AUR
    libjpeg6: up to date
    fontconfig-ubuntu: up to date
    murrine-themes-collection: up to date
    packer: (local=20110305-1 aur=20110301-1)
    openssl-compatibility: up to date
    phatch: up to date
    gnome-theme-split: up to date
    libxft-ubuntu: up to date
    pidgin-gtalksharedstatus: up to date
    qgtkstyle-svn: not found on AUR
    rawtherapee-hg: (local=374-1 aur=201-1)
    qshntoolsplit: up to date
    remobo: up to date
    remotedroid-server: up to date
    ttf-ms-fonts: up to date
    humanity-icons: up to date
    ttf-ubuntu-family-fonts: not found on AUR
    virtualbox-ext-oracle: up to date
    util-linux-ng: not found on AUR
    teamviewer: up to date
    xcalib: up to date
    gnome-color-manager: up to date
    gnome-theme-aquadreams: up to date
    xxe: up to date
    ==> Package upgrade only (new release):
    core/mkinitcpio 0.6.8-1 1 -> 2
    extra/krusader 2.3.0beta1-2 2 -> 3
    extra/mplayer 32792-2 2 -> 3
    extra/network-manager-applet 0.8.2-2 2 -> 3
    community/jre 6u24-1 1 -> 2
    community/jdk 6u24-1 1 -> 2
    aur/android-sdk r10-1 1 -> 2
    ==> Software upgrade (new version) :
    core/dhcpcd 5.2.10-1 -> 5.2.11-1
    core/iw 0.9.20-1 -> 0.9.22-1
    core/ncurses 5.7-4 -> 5.8-1
    core/kernel26 2.6.37.1-1 -> 2.6.37.2-1
    core/kernel26-headers 2.6.37.1-1 -> 2.6.37.2-1
    core/libmpc 0.8.2-3 -> 0.9-1
    core/ppl 0.11-1 -> 0.11.2-1
    core/shadow 4.1.4.2-4 -> 4.1.4.3-1
    extra/libgl 7.10.0.git20110215-1 -> 7.10.1-1
    extra/ati-dri 7.10.0.git20110215-1 -> 7.10.1-1
    extra/kdelibs 4.6.0-3 -> 4.6.1-1
    extra/oxygen-icons 4.6.0-1 -> 4.6.1-1
    extra/kdebase-runtime 4.6.0-2 -> 4.6.1-1
    extra/kdebase-workspace 4.6.0-3 -> 4.6.1-1
    extra/kdepimlibs 4.6.0-1 -> 4.6.1-1
    extra/mesa 7.10.0.git20110215-1 -> 7.10.1-1
    extra/mobile-broadband-provider-info 20100510-1 -> 20110218-1
    extra/thunderbird 3.1.7-3 -> 3.1.9-1
    community/wine 1.3.14-1 -> 1.3.15-1
    archlinuxfr/yaourt 0.9.5.1-1 -> 0.9.5.2-1
    aur/desktop-privileges 0.1-2 -> 0.2-2
    aur/xulrunner-system-cairo 1.9.2.13-4 -> 1.9.2.15-1
    ==> New package :
    /usr/bin/yaourt: eval: line 24: syntax error near unexpected token `required'
    /usr/bin/yaourt: eval: line 24: `echo (required by $requiredbypkg)'
    core/util-linux 2.19-4
    ==> Continue upgrade ? [Y/n]
    ==> [V]iew package detail [M]anually select packages
    ==> --------------------------------------------------
    ==> n
    Please note the first problem:
    "You are not allowed to launch pacman with sudonPlease enter root password"
    I checked the line of code and it reads:
    "echo -e $(eval_gettext 'You are not allowed to launch $command with sudo\nPlease enter root password') 1>&2"
    So obviously, the "\n" direction is not respected here. I tried to reproduce this problem in my bash prompt, but there everything seems to work as expected.
    $ echo -e "aaaa\nbbbb"
    aaaa
    bbbb
    After upgrade to the latest Yaourt version (0.9.5.2-1) this is gone and Yaourt only promps like this:
    $ yaourt -S yaourt
    Password:
    But there is second problem:
    /usr/bin/yaourt: eval: line 24: syntax error near unexpected token `required'
    /usr/bin/yaourt: eval: line 24: `echo (required by $requiredbypkg)'
    Which is still persistent and was not solved by version upgrade. I have feeling in the gut, that it might have the same culprit.
    I also have second Archlinux box (notebook) with installation that is very similar to this one. I have cloned it, but removed some packages. Most of the system is the same. This problem is not present there and Yaourt works fine.
    I know that Yaourt is not officially supported and there are other frontends, but I prefer Yaourt.
    Does anyone have idea what might be the problem?
    Thanks.
    Last edited by Raqua (2011-03-10 18:46:04)

    With regard to the sudo problem:  sudo recently underwent an upgrade that featured a rewriting of its plugins, including /etc/sudoers; I noticed the same issues for a couple days.  Add your user to the "wheel" group again, and it should clear things up.

  • Colored Bash

    Hey. So right now in my .bashrc I'm using the following lines to color my bash prompt:
    PS1='\[\e[1;35m\]\u\[\e[m\] \[\e[1;34m\]\W\[\e[m\] \[\e[1;31m\]> \[\e[0;37m\]'
    PS2='>'
    so my normal text atm is white, but I'd really love to have it just as my default system text color. The problem is if I reset it with 'tput sgr0' then I have some strange problems. any other way to reset it?

    Stythys wrote:
    Hey. So right now in my .bashrc I'm using the following lines to color my bash prompt:
    PS2='>'
    so my normal text atm is white, but I'd really love to have it just as my default system text color. The problem is if I reset it with 'tput sgr0' then I have some strange problems. any other way to reset it?
    PS1='\[\e[1;35m\]\u\[\e[m\] \[\e[1;34m\]\W\[\e[m\] \[\e[1;31m\]> \[\e[0;37m\]'
                                                                                                            ^--------^ This part is turning it white.
    What color do you want it?

  • Tired of writing your own bash prompt?

    I realized a few days ago that I got tired of looking up arcane bash escape sequences just to customize my bash prompt. In the open source fashion, I wrote a gui in pyGTK that will automatically make one for you, if you just pick the things you want from a menu. It's not really done yet and there's still stuff that I need to add to it, but I thought i'd see if anyone around here had any comments, or would find it useful.
    Check it out: https://github.com/wisp558/promptool
    It's worth noting that I only implemented 3 of the most common bash variables, but I should fix that soon. (and the bold button is broken)
    Last edited by wisp558 (2011-08-19 09:31:46)

    Doomcide wrote:Nice! Good to see how this project develops . Another suggestion I have, is to add bright color (e.g.: \e[1;30m) support.
    Yeah, I plan to. Other things I'm looking at include a place to select the text color, (It'll use the last color in the prompt), background colors, underlined things and changing the whole textview background (I use a black urxvt, personally). I may even add a thing to save prompts or something. I might add an option to append the PS1 to one's ~/.bashrc, making the gui display the finished prompt rather than the terminal and more! I have plenty of ideas left!
    As a note, the escape you posted is just the bold option I already have. There is a high intensity option in bash, which I will look into, although it does nothing in my terminal. Those are things like '\e[0;90m' and its  friends.
    Thanks for your feedback, guys.

  • My iPad shows a message "Cannot find AirPrint printer". I used to use my iPad to print materials using HP wireless printer D110. Now it does not want to print. Is this because I am now using IOS 7? What should I do to solve the problem? Help please.

    My iPad shows a message "Cannot find AirPrint printer". I used to use my iPad to print materials using HP wireless printer D110. Now it does not want to print. Is this because I am now using IOS 7? What should I do to solve the problem? Help please.

    Restart your WiFi router and printer by removing power for 30 seconds.

  • Hi my iphone 4 is disabled how can solve this problem? help me please

    hi my iphone 4 is disabled how can solve this problem? help me please

    What do you mean by "disabled"? Disabled by entering the wrong passcode? If so, you'll have to force the phone into recovery mode & restore it to get it working again & remove the passcode:
    Turn your phone off, then force it into recovery mode & restore it:
    Leave the USB cable connected to your computer, but NOT your phone, iTunes running, press & hold the home button while connecting the USB cable to your dock connector, continue holding the home button until you see “Connect to iTunes” on the screen. You may now release the home button. iTunes should now display that it has detected your phone in recovery mode, if not quit and reopen iTunes. If you still don’t see the recovery message repeat these steps again. iTunes will give you the option to restore from a backup or set up as new.

  • My iphone is on recovery mode and i can´t turn on it, when i try to recover it from itunes i get: "unknown error (36), i´ve tried to do lot of things but i can´t  solve my problem. please help!!

    my iphone is on recovery mode and i can´t turn on it, when i try to recover it from itunes i get: unknown error (36), i´ve tried to do lot of things but i can´t solve my problem. please help!!

    Hi, i had the same problem. Try to find the file "apple" or "itunes" don't know it anymore exactly. Ahm well you need to delet any information or just plug in your iphone into an other computer. important is that your iphone never has been pluged in this computer before. This was what i did, and it worked!

  • How do I copy files onto a hard drive (device) from Mac 2 7 pc. I'm able to transfer files from device but cannot transfer files to device. Anyone had same problem or can help solve this problem? Help pls

    how do I copy files onto a hard drive (device) from Mac 2 7 pc. I'm able to transfer files from device but cannot transfer files to device. Anyone had same problem or can help solve this problem? Help pls

    Welcome to Apple Support Communities
    When you try to copy data to the external drive, what happens? If you don't see any error, the external drive is formatted in NTFS, and OS X can't write in it.
    To be able to write on this external drive, you have to use an app like Paragon NTFS. Another solution would be to format the external drive in FAT32 or exFAT with Disk Utility > http://pondini.org/OSX/DU1.html Make sure you copied all the files of the external disk to the internal disk before doing it

Maybe you are looking for