[SOLVED] tmux as login shell
Hi,
anyone tried using tmux as login shell? chsh says it is invalid.
I want tmux to attach to an existing session or else create a new one upon login if no session exists.
Putting "exec /usr/bin/tmux attach" into my ~/.bash_profile doesn't create a session if none exists.
Any ideas?
Thanks!
Last edited by awayand (2011-05-17 18:28:50)
tmux is not a shell itself but a terminal multiplexer; one or more shells are running inside tmux.
You can try something like this in your .bashrc:
if [[ -z "$TMUX" ]]; then
tmux att
fi
Similar Messages
-
~/.bash_profile:
. $HOME/.bashrc
~/.bashrc:
export PATH=$PATH:$HOME/code/shell
(irrelevant lines left out)
(I have no ~/.profile, ~/.bash_login or * ~/.bash_logout. I have also never edited /etc/profile or /etc/bash.bashrc.)
I've read that in a login shell (e.g. TTY1) only the former is read, which in my case sources the latter. Running "export -p" in TTY1 gives a result consistent with this:
declare -x PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl:/home/lazar/code/shell" (/home/lazar/code/shell is only listed once)
I've also read that in a non-login shell (e.g. xterm) only the latter is read. However, when I run "export -p" in xterm or urxvt I get an unexpected result:
declare -x PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl:/home/lazar/code/shell:/home/lazar/code/shell" (/home/lazar/code/shell is listed twice!)
This implies that ~.bashrc is read twice, perhaps because .bash_profile is read in non-login shells too, even though it shouldn't be, should it? It doesn't seem to matter really, but I can't help but wonder why...
[EDIT]
I've found the answer. Exports from .bash_profile are done at boot time and *remain* active while X is active. Opening a non-login shell will cause .bashrc to export as well. Hence the duplication. My solution:
~/.bash_profile:
export PATH=$PATH:$HOME/code/shell
. $HOME/.bashrc
~/.bashrc:
(lines other than export commands)
Last edited by Lazar (2011-02-14 07:57:56)As I wondered, I think it's a problem with passwd. I don't have a dbus entry and must have missed it when I was copying things around between my version and the .pacnew. Downloading an install disc now since I can't seem to change it from the recovery console due to mounting root read-only.
I'd love to know of a way to boot that avoids starting dbus and other things that might break while still having read/write access to root. Will mark solved once I update /etc/passwd and reboot. -
I just installed using the 0.7-beta cd. When running X i noticed that my path for non-login shells only includes :/bin:/usr/bin:/usr/X11R6/bin:/usr/ucb
This really confuses me :?
EDIT: nevermind, it seems to be fixed now. Logging out hadnt fixed anything, but killing xdm seemed to
EDIT #2: well the problem came back It seems to be related to starting in runlevel 5. If i boot in runlevel 3,login and startx, I have a proper PATH. If i boot in runlevel 5, login through xdm, i dont have a correct PATH. Does anyone have an idea? (I would start xdm through rc.conf but there doesnt seem to be a xdm daemon in /etc/rc.d)The obvious solution is to set PATH in the run configuration.
I had done it but it didn't work for me because I had several run configurations, but I set PATH only in one of them. oops.
I wonder if it is possible to set PATH globally in Eclipse instead of setting it in every single run configuration. -
How to modify default value of Login Shell attribute via script
Hi all,
I'm configuring the "UNIX Attributes" tab here in Active Directory Users and Computers. I've noticed that on the Login Shell option it has a default value: /bin/sh. So I had manually changed it to: /bin/bash. I just change this value one
bu one manually. Now, I want to change this value for all users via script. Could you please help me to receive this goal?
Thank you in advance.Use Get-AdUser / Set-AdObject
Get-AdUser -Filter * | Set-AdObject -Replace @{unixhomedirectory='/bin/sh','bin/bash'} -WhatIf
¯\_(ツ)_/¯ -
How to make BASH as a default login shell
Hi !
How to create BASH as a default login shell for root user?
RegardsModify root's shell entry in /etc/passwd:
root:x:0:0:Super-User:/:*/usr/bin/bash* -
Hello!
I'm new to Arch bbs, though I've been using Arch for quite some time now. So well... hi everyone!
Recently I wrote a small program for myself and I feel that more people could benefit from it - so I'm sharing.
xlsh is a simple login shell with readline functionality and PAM integration.
When run stand-alone on a virtual console it can replace the standard "login" program.
When run in cooperation with X daemon component (xlshd) it can replace XDM/GDM/KDM.
Features:
Small and simple, written entirely in C.
Easily hackable because of compact codebase (~1000 source lines).
Uses PAM for authorization and session management.
Ability to select non-default shell/window manager during logon.
Entirely keyboard driven display manager replacement (when used with xlshd) without the need for any fat libraries or GUI toolkits.
Defaults configured before compilation, some of them can be changed by setting few environment variables.
Single shell script file (/etc/xlsh/xlshrc) for customizing how xlshd launches xlsh.
Introduces a concept of "pre-login shell" known from GNU/HURD.
Only three important commands: 'login', 'reboot' and 'shutdown'.
New commands can be easily added (if you need any) by editing xlsh.c
Username autocompletion on TAB.
Zenburn color scheme by default (when run under X).
So that's it. I grew tired of xdm/gdm/kdm so I rolled out my own solution. I currently run it on all my ttys and as X login manager. Shell-like keyboard only interaction is very comfortable and simple Zenburn colorscheme fits very well into my Awesome WM look & feel (which is also Zenburn).
AUR package (xlsh-git): http://aur.archlinux.org/packages.php?ID=53520
Source code: https://github.com/Nadrin/xlsh
Project wiki: https://github.com/Nadrin/xlsh/wiki
Screenshot: https://github.com/Nadrin/xlsh/wiki/Screenshots
Let me know if you find it useful. Bug reports, suggestions and any other form of constructive criticism is very much welcome!env (xlsh)
LCLIMPORTDIR=/usr/share/splint/imports
XDG_DATA_HOME=/home/irtigor/.local/share
TERM=rxvt-unicode-256color
SHELL=/bin/zsh
XDG_SESSION_COOKIE=8c19aa75e1df23394088ae2f00001baa-1320498024.774424-1546763611
GTK2_RC_FILES=/home/irtigor/.gtkrc-2.0
LC_NUMERIC=
ANT_HOME=/usr/share/java/apache-ant
USER=irtigor
LARCH_PATH=/usr/share/splint/lib
MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins
XDG_CONFIG_DIRS=/etc/xdg:/etc/xdg
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/share/java/apache-ant/bin:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/irtigor/.rvm/bin
LC_MESSAGES=
HG=/usr/bin/hg
_=/usr/bin/env
LC_COLLATE=
PWD=/home/irtigor
JAVA_HOME=/usr/lib/jvm/java-6-openjdk
LANG=en_US.UTF-8
SHLVL=3
HOME=/home/irtigor
XDG_CONFIG_HOME=/home/irtigor/.config
XDG_CACHE_HOME=/home/irtigor/.cache
LOGNAME=irtigor
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-JT1g91p7nx,guid=9befacf8c90efc2782fc6ccf0000001c
XDG_DATA_DIRS=/usr/share/:/usr/local/share/:/usr/share/:/usr/local/share/
J2SDKDIR=/usr/lib/jvm/java-6-openjdk
LC_CTYPE=en_US.UTF-8
DISPLAY=:0
J2REDIR=/usr/lib/jvm/java-6-openjdk/jre
LC_TIME=
G_BROKEN_FILENAMES=1
WINDOWID=10485770
COLORFGBG=default;default;0
TERMINFO=/usr/share/terminfo
COLORTERM=yes
OLDPWD=/home/irtigor
AUTOJUMP_DATA_DIR=/home/irtigor/.local/share/autojump
EDITOR=vim
PAGER=less
MAIL=/var/mail/irtigor
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
LESS_TERMCAP_mb=[01;31m
LESS_TERMCAP_md=[01;31m
LESS_TERMCAP_me=[0m
LESS_TERMCAP_se=[0m
LESS_TERMCAP_so=[01;44;33m
LESS_TERMCAP_ue=[0m
LESS_TERMCAP_us=[01;32m
BROWSER=firefox
DISABLE_AUTO_UPDATE=true
GREP_OPTIONS=--color=auto
GREP_COLOR=1;32
LSCOLORS=Gxfxcxdxbxegedabagacad
ck-list-sessions (xlsh)
Session1:
unix-user = '1000'
realname = '(null)'
seat = 'Seat2'
session-type = ''
active = FALSE
x11-display = ':0'
x11-display-device = '/dev/tty3'
display-device = ''
remote-host-name = ''
is-local = FALSE
on-since = '2011-11-05T12:39:44.074206Z'
login-session-id = '4294967295'
env (slim)
LCLIMPORTDIR=/usr/share/splint/imports
XDG_DATA_HOME=/home/irtigor/.local/share
SHELL=/bin/zsh
TERM=rxvt-unicode-256color
XDG_SESSION_COOKIE=8c19aa75e1df23394088ae2f00001baa-1320498147.998816-1602302550
GTK2_RC_FILES=/home/irtigor/.gtkrc-2.0
LC_NUMERIC=
ANT_HOME=/usr/share/java/apache-ant
USER=irtigor
LARCH_PATH=/usr/share/splint/lib
MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins
XDG_CONFIG_DIRS=/etc/xdg:/etc/xdg
MAIL=/var/mail/irtigor
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/share/java/apache-ant/bin:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/irtigor/.rvm/bin
LC_MESSAGES=
HG=/usr/bin/hg
_=/usr/bin/env
LC_COLLATE=
PWD=/home/irtigor
JAVA_HOME=/usr/lib/jvm/java-6-openjdk
EDITOR=vim
LANG=en_US.UTF-8
SHLVL=2
HOME=/home/irtigor
XDG_CONFIG_HOME=/home/irtigor/.config
XDG_CACHE_HOME=/home/irtigor/.cache
LOGNAME=irtigor
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Ya5luICcfh,guid=74c155d555aa8c9aa358c87100000014
XDG_DATA_DIRS=/usr/share/:/usr/local/share/:/usr/share/:/usr/local/share/
J2SDKDIR=/usr/lib/jvm/java-6-openjdk
LC_CTYPE=en_US.UTF-8
DISPLAY=:0.0
J2REDIR=/usr/lib/jvm/java-6-openjdk/jre
LC_TIME=
G_BROKEN_FILENAMES=1
XAUTHORITY=/home/irtigor/.Xauthority
WINDOWID=12582922
COLORFGBG=default;default;0
TERMINFO=/usr/share/terminfo
COLORTERM=yes
OLDPWD=/home/irtigor
AUTOJUMP_DATA_DIR=/home/irtigor/.local/share/autojump
PAGER=less
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
LESS_TERMCAP_mb=[01;31m
LESS_TERMCAP_md=[01;31m
LESS_TERMCAP_me=[0m
LESS_TERMCAP_se=[0m
LESS_TERMCAP_so=[01;44;33m
LESS_TERMCAP_ue=[0m
LESS_TERMCAP_us=[01;32m
BROWSER=firefox
DISABLE_AUTO_UPDATE=true
GREP_OPTIONS=--color=auto
GREP_COLOR=1;32
LSCOLORS=Gxfxcxdxbxegedabagacad
ck-list-sessions (slim)
Session2:
unix-user = '1000'
realname = '(null)'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0.0'
x11-display-device = '/dev/tty3'
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2011-11-05T12:46:37.963456Z'
login-session-id = '1'
Session1:
unix-user = '1000'
realname = '(null)'
seat = 'Seat2'
session-type = ''
active = FALSE
x11-display = ':0.0'
x11-display-device = ''
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2011-11-05T12:46:33.690874Z'
login-session-id = '1' -
Changing login shell (user in LDAP)
When I try 'passwd -e' (to change my login shell), I get 'Permission denied'.
I have write access to the loginShell attribute (can change it with ldapmodify) but I can't tell/learn my/the users to learn LDIF and ldapmodify... !
Part of my pam.conf:
other password required pam_dhkeys.so.1 debug
other password requisite pam_authtok_get.so.1 debug
other password requisite pam_authtok_check.so.1 server_policy debug
other password required pam_authtok_store.so.1 server_policy debug
With this I can change password, and the Password Policy rules are obeyed.
Also, neither of 'passwd -[fgl]' works... Same problem:
----- s n i p -----
root@etedstst# passwd -l qturfre
passwd: Sorry, wrong passwd
Permission denied
----- s n i p -----
Resetting the password with ldapmodif works fine. I'll get asked for a new password at login.Have you tried 'passwd -r ldap -e'
$ passwd -r ldap -e
Enter existing login password:
Old shell: /bin/tcsh
New shell: /bin/ksh
passwd: password information changed for tuser -
Sorry for the stupid question, but I've been unable to figure this out. How do I change my login shell from bash to csh? Under linux I'd just edit /etc/passwd, but I don't think that's quite right under OS X (I don't even see my username listed in passwd).
What's the "correct" way to change the login shell?
Thanks,
Dave/Applications/Utilities/NetInfo Manager- Open the NetInfo Manager application. Select users in the middle column. Select your user name in the right column. Click the lock at the bottom of the window and enter your admin password. Under Property click on shell property then click were it list /bin/bash. Change the value to /bin/csh or /bin/tcsh (csh is tcsh in OS X). Click the lock to save the changes. Log out then log back in and your shell will change.
-
ZSH shows error in prompt if run as login shell
Hey there. I'm having a bit of a niggling issue with zsh. I've tried the search function to no avail.
Whenever zsh is run as a login shell, the prompt indicates that the last command returned something other than a zero. It seems to occur when using oh-my-zsh. I'm using it in combination with zgen right now, but it happened with antigen, antigen-hs as well as vanilla oh-my-zsh. I've deleted .oh-my-zsh entirely and reinstalled. The same thing happens.
I'm using urxvt as my virtual terminal, but it happens in plain-jane TTYs too. If I disable the login shell flag, it doesn't show the error at all. It occurs with any zsh theme.
See below for my .zshrc, .Xresources and .zprofile, as well as examples of what I'm referring to in the top and bottom vts in the right column.
https://i.imgur.com/qBBPAq7.jpg
Does anybody have any ideas about where I might start digging into this?
-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --jasonwryan wrote:Uninstall Oh-my-zsh: it is worse than useless.
+1 for this... use [extra]/grml-zsh-config instead. -
What is advantage of opening a terminal as a login shell?
In many websites/tutorials I see that a lot of people like to open the terminal as a login shell. Is there any particular reason or advantage to do so?
There are a few settings you'd definitely want to only apply once, such as additions to your PATH. If, for example, you add
export PATH="~/bin:$PATH"
to your ~/.bashrc, the new directory would get appended for any additional login shell you start from within your shell.
As a hands-on example: I'm opening a terminal, so ~/.bashrc is sourced for the first time. Then I'm starting ranger, a console file manager. From within ranger, I start a new subshell because I want to do some complicated task. Upon starting that subshell, my ~/.bashrc would be sourced for the second time, and my PATH variable would look like this:
$ env
PATH=/home/runiq/bin:/home/runiq/bin:<rest of PATH>
This isn't exactly a major thing, but if you throw things in your ~/.(bash_)profile and ~/.bashrc willy-nilly, it will eventually come around to bite you in the ass.
Edit: Some more examples:
You want to start a certain kind of program only once: Put it in ~/.(bash_)profile.
You want to define aliases: Put them in ~/.bashrc.
A very specific example. You'd like to use the fish shell for all your interactive shells, but you can't just do "chsh -s /usr/bin/fish" because fish is not POSIX compatible. Put the following in your ~/.bashrc:
exec /usr/bin/fish
and this bit of black magic in your ~/.bash_profile:
[[ $- == *i* ]] && source ~/.bashrc
Hope that clears things up a little.
Last edited by Runiq (2013-12-18 18:35:56) -
I was following the Archwiki guide on colouring the bash prompt and found that if I open gnome-terminal and use 'su root' I get a colourised prompt but if I used 'su - root' which I found out to be the same as 'su -l root' then I didn't.
Some further research told me that -l makes the shell a login shell but I still don't really understand what that is or how it is any different. Can anyone enlighten me? Thankyou.I may be mistaken, but I believe the major difference is that when you su using a login shell, all of the login scripts for that shell run when it is instantiated. On my system, that includes changing to the new user's $HOME.
Without the -l, the system changes to the new user, but things like the CWD and PATH remain unchanged
For the purposes of system administration where you are switching to root, I don't think it matters which you use -- unless you do or don't what to change the environment.
[edit: added a missing verb. Note to self: Don't post when you are tired]
Last edited by ewaller (2010-05-29 14:41:48) -
How to solve this problem in shell script: unexpected end of file
Hello,
I need to connect to each databases listed in /etc/oratab and check which database is shutdown(or mounted-only) and which database is opened to accept connection. However, following shell script gives me this error message:
$>./check_is_db_runing.sh
./check_is_db_runing.sh: line 39: syntax error: unexpected end of file
Could anyone please help me to solve this problem, why the code (line 29 to 32) does not work in the LOOP? It works without the LOOP.
Thanks in advance!!!
1 #!/bin/bash
2
3 LOGDIR=/data03/oracle/dbscripts
4 ORATABFILE=/etc/oratab
5
6 cat $ORATABFILE | while read LINE
7 do
8 case $LINE in
9 \#*) ;; #comment-line in oratab
10 *)
11 ORACLE_SID=`echo $LINE | awk -F: '{print $1}' -`
12 if [ "$ORACLE_SID" = '*' ] ; then
13 # NULL SID - ignore
14 ORACLE_SID=""
15 continue
16 fi
17
18 # Proceed only if last field is 'Y'
19 if [ "`echo $LINE | awk -F: '{print $NF}' -`" = "Y" ] ; then
20 if [ `echo $ORACLE_SID | cut -b 1` != '+' ]; then
21
22 ORACLE_HOME=`echo $LINE | awk -F: '{print $2}' -`
23 PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/etc
24 export ORACLE_SID ORACLE_HOME PATH
25 LOGFILE=$LOGDIR/check_$ORACLE_SID.log
26 touch $LOGFILE
27 #echo $LOGFILE
28
29 $ORACLE_HOME/bin/sqlplus -s "/ as sysdba" << EOF > $LOGFILE
30 select * from global_name;
31 exit
32 EOF
33
34 fi
35 fi
36 ;;
37 esac
38 doneThis code works ie. generates logs with sql result - slightly modified to be runable:
#!/bin/bash
LOGDIR=/tmp
ORATABFILE=/etc/oratab
cat $ORATABFILE | while read LINE
do
case $LINE in
\#*) ;; #comment-line in oratab
ORACLE_SID=`echo $LINE | awk -F: '{print $1}' -`
if \[ -z $ORACLE_SID \] ; then
# NULL SID - ignore
ORACLE_SID=""
continue
# Proceed only if last field is 'Y'
else
ORACLE_HOME=`echo $LINE | awk -F: '{print $2}' -`
PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/etc
export ORACLE_SID ORACLE_HOME PATH
LOGFILE=$LOGDIR/check_$ORACLE_SID.log
touch $LOGFILE
#echo $LOGFILE
$ORACLE_HOME/bin/sqlplus -s "/ as sysdba" << EOF > $LOGFILE
select * from global_name;
exit
EOF
fi
esac
done -
[SOLVED] libcairo crashes gnome-shell
Hi,
I think after one of the updates (I don't run on testing), gnome-shell would crash after few seconds of use. Examining error messages, it seems to be related to libcairo segfault, which I was unable to analyze further. I did some googling on this, but most issues were concerning ATI of nVidia card and/or multiple monitor, from which I use none.
I am pasting hopefully useful logs:
.xsession-errors
/etc/gdm/Xsession: Beginning session setup...
localuser:janci being added to access control list
/etc/gdm/Xsession: Setup done, will execute: /usr/bin/ssh-agent -- startxfce4
/usr/bin/startxfce4: X server already running on display :0
xrdb: "URxvt.scrollstyle" on line 96 overrides entry on line 90
xfce4-session-Message: ssh-agent is already running; starting gpg-agent without ssh support
*** buffer overflow detected ***: /usr/bin/trayfreq terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x37)[0x7f7ebb6167b7]
/lib/libc.so.6(+0xf78d0)[0x7f7ebb6148d0]
/lib/libc.so.6(+0xf6d59)[0x7f7ebb613d59]
/lib/libc.so.6(_IO_default_xsputn+0x89)[0x7f7ebb593239]
/lib/libc.so.6(_IO_vfprintf+0x1198)[0x7f7ebb5626c8]
/lib/libc.so.6(__vsprintf_chk+0x97)[0x7f7ebb613df7]
/lib/libc.so.6(__sprintf_chk+0x7d)[0x7f7ebb613d3d]
/usr/bin/trayfreq[0x4034e1]
/usr/bin/trayfreq[0x401a91]
/lib/libc.so.6(__libc_start_main+0xf5)[0x7f7ebb53e455]
/usr/bin/trayfreq[0x401ae5]
======= Memory map: ========
00400000-00405000 r-xp 00000000 08:06 161991 /usr/bin/trayfreq
00605000-00606000 r--p 00005000 08:06 161991 /usr/bin/trayfreq
00606000-00607000 rw-p 00006000 08:06 161991 /usr/bin/trayfreq
00607000-00744000 rw-p 00000000 00:00 0
022e1000-0239f000 rw-p 00000000 00:00 0 [heap]
7f7eb674c000-7f7eb6761000 r-xp 00000000 08:06 152581 /usr/lib/libgcc_s.so.1
7f7eb6761000-7f7eb6960000 ---p 00015000 08:06 152581 /usr/lib/libgcc_s.so.1
7f7eb6960000-7f7eb6961000 rw-p 00014000 08:06 152581 /usr/lib/libgcc_s.so.1
7f7eb6961000-7f7eb696a000 r-xp 00000000 08:06 393261 /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
7f7eb696a000-7f7eb6b6a000 ---p 00009000 08:06 393261 /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
7f7eb6b6a000-7f7eb6b6b000 r--p 00009000 08:06 393261 /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
7f7eb6b6b000-7f7eb6b6c000 rw-p 0000a000 08:06 393261 /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
7f7eb6b6c000-7f7eb6b9b000 r-xp 00000000 08:06 394594 /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so
7f7eb6b9b000-7f7eb6d9b000 ---p 0002f000 08:06 394594 /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so
7f7eb6d9b000-7f7eb6d9c000 r--p 0002f000 08:06 394594 /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so
7f7eb6d9c000-7f7eb6d9d000 rw-p 00030000 08:06 394594 /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so
7f7eb6d9d000-7f7eb6da6000 r-xp 00000000 08:06 155000 /usr/lib/libltdl.so.7.3.0
7f7eb6da6000-7f7eb6fa5000 ---p 00009000 08:06 155000 /usr/lib/libltdl.so.7.3.0
7f7eb6fa5000-7f7eb6fa6000 r--p 00008000 08:06 155000 /usr/lib/libltdl.so.7.3.0
7f7eb6fa6000-7f7eb6fa7000 rw-p 00009000 08:06 155000 /usr/lib/libltdl.so.7.3.0
7f7eb6fa7000-7f7eb6fb7000 r-xp 00000000 08:06 155046 /usr/lib/libtdb.so.1.2.9
7f7eb6fb7000-7f7eb71b6000 ---p 00010000 08:06 155046 /usr/lib/libtdb.so.1.2.9
7f7eb71b6000-7f7eb71b7000 r--p 0000f000 08:06 155046 /usr/lib/libtdb.so.1.2.9
7f7eb71b7000-7f7eb71b8000 rw-p 00010000 08:06 155046 /usr/lib/libtdb.so.1.2.9
7f7eb71b8000-7f7eb71be000 r-xp 00000000 08:06 163514 /usr/lib/libogg.so.0.8.0
7f7eb71be000-7f7eb73bd000 ---p 00006000 08:06 163514 /usr/lib/libogg.so.0.8.0
7f7eb73bd000-7f7eb73be000 rw-p 00005000 08:06 163514 /usr/lib/libogg.so.0.8.0
7f7eb73be000-7f7eb73ea000 r-xp 00000000 08:06 150850 /usr/lib/libvorbis.so.0.4.6
7f7eb73ea000-7f7eb75e9000 ---p 0002c000 08:06 150850 /usr/lib/libvorbis.so.0.4.6
7f7eb75e9000-7f7eb75ea000 r--p 0002b000 08:06 150850 /usr/lib/libvorbis.so.0.4.6
7f7eb75ea000-7f7eb75eb000 rw-p 0002c000 08:06 150850 /usr/lib/libvorbis.so.0.4.6
7f7eb75eb000-7f7eb75f2000 r-xp 00000000 08:06 150852 /usr/lib/libvorbisfile.so.3.3.5
7f7eb75f2000-7f7eb77f2000 ---p 00007000 08:06 150852 /usr/lib/libvorbisfile.so.3.3.5
7f7eb77f2000-7f7eb77f3000 r--p 00007000 08:06 150852 /usr/lib/libvorbisfile.so.3.3.5
7f7eb77f3000-7f7eb77f4000 rw-p 00008000 08:06 150852 /usr/lib/libvorbisfile.so.3.3.5
7f7eb77f4000-7f7eb7804000 r-xp 00000000 08:06 161479 /usr/lib/libcanberra.so.0.2.5
7f7eb7804000-7f7eb7a03000 ---p 00010000 08:06 161479 /usr/lib/libcanberra.so.0.2.5
7f7eb7a03000-7f7eb7a04000 r--p 0000f000 08:06 161479 /usr/lib/libcanberra.so.0.2.5
7f7eb7a04000-7f7eb7a05000 rw-p 00010000 08:06 161479 /usr/lib/libcanberra.so.0.2.5
7f7eb7a05000-7f7eb7a09000 r-xp 00000000 08:06 161488 /usr/lib/libcanberra-gtk.so.0.1.8
7f7eb7a09000-7f7eb7c08000 ---p 00004000 08:06 161488 /usr/lib/libcanberra-gtk.so.0.1.8
7f7eb7c08000-7f7eb7c09000 r--p 00003000 08:06 161488 /usr/lib/libcanberra-gtk.so.0.1.8
7f7eb7c09000-7f7eb7c0a000 rw-p 00004000 08:06 161488 /usr/lib/libcanberra-gtk.so.0.1.8
7f7eb7c0a000-7f7eb7c0f000 r-xp 00000000 08:06 265843 /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so
7f7eb7c0f000-7f7eb7e0e000 ---p 00005000 08:06 265843 /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so
7f7eb7e0e000-7f7eb7e0f000 r--p 00004000 08:06 265843 /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so
7f7eb7e0f000-7f7eb7e10000 rw-p 00005000 08:06 265843 /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so
7f7eb7e10000-7f7eb7e1c000 r-xp 00000000 08:06 2490853 /lib/libnss_files-2.15.so
7f7eb7e1c000-7f7eb801b000 ---p 0000c000 08:06 2490853 /lib/libnss_files-2.15.so
7f7eb801b000-7f7eb801c000 r--p 0000b000 08:06 2490853 /lib/libnss_files-2.15.so
7f7eb801c000-7f7eb801d000 rw-p 0000c000 08:06 2490853 /lib/libnss_files-2.15.so
7f7eb801d000-7f7eb81e2000 r--p 00000000 08:06 145576 /usr/lib/locale/locale-archive
7f7eb81e2000-7f7eb81e7000 r-xp 00000000 08:06 141070 /usr/lib/libXdmcp.so.6.0.0
7f7eb81e7000-7f7eb83e6000 ---p 00005000 08:06 141070 /usr/lib/libXdmcp.so.6.0.0
7f7eb83e6000-7f7eb83e7000 r--p 00004000 08:06 141070 /usr/lib/libXdmcp.so.6.0.0
7f7eb83e7000-7f7eb83e8000 rw-p 00005000 08:06 141070 /usr/lib/libXdmcp.so.6.0.0
7f7eb83e8000-7f7eb83ea000 r-xp 00000000 08:06 141262 /usr/lib/libXau.so.6.0.0
7f7eb83ea000-7f7eb85ea000 ---p 00002000 08:06 141262 /usr/lib/libXau.so.6.0.0
7f7eb85ea000-7f7eb85eb000 r--p 00002000 08:06 141262 /usr/lib/libXau.so.6.0.0
7f7eb85eb000-7f7eb85ec000 rw-p 00003000 08:06 141262 /usr/lib/libXau.so.6.0.0
7f7eb85ec000-7f7eb8614000 r-xp 00000000 08:06 133916 /usr/lib/libexpat.so.1.6.0
7f7eb8614000-7f7eb8813000 ---p 00028000 08:06 133916 /usr/lib/libexpat.so.1.6.0
7f7eb8813000-7f7eb8815000 r--p 00027000 08:06 133916 /usr/lib/libexpat.so.1.6.0
7f7eb8815000-7f7eb8816000 rw-p 00029000 08:06 133916 /usr/lib/libexpat.so.1.6.0
7f7eb8816000-7f7eb8825000 r-xp 00000000 08:06 159377 /usr/lib/libbz2.so.1.0.6
7f7eb8825000-7f7eb8a24000 ---p 0000f000 08:06 159377 /usr/lib/libbz2.so.1.0.6
7f7eb8a24000-7f7eb8a26000 rw-p 0000e000 08:06 159377 /usr/lib/libbz2.so.1.0.6
7f7eb8a26000-7f7eb8a43000 r-xp 00000000 08:06 141345 /usr/lib/libxcb.so.1.1.0
7f7eb8a43000-7f7eb8c43000 ---p 0001d000 08:06 141345 /usr/lib/libxcb.so.1.1.0
7f7eb8c43000-7f7eb8c44000 rw-p 0001d000 08:06 141345 /usr/lib/libxcb.so.1.1.0
7f7eb8c44000-7f7eb8c4c000 r-xp 00000000 08:06 141391 /usr/lib/libxcb-render.so.0.0.0
7f7eb8c4c000-7f7eb8e4c000 ---p 00008000 08:06 141391 /usr/lib/libxcb-render.so.0.0.0
7f7eb8e4c000-7f7eb8e4d000 rw-p 00008000 08:06 141391 /usr/lib/libxcb-render.so.0.0.0
7f7eb8e4d000-7f7eb8e4f000 r-xp 00000000 08:06 141306 /usr/lib/libxcb-shm.so.0.0.0
7f7eb8e4f000-7f7eb904e000 ---p 00002000 08:06 141306 /usr/lib/libxcb-shm.so.0.0.0
7f7eb904e000-7f7eb904f000 rw-p 00001000 08:06 141306 /usr/lib/libxcb-shm.so.0.0.0
7f7eb904f000-7f7eb90cf000 r-xp 00000000 08:06 141245 /usr/lib/libpixman-1.so.0.26.0
7f7eb90cf000-7f7eb92ce000 ---p 00080000 08:06 141245 /usr/lib/libpixman-1.so.0.26.0
7f7eb92ce000-7f7eb92d4000 rw-p 0007f000 08:06 141245 /usr/lib/libpixman-1.so.0.26.0
7f7eb92d4000-7f7eb9300000 r-xp 00000000 08:06 148781 /usr/lib/libpng15.so.15.10.0
7f7eb9300000-7f7eb94ff000 ---p 0002c000 08:06 148781 /usr/lib/libpng15.so.15.10.0
7f7eb94ff000-7f7eb9500000 r--p 0002b000 08:06 148781 /usr/lib/libpng15.so.15.10.0
7f7eb9500000-7f7eb9501000 rw-p 0002c000 08:06 148781 /usr/lib/libpng15.so.15.10.0
7f7eb9501000-7f7eb9514000 r-xp 00000000 08:06 2490894 /lib/libresolv-2.15.so
7f7eb9514000-7f7eb9714000 ---p 00013000 08:06 2490894 /lib/libresolv-2.15.so
7f7eb9714000-7f7eb9715000 r--p 00013000 08:06 2490894 /lib/libresolv-2.15.so
7f7eb9715000-7f7eb9716000 rw-p 00014000 08:06 2490894 /lib/libresolv-2.15.so
7f7eb9716000-7f7eb9718000 rw-p 00000000 00:00 0
7f7eb9718000-7f7eb972d000 r-xp 00000000 08:06 148383 /usr/lib/libz.so.1.2.7
7f7eb972d000-7f7eb992c000 ---p 00015000 08:06 148383 /usr/lib/libz.so.1.2.7
7f7eb992c000-7f7eb992d000 r--p 00014000 08:06 148383 /usr/lib/libz.so.1.2.7
7f7eb992d000-7f7eb992e000 rw-p 00015000 08:06 148383 /usr/lib/libz.so.1.2.7
7f7eb992e000-7f7eb9987000 r-xp 00000000 08:06 133624 /usr/lib/libpcre.so.1.0.0
7f7eb9987000-7f7eb9b86000 ---p 00059000 08:06 133624 /usr/lib/libpcre.so.1.0.0
7f7eb9b86000-7f7eb9b87000 r--p 00058000 08:06 133624 /usr/lib/libpcre.so.1.0.0
7f7eb9b87000-7f7eb9b88000 rw-p 00059000 08:06 133624 /usr/lib/libpcre.so.1.0.0
7f7eb9b88000-7f7eb9b8b000 r-xp 00000000 08:06 2490450 /lib/libdl-2.15.so
7f7eb9b8b000-7f7eb9d8a000 ---p 00003000 08:06 2490450 /lib/libdl-2.15.so
7f7eb9d8a000-7f7eb9d8b000 r--p 00002000 08:06 2490450 /lib/libdl-2.15.so
7f7eb9d8b000-7f7eb9d8c000 rw-p 00003000 08:06 2490450 /lib/libdl-2.15.so
7f7eb9d8c000-7f7eb9d93000 r-xp 00000000 08:06 148861 /usr/lib/libffi.so.6.0.0
7f7eb9d93000-7f7eb9f92000 ---p 00007000 08:06 148861 /usr/lib/libffi.so.6.0.0
7f7eb9f92000-7f7eb9f93000 r--p 00006000 08:06 148861 /usr/lib/libffi.so.6.0.0
7f7eb9f93000-7f7eb9f94000 rw-p 00007000 08:06 148861 /usr/lib/libffi.so.6.0.0
7f7eb9f94000-7f7eb9f96000 r-xp 00000000 08:06 144421 /usr/lib/libXdamage.so.1.1.0
7f7eb9f96000-7f7eba195000 ---p 00002000 08:06 144421 /usr/lib/libXdamage.so.1.1.0
7f7eba195000-7f7eba196000 r--p 00001000 08:06 144421 /usr/lib/libXdamage.so.1.1.0
7f7eba196000-7f7eba197000 rw-p 00002000 08:06 144421 /usr/lib/libXdamage.so.1.1.0
7f7eba197000-7f7eba199000 r-xp 00000000 08:06 144187 /usr/lib/libXcomposite.so.1.0.0
7f7eba199000-7f7eba398000 ---p 00002000 08:06 144187 /usr/lib/libXcomposite.so.1.0.0
7f7eba398000-7f7eba399000 r--p 00001000 08:06 144187 /usr/lib/libXcomposite.so.1.0.0
7f7eba399000-7f7eba39a000 rw-p 00002000 08:06 144187 /usr/lib/libXcomposite.so.1.0.0
7f7eba39a000-7f7eba3a3000 r-xp 00000000 08:06 145109 /usr/lib/libXcursor.so.1.0.2
7f7eba3a3000-7f7eba5a2000 ---p 00009000 08:06 145109 /usr/lib/libXcursor.so.1.0.2
7f7eba5a2000-7f7eba5a3000 r--p 00008000 08:06 145109 /usr/lib/libXcursor.so.1.0.2
7f7eba5a3000-7f7eba5a4000 rw-p 00009000 08:06 145109 /usr/lib/libXcursor.so.1.0.2
7f7eba5a4000-7f7eba5ac000 r-xp 00000000 08:06 145020 /usr/lib/libXrandr.so.2.2.0
7f7eba5ac000-7f7eba7ab000 ---p 00008000 08:06 145020 /usr/lib/libXrandr.so.2.2.0
7f7eba7ab000-7f7eba7ac000 r--p 00007000 08:06 145020 /usr/lib/libXrandr.so.2.2.0
7f7eba7ac000-7f7eba7ad000 rw-p 00008000 08:06 145020 /usr/lib/libXrandr.so.2.2.0
7f7eba7ad000-7f7eba7bb000 r-xp 00000000 08:06 144273 /usr/lib/libXi.so.6.1.0
7f7eba7bb000-7f7eba9ba000 ---p 0000e000 08:06 144273 /usr/lib/libXi.so.6.1.0
7f7eba9ba000-7f7eba9bb000 r--p 0000d000 08:06 144273 /usr/lib/libXi.so.6.1.0
7f7eba9bb000-7f7eba9bc000 rw-p 0000e000 08:06 144273 /usr/lib/libXi.so.6.1.0
7f7eba9bc000-7f7eba9be000 r-xp 00000000 08:06 144170 /usr/lib/libXinerama.so.1.0.0
7f7eba9be000-7f7ebabbd000 ---p 00002000 08:06 144170 /usr/lib/libXinerama.so.1.0.0
7f7ebabbd000-7f7ebabbe000 r--p 00001000 08:06 144170 /usr/lib/libXinerama.so.1.0.0
7f7ebabbe000-7f7ebabbf000 rw-p 00002000 08:06 144170 /usr/lib/libXinerama.so.1.0.0
7f7ebabbf000-7f7ebabc9000 r-xp 00000000 08:06 144393 /usr/lib/libXrender.so.1.3.0
7f7ebabc9000-7f7ebadc8000 ---p 0000a000 08:06 144393 /usr/lib/libXrender.so.1.3.0
7f7ebadc8000-7f7ebadc9000 r--p 00009000 08:06 144393 /usr/lib/libXrender.so.1.3.0
7f7ebadc9000-7f7ebadca000 rw-p 0000a000 08:06 144393 /usr/lib/libXrender.so.1.3.0
7f7ebadca000-7f7ebaddc000 r-xp 00000000 08:06 144157 /usr/lib/libXext.so.6.4.0
7f7ebaddc000-7f7ebafdb000 ---p 00012000 08:06 144157 /usr/lib/libXext.so.6.4.0
7f7ebafdb000-7f7ebafdc000 r--p 00011000 08:06 144157 /usr/lib/libXext.so.6.4.0
7f7ebafdc000-7f7ebafdd000 rw-p 00012000 08:06 144157 /usr/lib/libXext.so.6.4.0
7f7ebafdd000-7f7ebafe2000 r-xp 00000000 08:06 144178 /usr/lib/libXfixes.so.3.1.0
7f7ebafe2000-7f7ebb1e2000 ---p 00005000 08:06 144178 /usr/lib/libXfixes.so.3.1.0
7f7ebb1e2000-7f7ebb1e3000 r--p 00005000 08:06 144178 /usr/lib/libXfixes.so.3.1.0
7f7ebb1e3000-7f7ebb1e4000 rw-p 00006000 08:06 144178 /usr/lib/libXfixes.so.3.1.0
7f7ebb1e4000-7f7ebb317000 r-xp 00000000 08:06 142258 /usr/lib/libX11.so.6.3.0
7f7ebb317000-7f7ebb517000 ---p 00133000 08:06 142258 /usr/lib/libX11.so.6.3.0
7f7ebb517000-7f7ebb518000 r--p 00133000 08:06 142258 /usr/lib/libX11.so.6.3.0
7f7ebb518000-7f7ebb51d000 rw-p 00134000 08:06 142258 /usr/lib/libX11.so.6.3.0
7f7ebb51d000-7f7ebb6b4000 r-xp 00000000 08:06 2490847 /lib/libc-2.15.so
7f7ebb6b4000-7f7ebb8b4000 ---p 00197000 08:06 2490847 /lib/libc-2.15.so
7f7ebb8b4000-7f7ebb8b8000 r--p 00197000 08:06 2490847 /lib/libc-2.15.so
7f7ebb8b8000-7f7ebb8ba000 rw-p 0019b000 08:06 2490847 /lib/libc-2.15.so
7f7ebb8ba000-7f7ebb8be000 rw-p 00000000 00:00 0
7f7ebb8be000-7f7ebb8d5000 r-xp 00000000 08:06 2490386 /lib/libpthread-2.15.so
7f7ebb8d5000-7f7ebbad4000 ---p 00017000 08:06 2490386 /lib/libpthread-2.15.so
7f7ebbad4000-7f7ebbad5000 r--p 00016000 08:06 2490386 /lib/libpthread-2.15.so
7f7ebbad5000-7f7ebbad6000 rw-p 00017000 08:06 2490386 /lib/libpthread-2.15.so
7f7ebbad6000-7f7ebbada000 rw-p 00000000 00:00 0
7f7ebbada000-7f7ebbbcd000 r-xp 00000000 08:06 2490482 /lib/libm-2.15.so
7f7ebbbcd000-7f7ebbdcd000 ---p 000f3000 08:06 2490482 /lib/libm-2.15.so
7f7ebbdcd000-7f7ebbdce000 r--p 000f3000 08:06 2490482 /lib/libm-2.15.so
7f7ebbdce000-7f7ebbdcf000 rw-p 000f4000 08:06 2490482 /lib/libm-2.15.so
7f7ebbdcf000-7f7ebbec1000 r-xp 00000000 08:06 133686 /usr/lib/libglib-2.0.so.0.3200.3
7f7ebbec1000-7f7ebc0c0000 ---p 000f2000 08:06 133686 /usr/lib/libglib-2.0.so.0.3200.3
7f7ebc0c0000-7f7ebc0c1000 r--p 000f1000 08:06 133686 /usr/lib/libglib-2.0.so.0.3200.3
7f7ebc0c1000-7f7ebc0c2000 rw-p 000f2000 08:06 133686 /usr/lib/libglib-2.0.so.0.3200.3
7f7ebc0c2000-7f7ebc0c3000 rw-p 00000000 00:00 0
7f7ebc0c3000-7f7ebc0ca000 r-xp 00000000 08:06 2490393 /lib/librt-2.15.so
7f7ebc0ca000-7f7ebc2c9000 ---p 00007000 08:06 2490393 /lib/librt-2.15.so
7f7ebc2c9000-7f7ebc2ca000 r--p 00006000 08:06 2490393 /lib/librt-2.15.so
7f7ebc2ca000-7f7ebc2cb000 rw-p 00007000 08:06 2490393 /lib/librt-2.15.so
7f7ebc2cb000-7f7ebc2cc000 r-xp 00000000 08:06 133688 /usr/lib/libgthread-2.0.so.0.3200.3
7f7ebc2cc000-7f7ebc4cb000 ---p 00001000 08:06 133688 /usr/lib/libgthread-2.0.so.0.3200.3
7f7ebc4cb000-7f7ebc4cc000 r--p 00000000 08:06 133688 /usr/lib/libgthread-2.0.so.0.3200.3
7f7ebc4cc000-7f7ebc4cd000 rw-p 00001000 08:06 133688 /usr/lib/libgthread-2.0.so.0.3200.3
7f7ebc4cd000-7f7ebc4d0000 r-xp 00000000 08:06 133687 /usr/lib/libgmodule-2.0.so.0.3200.3
7f7ebc4d0000-7f7ebc6cf000 ---p 00003000 08:06 133687 /usr/lib/libgmodule-2.0.so.0.3200.3
7f7ebc6cf000-7f7ebc6d0000 r--p 00002000 08:06 133687 /usr/lib/libgmodule-2.0.so.0.3200.3
7f7ebc6d0000-7f7ebc6d1000 rw-p 00003000 08:06 133687 /usr/lib/libgmodule-2.0.so.0.3200.3
7f7ebc6d1000-7f7ebc71d000 r-xp 00000000 08:06 133712 /usr/lib/libgobject-2.0.so.0.3200.3
7f7ebc71d000-7f7ebc91d000 ---p 0004c000 08:06 133712 /usr/lib/libgobject-2.0.so.0.3200.3
7f7ebc91d000-7f7ebc91e000 r--p 0004c000 08:06 133712 /usr/lib/libgobject-2.0.so.0.3200.3
7f7ebc91e000-7f7ebc91f000 rw-p 0004d000 08:06 133712 /usr/lib/libgobject-2.0.so.0.3200.3
7f7ebc91f000-7f7ebc953000 r-xp 00000000 08:06 143306 /usr/lib/libfontconfig.so.1.4.4
7f7ebc953000-7f7ebcb53000 ---p 00034000 08:06 143306 /usr/lib/libfontconfig.so.1.4.4
7f7ebcb53000-7f7ebcb54000 r--p 00034000 08:06 143306 /usr/lib/libfontconfig.so.1.4.4
7f7ebcb54000-7f7ebcb55000 rw-p 00035000 08:06 143306 /usr/lib/libfontconfig.so.1.4.4
7f7ebcb55000-7f7ebcbee000 r-xp 00000000 08:06 154063 /usr/lib/libfreetype.so.6.8.1
7f7ebcbee000-7f7ebcded000 ---p 00099000
** (process:2611): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'
** (process:2611): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'
** (process:2611): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
08:06 154063 /usr/lib/libfreetype.so.6.8.1
7f7ebcded000-7f7ebcdf3000 r--p 00098000 08:06 154063 /usr/lib/libfreetype.so.6.8.1
7f7ebcdf3000-7f7ebcdf4000 rw-p 0009e000 08:06 154063 /usr/lib/libfreetype.so.6.8.1
7f7ebcdf4000-7f7ebce3c000 r-xp 00000000 08:06 148980 /usr/lib/libpango-1.0.so.0.3000.0
7f7ebce3c000-7f7ebd03c000 ---p 00048000 08:06 148980 /usr/lib/libpango-1.0.so.0.3000.0
7f7ebd03c000-7f7ebd03e000 r--p 00048000 08:06 148980 /usr/lib/libpango-1.0.so.0.3000.0
7f7ebd03e000-7f7ebd03f000 rw-p 0004a000 08:06 148980 /usr/lib/libpango-1.0.so.0.3000.0
7f7ebd03f000-7f7ebd12f000 r-xp 00000000 08:06 160350 /usr/lib/libcairo.so.2.11200.2
7f7ebd12f000-7f7ebd32f000 ---p 000f0000 08:06 160350 /usr/lib/libcairo.so.2.11200.2
7f7ebd32f000-7f7ebd333000 rw-p 000f0000 08:06 160350 /usr/lib/libcairo.so.2.11200.2
7f7ebd333000-7f7ebd334000 rw-p 00000000 00:00 0
7f7ebd334000-7f7ebd355000 r-xp 00000000 08:06 150402 /usr/lib/libgdk_pixbuf-2.0.so.0.2600.1
7f7ebd355000-7f7ebd554000 ---p 00021000 08:06 150402 /usr/lib/libgdk_pixbuf-2.0.so.0.2600.1
7f7ebd554000-7f7ebd555000 r--p 00020000 08:06 150402 /usr/lib/libgdk_pixbuf-2.0.so.0.2600.1
7f7ebd555000-7f7ebd556000 rw-p 00021000 08:06 150402 /usr/lib/libgdk_pixbuf-2.0.so.0.2600.1
7f7ebd556000-7f7ebd561000 r-xp 00000000 08:06 148986 /usr/lib/libpangocairo-1.0.so.0.3000.0
7f7ebd561000-7f7ebd761000 ---p 0000b000 08:06 148986 /usr/lib/libpangocairo-1.0.so.0.3000.0
7f7ebd761000-7f7ebd762000 r--p 0000b000 08:06 148986 /usr/lib/libpangocairo-1.0.so.0.3000.0
7f7ebd762000-7f7ebd763000 rw-p 0000c000 08:06 148986 /usr/lib/libpangocairo-1.0.so.0.3000.0
7f7ebd763000-7f7ebd78e000 r-xp 00000000 08:06 148984 /usr/lib/libpangoft2-1.0.so.0.3000.0
7f7ebd78e000-7f7ebd98e000 ---p 0002b000 08:06 148984 /usr/lib/libpangoft2-1.0.so.0.3000.0
7f7ebd98e000-7f7ebd98f000 r--p 0002b000 08:06 148984 /usr/lib/libpangoft2-1.0.so.0.3000.0
7f7ebd98f000-7f7ebd990000 rw-p 0002c000 08:06 148984 /usr/lib/libpangoft2-1.0.so.0.3000.0
7f7ebd990000-7f7ebdad5000 r-xp 00000000 08:06 133713 /usr/lib/libgio-2.0.so.0.3200.3
7f7ebdad5000-7f7ebdcd5000 ---p 00145000 08:06 133713 /usr/lib/libgio-2.0.so.0.3200.3
7f7ebdcd5000-7f7ebdcd9000 r--p 00145000 08:06 133713 /usr/lib/libgio-2.0.so.0.3200.3
7f7ebdcd9000-7f7ebdcdb000 rw-p 00149000 08:06 133713 /usr/lib/libgio-2.0.so.0.3200.3
7f7ebdcdb000-7f7ebdcdd000 rw-p 00000000 00:00 0
7f7ebdcdd000-7f7ebdcfd000 r-xp 00000000 08:06 165040 /usr/lib/libatk-1.0.so.0.20409.1
7f7ebdcfd000-7f7ebdefd000 ---p 00020000 08:06 165040 /usr/lib/libatk-1.0.so.0.20409.1
7f7ebdefd000-7f7ebdeff000 r--p 00020000 08:06 165040 /usr/lib/libatk-1.0.so.0.20409.1
7f7ebdeff000-7f7ebdf00000 rw-p 00022000 08:06 165040 /usr/lib/libatk-1.0.so.0.20409.1
7f7ebdf00000-7f7ebdfad000 r-xp 00000000 08:06 149141 /usr/lib/libgdk-x11-2.0.so.0.2400.10
7f7ebdfad000-7f7ebe1ad000 ---p 000ad000 08:06 149141 /usr/lib/libgdk-x11-2.0.so.0.2400.10
7f7ebe1ad000-7f7ebe1b1000 r--p 000ad000 08:06 149141 /usr/lib/libgdk-x11-2.0.so.0.2400.10
7f7ebe1b1000-7f7ebe1b3000 rw-p 000b1000 08:06 149141 /usr/lib/libgdk-x11-2.0.so.0.2400.10
7f7ebe1b3000-7f7ebe5d5000 r-xp 00000000 08:06 149142 /usr/lib/libgtk-x11-2.0.so.0.2400.10
7f7ebe5d5000-7f7ebe7d5000 ---p 00422000 08:06 149142 /usr/lib/libgtk-x11-2.0.so.0.2400.10
7f7ebe7d5000-7f7ebe7dc000 r--p 00422000 08:06 149142 /usr/lib/libgtk-x11-2.0.so.0.2400.10
7f7ebe7dc000-7f7ebe7e0000 rw-p 00429000 08:06 149142 /usr/lib/libgtk-x11-2.0.so.0.2400.10
7f7ebe7e0000-7f7ebe7e2000 rw-p 00000000 00:00 0
7f7ebe7e2000-7f7ebe803000 r-xp 00000000 08:06 2490856 /lib/ld-2.15.so
7f7ebe9bc000-7f7ebe9d0000 rw-p 00000000 00:00 0
7f7ebea01000-7f7ebea03000 rw-p 00000000 00:00 0
7f7ebea03000-7f7ebea04000 r--p 00021000 08:06 2490856 /lib/ld-2.15.so
7f7ebea04000-7f7ebea05000 rw-p 00022000 08:06 2490856 /lib/ld-2.15.so
7f7ebea05000-7f7ebea06000 rw-p 00000000 00:00 0
7fffa6d8e000-7fffa6daf000 rw-p 00000000 00:00 0 [stack]
7fffa6dff000-7fffa6e00000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
** (process:2614): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'
** (process:2614): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'
** (process:2614): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
** (process:2631): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'
** (process:2631): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'
** (process:2631): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
Cannot list GNOME panel applets.
Initialization of gnome-clock failed.
Trying next provider...
Latitude and longitude must be set.
** (nm-applet:2639): WARNING **: Could not initialize NMClient /org/freedesktop/NetworkManager: Launch helper exited with unknown return code 1
** Message: applet now removed from the notification area
** (nm-applet:2639): WARNING **: fetch_connections_done: error fetching connections: (25) Launch helper exited with unknown return code 1.
** (nm-applet:2639): WARNING **: Failed to register as an agent: (25) Launch helper exited with unknown return code 1
** Message: applet now embedded in the notification area
** Message: applet now removed from the notification area
** Message: Starting applet secret agent because GNOME Shell disappeared
** (nm-applet:2639): WARNING **: Failed to register as an agent: (25) Launch helper exited with unknown return code 1
urxvt: unable to parse color 'S_base02', using pink instead.
urxvt: unable to parse color 'S_red', using pink instead.
urxvt: unable to parse color 'S_green', using pink instead.
urxvt: unable to parse color 'S_yellow', using pink instead.
urxvt: unable to parse color 'S_blue', using pink instead.
urxvt: unable to parse color 'S_magenta', using pink instead.
urxvt: unable to parse color 'S_cyan', using pink instead.
urxvt: unable to parse color 'S_base2', using pink instead.
urxvt: unable to parse color 'S_base03', using pink instead.
urxvt: unable to parse color 'S_orange', using pink instead.
urxvt: unable to parse color 'S_base01', using pink instead.
urxvt: unable to parse color 'S_base00', using pink instead.
urxvt: unable to parse color 'S_base0', using pink instead.
urxvt: unable to parse color 'S_violet', using pink instead.
urxvt: unable to parse color 'S_base1', using pink instead.
urxvt: unable to parse color 'S_base3xterm*foreground: #FFFFFF', using pink instead.
urxvt: unable to parse color 'S_base1', using pink instead.
urxvt: unable to parse color 'S_base03', using pink instead.
(xfrun4:2689): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(xfrun4:2689): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(xfrun4:2689): Gtk-CRITICAL **: IA__gtk_tree_model_row_changed: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
(polkit-gnome-authentication-agent-1:2634): Gdk-WARNING **: polkit-gnome-authentication-agent-1: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
(bluetooth-applet:2642): Gdk-WARNING **: bluetooth-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
blueman-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
wicd-client.py: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
Loading configuration plugins
blueman-applet version 1.23 starting
Stale PID, overwriting
Using gconf config backend
Using gconf config backend
Using gconf config backend
Using gconf config backend
Using gconf config backend
Using gconf config backend
Using gconf config backend
Using gconf config backend
Using gconf config backend
Using gconf config backend
Has notifications support True
Loading...
Connecting to daemon...
Connected.
Exception during notification: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files
displaytray True
Done loading.
(nm-applet:2639): Gdk-WARNING **: nm-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
urxvt: X connection to ':0.0' broken, unable to recover, exiting.
(gedit:2725): GLib-CRITICAL **: g_main_loop_quit: assertion `g_atomic_int_get (&loop->ref_count) > 0' failed
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
part of dmesg
[ 6112.822665] xfrun4[6956]: segfault at 1f ip 000000000040ab30 sp 00007fff704890a0 error 4 in xfce4-appfinder[400000+1a000]
[ 6133.893574] gnome-shell-cal[7799] trap int3 ip:7fe9c10115e1 sp:7fffa7690820 error:0
[ 6154.808689] pool[7845]: segfault at 1c ip 00007f53e71b5c7c sp 00007f53bcfebed0 error 4 in libcairo.so.2.11200.2[7f53e714b000+f0000]
[ 6155.396639] gnome-shell-cal[7884] trap int3 ip:7f04260655e1 sp:7fff930bca90 error:0
[ 6175.790936] pool[7899]: segfault at 1c ip 00007fd5e8ebec7c sp 00007fd5bef11ed0 error 4 in libcairo.so.2.11200.2[7fd5e8e54000+f0000]
part of everything.log
Jun 7 03:14:32 localhost kernel: [ 6175.790936] pool[7899]: segfault at 1c ip 00007fd5e8ebec7c sp 00007fd5bef11ed0 error 4 in libcairo.so.2.11200.2[7fd5e8e54000+f0000]
Jun 7 03:14:32 localhost gnome-session[7712]: WARNING: Application 'gnome-shell.desktop' killed by signal 11
Jun 7 03:14:32 localhost gnome-session[7712]: WARNING: App 'gnome-shell.desktop' respawning too quickly
pacman -Qm
acpitool 0.5.1-5
arduino 1:1.0-2
batterymon 1.2.0-8
blogofile 0.7.1-3
chipmunk-radio 0.1.9-2
djvu2pdf 0.9.1-1
dropbox 1.2.48-1
dvdbackup 0.4.1-3
faenza-icon-theme 1.1-1
fbxkb 0.6-1
fife-svn 3811-1
gcc-gcj-ecj 4.5-1
gdm3setup 20120607-1
gen-init-cpio 2.6.32-1
gnome-shell-extension-user-theme 3.2.3-1
gnuplot-py 1.8-3
google-talkplugin 2.8.5.0-1
gtk-rezlooks-engine 0.6-10
gtk2-theme-dust 0.5.0-2
gtk2-theme-dyne 0.2-2
gtk2-theme-fawn 0.3-1
guvcview 1.5.3-1
hal 0.5.14-6
hal-info 0.20091130-1
hibernate-script 2.0-6
ipe 7.1.1-2
jdownloader latest-14.2
lib32-curl 7.23.1-1
lib32-libxxf86dga 1.1.2-1
lib32-nspr 4.8.9-1
lib32-nss 3.12.11-1
libdrm-git 20120427-1
libfetch 2.33-3
libflashsupport-pulse 20120307-1
libgdu 3.0.2-2
linux-mainline 3.3rc7-1
ntrack 1:16-2
obshutdown 0.1_rc1-1
picasa 3.0_5744.02-6
pybik 0.4-2
python-gtkglext 1.1.0-4
python-sympy-git 20120424-1
python-textile 2.1.5-1
python-uncertainties 1.8-1
python2-pygtkhelpers-hg 279-1
python2-pylast 0.5.11-1
screenruler 1.1-2
shell-fm-git 20120518-1
tango-icon-theme 0.8.90-4
tcp_wrappers 7.6-11
texmaker 3.2.2-1
tlp 0.3.3-1
trayfreq 0.2.x.dev2-1
unknown-horizons-git 20111115-1
wicd-eduroam 1-1
xarchiver 0.5.2-5
Mix of xfce and gnome messages may by caused by the fact that I use xfce4 as a substitute for now.
EDIT:
I just wanted to note that issue went away, thanks to IMO libcairo update. It however, got me to configure openbox setup to usable state
Marking as solved.
Last edited by Jamp (2012-06-09 23:16:25)# /etc/rc.conf - Main Configuration for Arch Linux
# See 'man 5 rc.conf' for more details
# LOCALIZATION
HARDWARECLOCK="localtime"
TIMEZONE="Europe/London"
KEYMAP="uk"
CONSOLEFONT="default8x16"
CONSOLEMAP=
LOCALE=
DAEMON_LOCALE="yes"
USECOLOR="yes"
# HARDWARE
MODULES=()
USEDMRAID="no"
USEBTRFS="no"
USELVM="no"
# NETWORKING
HOSTNAME=TLap
interface=
address=
netmask=
broadcast=
gateway=
NETWORK_PERSIST="no"
# DAEMONS
DAEMONS=(syslog-ng crond dbus networkmanager)
# /etc/hosts: static lookup table for host names
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost TLap
::1 localhost.localdomain localhost
# End of file
GDM is set to run through /etc/inittab btw and runs fine, I just want gnome-shell back without this annoyance and I don't really understand what I did. -
[Solved] Nautilus bookmarks - Gnome Shell Doesn't Start
Hi there.
I've tried to search and have been scratching my head by what probably has a really simple solution but I have not found it so far.
I've made a fresh install of Arch, system is up to date, with Gnome 3 (shell and whatnot).
I've set my locale in /etc/rc.conf to pt_BR and have properly generated locales.
$ locale -a
C
en_US
en_US.iso88591
en_US.utf8
POSIX
pt_BR
pt_BR.iso88591
pt_BR.utf8
Gnome is localized to pt_BR
Everything is fine and dandy except for a really annoying thing.
xdg-user-dirs-update
Creates folders with incorrect characters when viewed on Nautilus (but appear correct on Nautilus sidebar).
I tried editing the .config/user-dirs.dirs file with gedit, it showed the wrong characters but allowed me to write the correct ones. Saved it and ran xdg-user-dis-update, the output is borked characters. Tried editing it in nano, same results.
I've managed to manually delete and create the correct folders using
xdg-user-dirs-update --set MUSIC /home/$USER/Foldername
but, while it displays properly on nautilus when navigating, it doesn't display properly on the sidebar.
I'm linking to a screenshot so it is easier to understand. The music folder should read "Músicas". You can see I'm inside the Videos folder but the sidebar name doesn't match the folder name.
http://i453.photobucket.com/albums/qq25 … _issue.jpg
Any ideas?
EDIT: After this post, I rebooted and gnome shell would no longer start - at all. I would get it to log in and display the wallpaper but that was it. I could get into xfce4 from gdm so I knew the issue was with gnome.
Nonetheless, I went ahead and did yet another reinstall (I always assume I borked a package or hard-to-find-configuration).
Feeling frustated but being a tad wiser I noticed a weird behavior on ~/.xsessionerror
[Error initializing libicu support]
This went on forever until I aborted the command.
Changing my locale on my rc.conf from pt_BR to en_US fixed gnome-shell. I was once again able to boot into it without a problem. I then, from within gnome, choose portuguese as the default locale (gnome-control-panel, not rc.conf). This fixed the Nautilus issue above and has not stopped gnome-shell from working. I don't know *how* they implement their localization but heck, it works.
Solved and maybe it might help anyone with the same issue.
Last edited by OttoRobba (2012-06-22 06:43:37)Hmm, since yesterday I'm fumbling around with those settings too. It seems this is not settings related at all (at least not to old package settings), but rather to nautilus' behavior. Just a few minutes ago I've set "view all hidden files" to true in it's settings. It instantly crashed. After a reboot gnome-shell is gone. This is really annoying.
Also there is no taskbar, no menu bar, no nothing in fallback mode!... Is this even fallback mode?
Trying to launch gnome-shell from terminal then gives:
Window manager warning: Screen 0 on display ":0" already has a window manager; try using the --replace option to replace the current window manager.
with replace option:
Window manager warning: Log level 16: Another compositing manager is running on screen 0
Window manager warning: Log level 8: add_win: assertion `info != NULL' failed
Window manager warning: Log level 8: add_win: assertion `info != NULL' failed
Window manager warning: Log level 8: add_win: assertion `info != NULL' failed
Window manager warning: Log level 8: add_win: assertion `info != NULL' failed
Window manager warning: Log level 8: add_win: assertion `info != NULL' failed
Window manager warning: Log level 8: meta_compositor_sync_window_geometry: assertion `info' failed
Window manager warning: Log level 8: add_win: assertion `info != NULL' failed
Window manager warning: Log level 8: meta_compositor_sync_window_geometry: assertion `info' failed
Window manager warning: Log level 8: add_win: assertion `info != NULL' failed
Window manager warning: Log level 8: meta_compositor_sync_window_geometry: assertion `info' failed
Window manager warning: Log level 8: add_win: assertion `info != NULL' failed
Window manager warning: Log level 8: meta_compositor_sync_window_geometry: assertion `info' failed
Window manager warning: Log level 8: add_win: assertion `info != NULL' failed
Segmentation fault
Compiz is gone already. What could be causing this issue? -
[Solved] tmux/nano jumbles output
I am running i3 and use zsh as my shell.
I was customizing my ~/.zshrc, ~/.tmux.conf and ~/.Xresources file today, and after customization and rebooting my system when I run nano inside a tmux window, it opens up the file fine. But if the file is more than a <window size> long, when I scroll down and back up, it doesn't seem to clear the previous window contents but seems to write over what was present making a mess on screen.
I have attached my .zshrc, .tmux.conf and .Xresources file.
This doesn't happen when i do cat some_long_file | less or if i'am viewing a man page.
Someone please help me with this. I tried 'googling' but couldn't find anything relevant.
~/.tmux.conf
set -g status-bg blue
set -g status-left '#[fg=black,bold]:#S]['
set -g status-right '#[fg=black,bold]][ %Y-%m-%d %H:%M#[default]'
#setw -g window-status-current-bg green
set-window-option -g window-status-current-format '#[bg=black,fg=cyan,bold]#I:#W#[fg=dim]#F'
setw -g window-status-current-attr underscore
# Alerted window in status bar. Windows which have an alert (bell, activity or content).
set-window-option -g window-status-alert-fg red
set-window-option -g window-status-alert-bg black
set -g prefix C-g
unbind C-b
bind C-a send-prefix
bind C-d detach
bind C-e neww 'exec emacs -nw'
bind / neww 'exec top'
new-session
~/.Xresources
! Xresources file
URxvt.transparent: true
! URxvt.shading: 0 to 99 darkens, 101 to 200 lightens
URxvt.shading: 110
URxvt.scrollBar: off
URxvt.font: -*-terminus-medium-*-*-*-*-150-*-*-*-*-iso8859-1
Xft.dpi: 96
Xft.antialias: true
Xft.hinting: 1
Xft.hintstyle: hintfull
Xft.rgba: rgb
URxvt.perl-lib: /usr/lib/urxvt/perl/
URxvt.perl-ext-common: default,matcher
URxvt.urlLauncher: /usr/bin/chromium
URxvt.matcher.button: 1
!! drop in Solarized colorscheme for Xresources/Xdefaults
#define S_base03 #002b36
#define S_base02 #073642
#define S_base01 #586e75
#define S_base00 #657b83
#define S_base0 #839496
#define S_base1 #93a1a1
#define S_base2 #eee8d5
#define S_base3 #fdf6e3
#define S_yellow #b58900
#define S_orange #cb4b16
#define S_red #dc322f
#define S_magenta #d33682
#define S_violet #6c71c4
#define S_blue #268bd2
#define S_cyan #2aa198
#define S_green #859900
*background: S_base03
*foreground: S_base00
*cursorColor: S_base1
*pointerColorBackground:S_base01
*pointerColorForeground:S_base1
!! black dark/light
*color0: S_base02
*color8: S_base03
!! red dark/light
*color1: S_red
*color9: S_orange
!! green dark/light
!*color2: S_green
*color10: S_base01
!! yellow dark/light
*color3: S_yellow
*color11: S_base00
!! blue dark/light
*color4: S_blue
*color12: S_base0
!! magenta dark/light
*color5: S_magenta
*color13: S_violet
!! cyan dark/light
*color6: S_cyan
*color14: S_base1
!! white dark/light
*color7: S_base2
*color15: S_base3
~/.zshrc
# Set environment variables
#==========================
TERM=rxvt-unicode-256color
PAGER=less
EDITOR=emacs
FIGNORE='.o:.out:~'
COLORTERM=yes
HISTFILE=~/.zshhistory
HISTSIZE=1000
SAVEHIST=1000
LS_COLORS='no=00:fi=00:di=00;36:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.bz2=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.sit=01;31:*.hqx=01;31:*.jpg=01;35:*.png=01;35:*.gif=01;35:*.bmp=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mpg=01;35:*.avi=01;35:*.mov=01;35:*.app=01;33:*.c=00;33:*.php=00;33:*.pl=00;33:*.cgi=00;33:'
export TERM PAGER EDITOR FIGNORE HISTFILE HISTSIZE SAVEHIST COLORTERM LS_COLORS
# set up the prompt
#================
PROMPT='%F{yellow}%n%f %F{magenta}@%f %F{blue}%m%f %B%F{green}%~%f%b '
RPROMPT='%F{red}(%?)%f'
# Load zsh modules
#===================
# compinit initializes various advanced completions for zsh
autoload -U compinit && compinit
# autocompletion optoins
#======================
# case-insensitive tab completion for filenames (useful on Mac OS X)
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'
# General completion technique
zstyle ':completion:*' completer _complete _correct _approximate _prefix
zstyle ':completion:*' completer _complete _prefix
zstyle ':completion::prefix-1:*' completer _complete
zstyle ':completion:incremental:*' completer _complete _correct
zstyle ':completion:predict:*' completer _complete
# Completion caching
zstyle ':completion::complete:*' use-cache 1
zstyle ':completion::complete:*' cache-path ~/.zsh/cache/$HOST
# Expand partial paths
zstyle ':completion:*' expand 'yes'
zstyle ':completion:*' squeeze-slashes 'yes'
# Don't complete backup files as executables
zstyle ':completion:*:complete:-command-::commands' ignored-patterns '*\~'
# Separate matches into groups
zstyle ':completion:*:matches' group 'yes'
# Describe each match group.
zstyle ':completion:*:descriptions' format "%B---- %d%b"
# Messages/warnings format
zstyle ':completion:*:messages' format '%B%U---- %d%u%b'
zstyle ':completion:*:warnings' format '%B%U---- no match for: %d%u%b'
# Describe options in full
zstyle ':completion:*:options' description 'yes'
zstyle ':completion:*:options' auto-description '%d'
zstyle ':completion:*:history-words' stop yes
zstyle ':completion:*:history-words' remove-all-dups yes
zstyle ':completion:*:history-words' list false
zstyle ':completion:*:history-words' menu yes
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
# zsh options
# ============
setopt \
no_beep \
correct \
auto_list \
auto_cd \
complete_in_word \
auto_pushd \
complete_aliases \
extended_glob \
zle \
share_history \
hist_ignore_all_dups
autoload -U promptinit
promptinit
# Some aliases
# ===========
## Command Aliases
alias x=exit
alias c=clear
alias t=tmux
alias tls='tmux list-sessions'
alias tkl='tmux kill-session -t '
alias ls='ls --color=auto -F'
alias l='ls -lAF --color=auto'
alias mkdir='nocorrect mkdir'
alias mv='nocorrect mv'
alias man='nocorrect man'
alias pacman='nocorrect pacman'
alias mpc='mplayer -vo gl -lavdopts threads=2'
alias -g zrc='~/.zshrc'
# keybinds
# ========
bindkey "^[[B" history-beginning-search-forward
bindkey "^[[A" history-beginning-search-backward
Last edited by elric_ed (2012-03-11 07:45:15)Don't set your TERM in your .zshrc
In tmux.conf put:
set -g default-terminal screen-256color
Maybe you are looking for
-
Can Crystal Report XI update data in a SQL Table
Post Author: abidamin CA Forum: Data Connectivity and SQL Hi, I have a very specific requirement to update a flag field in one of SQL2005 database tables, I need to update a One character field with Y on all selected records printed on the report as
-
Gnucash and gnucash-docs don't seem to like one another.
I am trying the gnucash application out. But even though I have installed the gnucash-docs package, gnucash says that it can't find it. Is this a bug or just me being an old <expletive deleted>? Where should it find it's docs? And where does gnuca
-
Service Category determination for Service Tax report
Hi All, We have applied the SP18 at our client's place in which a new node of Service Tax has been introduced in IMG under Logistics. We would like to configure the Service Category under it. Suppose the access sequence is maintained as (any suitable
-
DROP DB Link within PL/SQL proc.
Hi, In a PL/SQL procedure and I have to delete and recreate a DB Link within a cursor. The DB Link has always the same name but the definition changes depending of some parameters. If I add DBMS_SESSION.CLOSE_DATABASE_LINK(my_dblink) and EXECUTE IMME
-
How to Move Photo Library for Elements Organizer?
Using Elements 12 on Mac. For Organizer where I currently have built a catalog, I have my photos on a portable drive. I would like to move my photos to my hard drive. How can I do that enmasse, so I don't have to move folder by folder? Thanks Dave