View previous topic :: View next topic |
Author |
Message |
gnychis Veteran
Joined: 23 Mar 2005 Posts: 1004 Location: Pittsburgh, PA
|
Posted: Thu Aug 03, 2006 6:43 pm Post subject: alt to aterm with transparency and utf support [SOLVED] |
|
|
Hey guys,
I've used aterm for about 3 years now and its been able to satisfy all my needs! However, I have a new need... utf support, which aterm lacks. I was wondering what is another light weight terminal like aterm, that supports transparency, with utf support.
Thanks!
George _________________ <---- me and Richard Stallman
Last edited by gnychis on Thu Aug 03, 2006 11:12 pm; edited 1 time in total |
|
Back to top |
|
|
swimmer Veteran
Joined: 15 Jul 2002 Posts: 1330 Location: Netherlands
|
Posted: Thu Aug 03, 2006 7:12 pm Post subject: |
|
|
Hi,
I can only recommend rxvt-unicode
I'm highly content with this terminal
HTH
swimmer |
|
Back to top |
|
|
gnychis Veteran
Joined: 23 Mar 2005 Posts: 1004 Location: Pittsburgh, PA
|
Posted: Thu Aug 03, 2006 7:48 pm Post subject: |
|
|
awesome, seems to be what i need
it doesn't seem to read my ~/.Xdefaults file though, what do i need to do to get it to read it?
it contains the font and settings i want it to use, which xterm and aterm read from _________________ <---- me and Richard Stallman |
|
Back to top |
|
|
Kenji Miyamoto Veteran
Joined: 28 May 2005 Posts: 1452 Location: Looking over your shoulder.
|
Posted: Thu Aug 03, 2006 7:52 pm Post subject: |
|
|
It should use the ~/.Xdefaults file: Code: | RESOURCES (available also as long-options)
Note: `urxvt --help' gives a list of all resources (long options) com-
piled into your version.
You can set and change the resources using X11 tools like xrdb. Many
distribution do also load settings from the ~/.Xresources file when X
starts. urxvt will consult the following files/resources in order, with
later settings overwriting earlier ones:
1. system-wide app-defaults file, either locale-dependent OR global
2. app-defaults file in $XAPPLRESDIR
3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults
4. SCREEN_RESOURCES for the current screen
5. $XENVIRONMENT file OR $HOME/.Xdefaults-<nodename> |
_________________ [ Kawa-kun, new and improved!! ]
Alex Libman seems to be more of an anarchist than a libertarian. |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Thu Aug 03, 2006 7:58 pm Post subject: |
|
|
Kenji Miyamoto wrote: | It should use the ~/.Xdefaults file: |
Yes, urxvt is the best term ever, here is my config, there should be no problems. If there is some problem, you can always force X to merge the config file like this.
Code: | # xrdb -merge ~/.Xdefaults |
|
|
Back to top |
|
|
swimmer Veteran
Joined: 15 Jul 2002 Posts: 1330 Location: Netherlands
|
Posted: Thu Aug 03, 2006 7:59 pm Post subject: |
|
|
I use URxvt-resources in .Xdefaults and it works like a charm
Code: | ! urxvt settings
URxvt*font: xft:Courier 10 Pitch:style=Roman:pixelsize=14
URxvt*boldFont: xft:Courier 10 Pitch:style=Bold:pixelsize=14
URxvt*loginShell: true
URxvt*scrollBar: false
URxvt*inheritPixmap: true
URxvt*realBold: true
URxvt*reverseVideo: false
URxvt*transparent: true
URxvt*saveLines: 20000
URxvt*tintColor: lightgray
URxvt*shading: 40
URxvt*xftAntialias: True
URxvt*xftHinting: True
URxvt*xftAutoHint: True
URxvt*perl-ext-common: default,mark-urls
URxvt*urlLauncher: firefox-bin | HTH
swimmer |
|
Back to top |
|
|
gnychis Veteran
Joined: 23 Mar 2005 Posts: 1004 Location: Pittsburgh, PA
|
Posted: Thu Aug 03, 2006 8:36 pm Post subject: |
|
|
ahhh okay, you're right, it is reading it
http://www.andrew.cmu.edu/user/gnychis/terms.png
I have two last requests... here is a screenshot of my aterm, xterm, and urxvt terminals
Notice how xterm and aterm have a title that is my "username@hostname path" but urxvt doesn't, any ideas how to get it to do this?
Second, in the actual shell itself, to the left of my cursor everything is bold in xterm and aterm, but not in urxvt
Thanks!
George
Code: |
! X resources used in FVWM-Crystal project (http://fvwm-crystal.berlios.de/)
! Written by: Maciej Delmanowski <harnir@post.pl>
! Put this file as ~/.Xresources in your home directory
! ===========================================================================
! XTerm resources
! Look similar to the Linux Console
! ---------------------------------------------------------------------------
XTerm*background: black
XTerm*foreground: white
XTerm*cursorColor: yellow
XTerm*Title: XTerm
XTerm*scrollBar: false
XTerm*saveLines: 5000
! Fonts for different resolutions and character encodings
! By default English encoding is set. How to set different encodings:
! - Polish encoding: apply "-iso8859-2" at the end of the font string
! ---------------------------------------------------------------------------
! Englsh encoding
! 640x480
!XTerm*font: -misc-fixed-medium-r-normal-*-12-*
! 800x600
!XTerm*font: -misc-fixed-medium-r-normal-*-13-*
! 1024x768
!XTerm*font: -misc-fixed-medium-r-normal-*-15-*
XTerm*font: -misc-fixed-medium-r-normal-*-15-*-iso10646-1
! 1152x864
!XTerm*font: -misc-fixed-medium-r-normal-*-14-*
! 1280x1024
!XTerm*font: -misc-fixed-medium-r-normal-*-18-*
! Colors similar to those used in Linux Console (ttyX)
! ---------------------------------------------------------------------------
XTerm*color0: rgb:0/0/0
XTerm*color1: rgb:cc/00/00
XTerm*color2: rgb:00/cc/00
XTerm*color3: #bd5e01
XTerm*color4: rgb:00/00/cc
XTerm*color5: rgb:cc/00/cc
XTerm*color6: rgb:00/cc/cc
XTerm*color7: rgb:aa/aa/aa
XTerm*color8: rgb:33/33/33
XTerm*color9: rgb:ff/00/00
XTerm*color10: rgb:00/ff/00
XTerm*color11: rgb:ff/ff/00
XTerm*color12: rgb:00/00/ff
XTerm*color13: rgb:ff/00/ff
XTerm*color14: rgb:00/ff/ff
XTerm*color15: rgb:ff/ff/ff
! Default XTerm colors
! ---------------------------------------------------------------------------
!XTerm*color0: black
!XTerm*color1: red3
!XTerm*color2: green3
!XTerm*color3: brown
!XTerm*color4: blue3
!XTerm*color5: magenta3
!XTerm*color6: cyan3
!XTerm*color7: gray90
!XTerm*color8: gray30
!XTerm*color9: red
!XTerm*color10: green
!XTerm*color11: yellow
!XTerm*color12: blue
!XTerm*color13: magenta
!XTerm*color14: cyan
!XTerm*color15: white
! Specific settings for QuakeConsole (Alt+`), to get better effect
! ---------------------------------------------------------------------------
! 800x600
!QuakeConsoleNeedsUniqueName*internalBorder: 0
! 1024x768
!QuakeConsoleNeedsUniqueName*internalBorder: 0
! 1152x864
!QuakeConsoleNeedsUniqueName*internalBorder: 1
! 1280x1024
!QuakeConsoleNeedsUniqueName*internalBorder: 0
! ===========================================================================
! Aterm resources
! Aterm can use XTerm's resources, so look also in there
! Here are only settings specific to Aterm
! Aterm supports transparency, so it's turned on by default
! ---------------------------------------------------------------------------
Aterm.transparent: true
Aterm.shading: 30
! Specific settings for Aterm-based QuakeConsole
! ---------------------------------------------------------------------------
! 1152x864
!QuakeConsoleNeedsUniqueName*font: -misc-fixed-medium-r-normal-*-12-*
! 1280x1024
!QuakeConsoleNeedsUniqueName*font: -misc-fixed-medium-r-normal-*-14-*
! ===========================================================================
! mrxvt resources
! mrxvt can use XTerm's resources, so look also in there
! Here are only settings specific to mrxvt
! Similar look to the Linux Console, with corresponding tabs
! ---------------------------------------------------------------------------
mrxvt.initTermNumber: 1
mrxvt.protectSecondary: true
mrxvt.syncTabTitle: true
mrxvt.bottomTabbar: true
mrxvt.hideButtons: true
mrxvt.tabForeground: white
mrxvt.tabBackground: black
mrxvt.itabForeground: white
mrxvt.itabBackground: #555555
! Settings for mrxvt-based QuakeConsole - strongly recommended :)
! ---------------------------------------------------------------------------
!QuakeConsoleNeedsUniqueName.initTermNumber: 1
!QuakeConsoleNeedsUniqueName.protectSecondary: true
!QuakeConsoleNeedsUniqueName.syncTabTitle: true
!QuakeConsoleNeedsUniqueName.bottomTabbar: true
!QuakeConsoleNeedsUniqueName.hideButtons: true
!QuakeConsoleNeedsUniqueName.tabForeground: white
!QuakeConsoleNeedsUniqueName.tabBackground: black
!QuakeConsoleNeedsUniqueName.itabForeground: white
!QuakeConsoleNeedsUniqueName.itabBackground: #555555
! ===========================================================================
! URxvt resources
! Look similar to the Linux Console, with transparency
! ---------------------------------------------------------------------------
URxvt.background: black
URxvt.foreground: white
URxvt.cursorColor: yellow
URxvt.shading: 30
URxvt.tintColor: white
URxvt.inheritPixmap: true
URxvt.scrollBar: false
! Font settings
! URxvt uses UTF-8, so we don't need encoding-specific settings
! ---------------------------------------------------------------------------
! 640x480
!URxvt.font: xft:Monospace:pixelsize=10
! 800x600
!URxvt.font: xft:Monospace:pixelsize=10
! 1024x768
!URxvt.font: xft:Monospace:pixelsize=11
! 1152x864
!URxvt.font: xft:Monospace:pixelsize=12
! 1280x1024
!URxvt.font: xft:Monospace:pixelsize=14
URxvt.font: -misc-fixed-medium-r-normal-*-15-*-iso10646-1
! Colors similar to Linux console
! ---------------------------------------------------------------------------
URxvt.color0: rgb:0/0/0
URxvt.color1: rgb:cc/00/00
URxvt.color2: rgb:00/cc/00
URxvt.color3: #bd5e01
URxvt.color4: rgb:00/00/cc
URxvt.color5: rgb:cc/00/cc
URxvt.color6: rgb:00/cc/cc
URxvt.color7: rgb:aa/aa/aa
URxvt.color8: rgb:33/33/33
URxvt.color9: rgb:ff/00/00
URxvt.color10: rgb:00/ff/00
URxvt.color11: rgb:ff/ff/00
URxvt.color12: rgb:00/00/ff
URxvt.color13: rgb:ff/00/ff
URxvt.color14: rgb:00/ff/ff
URxvt.color15: rgb:ff/ff/ff
! Default URxvt colors
! ---------------------------------------------------------------------------
!URxvt.color0: black
!URxvt.color1: red3
!URxvt.color2: green3
!URxvt.color3: brown
!URxvt.color4: blue3
!URxvt.color5: magenta3
!URxvt.color6: cyan3
!URxvt.color7: gray90
!URxvt.color8: gray30
!URxvt.color9: red
!URxvt.color10: green
!URxvt.color11: yellow
!URxvt.color12: blue
!URxvt.color13: magenta
!URxvt.color14: cyan
!URxvt.color15: white
! Specific settings for QuakeConsole
! ---------------------------------------------------------------------------
! 1280x1024
!QuakeConsoleNeedsUniqueName.font: xft:Monospace:pixelsize=12
|
_________________ <---- me and Richard Stallman |
|
Back to top |
|
|
swimmer Veteran
Joined: 15 Jul 2002 Posts: 1330 Location: Netherlands
|
Posted: Thu Aug 03, 2006 8:53 pm Post subject: |
|
|
1: I guess you are not logged in ...
you could use "URxvt*loginShell: true" in your ~/.Xdefaults
2: I can only guess again
Check you $PS1 and see if you can fix it there ...
HTH
swimmer |
|
Back to top |
|
|
gnychis Veteran
Joined: 23 Mar 2005 Posts: 1004 Location: Pittsburgh, PA
|
Posted: Thu Aug 03, 2006 9:19 pm Post subject: |
|
|
i'm confused, how can i not be logged in? I tried putting that in Xdefaults but still don't get what i expect in my title
Code: |
gnychis@monster ~ $ echo $PS1
\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\]
|
_________________ <---- me and Richard Stallman |
|
Back to top |
|
|
gnychis Veteran
Joined: 23 Mar 2005 Posts: 1004 Location: Pittsburgh, PA
|
Posted: Thu Aug 03, 2006 9:20 pm Post subject: |
|
|
oh, and if i specify a bold font like you do in your config, my shell info does show up in bold, however how come i can't get the current font to show bold like the other two terminals can get it to? _________________ <---- me and Richard Stallman |
|
Back to top |
|
|
gnychis Veteran
Joined: 23 Mar 2005 Posts: 1004 Location: Pittsburgh, PA
|
Posted: Thu Aug 03, 2006 9:39 pm Post subject: |
|
|
okay, i fixed the bold problem with this:
URxvt*boldFont: fixed 10 Pitch:style=Bold:pixelsize=14 _________________ <---- me and Richard Stallman |
|
Back to top |
|
|
swimmer Veteran
Joined: 15 Jul 2002 Posts: 1330 Location: Netherlands
|
Posted: Thu Aug 03, 2006 9:56 pm Post subject: |
|
|
Uh sorry - I meant with "1:" and "2:" your first and second request
And indeed - regarding "2:" I forgot to think on the bold font :-/
I am glad that you resolved it anyway ...
My comments in "1:" were meant to solve your problem with the title ... if I do an 'urxvt +ls' I don't have any titles as well. So please try the solution above and report if that worked.
Greetz
swimmer |
|
Back to top |
|
|
gnychis Veteran
Joined: 23 Mar 2005 Posts: 1004 Location: Pittsburgh, PA
|
Posted: Thu Aug 03, 2006 10:58 pm Post subject: |
|
|
i see... i have "URxvt*loginShell: true" in my ~/.Xdefaults but no luck with it :\ _________________ <---- me and Richard Stallman |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Thu Aug 03, 2006 11:06 pm Post subject: |
|
|
gnychis wrote: | i see... i have "URxvt*loginShell: true" in my ~/.Xdefaults but no luck with it :\ |
Sorry if you already said this, where do you export your custom PS1? |
|
Back to top |
|
|
gnychis Veteran
Joined: 23 Mar 2005 Posts: 1004 Location: Pittsburgh, PA
|
Posted: Thu Aug 03, 2006 11:12 pm Post subject: |
|
|
awesome, your question lead to my solution
its exported in ~/.bashrc, and what used to be:
Code: |
case $TERM in
xterm*|rxvt|Eterm|eterm)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
;;
screen)
PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'
;;
esac
|
i needed to rxvt-unicode to the terminal list
Thanks for all the help guys! _________________ <---- me and Richard Stallman |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Thu Aug 03, 2006 11:24 pm Post subject: |
|
|
Yeah! that's what I thought. Im glad that the thing is working nicely now.
Enjoy urxvt, the finest term ever!
Regards. |
|
Back to top |
|
|
swimmer Veteran
Joined: 15 Jul 2002 Posts: 1330 Location: Netherlands
|
Posted: Thu Aug 03, 2006 11:40 pm Post subject: |
|
|
You're welcome and have fun!!!
swimmer |
|
Back to top |
|
|
|