Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Linux/BSD/FOSS General Chat & FAQ, Post whatever questions you have....

views
     
TSG-17
post Oct 2 2011, 09:39 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
^Of course you can. URxvt can do almost anything you want it to as long as you give it the right config.

Here's an example:

CODE

URxvt*title:             urxvt
URxvt*termName:          rxvt-256color
!URxvt*font:             -*-terminus-medium-r-normal-*-12-120-72-72-c-60-iso8859-1
!URxvt*boldFont:         -*-terminus-medium-r-normal-*-12-120-72-72-c-60-iso8859-1
!URxvt*font:             xft:lime:pixelsize=7
!URxvt*boldFont:         xft:lime:pixelsize=7
!URxvt*font:             -artwiz-lime-medium-r-normal-*-10-110-75-75-m-50-iso8859-1
!URxvt*boldFont:         -artwiz-lime-medium-r-normal-*-10-110-75-75-m-50-iso8859-1
URxvt*font:              -*-montecarlo-medium-*-*-*-*-*-*-*-*-*-*-*
URxvt*boldFont:          -*-montecarlo-medium-*-*-*-*-*-*-*-*-*-*-*
!URxvt*font:             -artwiz-smoothansi-medium-r-normal-*-13-130-75-75-m-60-iso8859-1
!URxvt*boldFont:         -artwiz-smoothansi-medium-r-normal-*-13-130-75-75-m-60-iso8859-1
!URxvt*font:             -sgi-iris-medium-r-normal-*-10-100-72-72-m-60-iso8859-1
!URxvt*boldFont:         -sgi-iris-medium-r-normal-*-10-100-72-72-m-60-iso8859-1
!URxvt*font:             -Misc-Fixed-Medium-R-Semicondensed-*-12-110-75-75-C-60-ISO10646-1
!URxvt*boldFont:         -Misc-Fixed-Medium-R-Semicondensed-*-12-110-75-75-C-60-ISO10646-1
!URxvt*backgroundPixmap:  /home/geezer/images/translucent-2.png
URxvt*background:        #000000
URxvt*foreground:        #8f8f8f
URxvt*scrollBar:         false
URxvt*secondaryscroll:   true
URxvt*matcher.button:    1
URxvt*cursorBlink:       true
URxvt*cursorUnderline:   true
URxvt*cursorColor:       #808080
URxvt*colorBD:           #b5b5b5
URxvt*colorUL:           #b383c9
URxvt*internalBorder:    3

URxvt.perl-ext-common:   default,clipboard,matcher
URxvt*allow_bold:        true
!URxvt*depth:             24
!URxvt*dynamicColors:     on

!Xft*dpi:                96
!Xft*antialias:          false
!Xft*hinting:            full

URxvt*transparent:      true
URxvt*mapAlert:          true
URxvt*visualBell:        true
URxvt*urgentOnBell:      true
!URxvt*inheritPixmap:    true
!URxvt*tintColor:        #a8a8a8
!URxvt*shadeColor:       #515151
URxvt*shading:           20

!URxvt.tabbed.tabbar-fg:    14
!URxvt.tabbed.tabbar-bg:     0
!URxvt.tabbed.tab-fg:       14
!URxvt.tabbed.tab-bg:        8
!URxvt.tabbed.autohide:     yes
!URxvt.tabbed.new-button:   no
!URxvt.tabbed.title:        no


!BLK
URxvt*color0:            #5E5E5E
URxvt*color8:            #7A7A7A
!RED
URxvt*color1:            #BD877B
URxvt*color9:          #E1B2AB
!GRN
URxvt*color2:            #7BBD87
URxvt*color10:           #ABE1B2
!YEL
URxvt*color3:            #BDA87A
URxvt*color11:           #E1CDAB
!BLE
URxvt*color4:            #7B90BD
URxvt*color12:           #ABBFE1
!MAG
URxvt*color5:            #BD7BB1
URxvt*color13:           #E1ABDA
!CYN
URxvt*color6:            #7BAABD
URxvt*color14:           #ABD4E0
!WHT
URxvt*color7:            #BCBCBC
URxvt*color15:           #E2E2E2



Change the fonts to whatever it is you want/have. You'll notice the background is set to pure black and the "URxvt*transparent" is set to true. Then scroll down and you'll see URxvt*shading: 20" .... This means that it's a black BG terminal which is 20% transparent (or 80% opaque if you look at it from an opacity p.o.v)

Other variables you can play with are the "*inheritPixmap" one which might give you better quality transparency if you have a very intricate wallpaper. But if you want shading with the inheritPixmap variable turned on, you'll have to enable and adjust the "URxvt*tintColor" variable as well.

I've also included a "URxvt*backgroundPixmap" variable there (but it's been disabled) which you can set to have tileable images if you desire. For example, make a nice 50% transparent black 10x10px .png square with some noise and Gaussian blur in GIMP/PS and enable it, and you'll have a nice, glass-like blur effect going on. URxvt also has it's own blur function (read the man page) but that can be slow.

Remember, the exclamation mark "!" enables and disables lines in the .Xdefaults/.Xresources config.

Also remember that the settings above are for pseudo-transparency, which is much more usable and lighter than true-transparency, imho. If you still want true transparency, then you'll have to do some reading since you'll need to input the color values in RGBA variables and also (maybe) compile URxvt differently, plus you'll need to enable some form of compositing (xcompmgr, cairo-compmgr...etc) Might as well just run a bloat-ass KDE4 or Gnome3 if you really want that sort of bling, tbh. =^P

Hope this helps. =)

P.S
You really should read the URxvt man page if you can. It's well annotated and there's a wealth of info on it. Variables like *fade can be very useful if you're on a multi-terminal (tiling) setup.

Oh, have fun playing with your Scrotum, btw =P

This post has been edited by G-17: Oct 2 2011, 09:51 PM
TSG-17
post Oct 2 2011, 09:49 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
^ As far as I know, it's the same nowadays. There used to be a problem with some perl extensions on older versions, but I don't think it matters nowadays.
TSG-17
post Oct 12 2011, 11:13 AM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(alvin aka gHostoNg @ Oct 9 2011, 08:42 PM)
I have a broadcom wireless card wouldn't work on ubuntu.. I saw a solution posted in one of the topic but I couldn't get it again... who can give me the solution? I tried with jockey-gtk but can't get the driver up..>.<
*
Broadcrap is extremely problematic on Linux. Some cards work flawlessly, while some just refuse to work even with their recommended drivers.
What's your model name/number? If your hardware is new (as in bought within the last 6 - 8 months), maybe your current Ubuntu version doesn't have the drivers in its repositories. Might wanna try the latest Oneiric Ocelot when the release candidates are out. Beyond that, I can't suggest anything until you share your system's hardware info/specs.


Added on October 12, 2011, 11:13 am
QUOTE(em0ti0n @ Oct 11 2011, 09:43 AM)
Hi, wanna ask. What download manager are best to use with linux?
*

Only one I use is Aria2
some info from the man page: http://aria2.sourceforge.net/aria2c.1.html

Other than that, I just rely on the usual browser download features, wget and torrent clients. There's also the DownThemAll!! extension for Firefox which has a good reputation.

This post has been edited by G-17: Oct 12 2011, 11:15 AM
TSG-17
post Oct 16 2011, 09:10 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(fJok3R @ Oct 16 2011, 11:12 AM)
any recommendation for IM apps? something that integrate well with scrotwm yet works behind proxy well
*

Depends on your protocol. If you're on Jabber (Google Talk), then Mcabber should be a viable solution. It's my primary IM client these days mainly because of its support for OpenPGP encryption. Not sure how well it works behind a proxy though, but there's this bit in the default config file:

CODE
# Proxy
# mcabber can use a proxy if it supports the CONNECT method
# The proxy_user/proxy_pass variables are optional.
#set proxy_host = "192.168.1.1"
#set proxy_port = 3128
#set proxy_user = "username"
#set proxy_pass = "password"


You'll definitely need to do some reading to get it working, and you'll probably need to spend a bit of time getting used to the bindings and idiosyncrasies. It also doesn't have any default notifications, but I've set up a simple script to play a sound each time I get a message, so I'm sure you can do the same.
TSG-17
post Oct 22 2011, 08:38 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(tanhks @ Oct 22 2011, 04:07 AM)
Thanks for the suggestion, anyways i am now using another PC (Fedore 15) to download files.

My other question is: Is it safe to login as root in FreeBSD?
Will my FreeBSD get infected with rootkits? malware?


*

If you're new to FreeBSD, it's best to not login as root. It just brings unwanted risk and is potentially harmful (same goes for any distro) unless you really know what you're doing. Better to add your user to /etc/group (under Wheel) and use su or sudo. Su come with the system. Sudo you can get from ports.

Theoretically only rootkits might be a cause for concern on BSD systems. Not all rootkits are bad, though.
If you're really worried, try: http://www.freebsdsoftware.org/security/rkhunter.html (note: it gives a lot of false alarms)


TSG-17
post Oct 25 2011, 09:46 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
Depends on what you plan to use it for. I only have limited hours with devilspie (and that was an older version). In the time I used it, I couldn't get it to apply transparency levels to certain (GTK) windows I wanted in Scrotwm, and eventually gave up. Didn't really see the need for it on a tiler.

Of course, your reasons for wanting to use it might be different. I'm a bit skeptical since ScrotWM uses a certain algorithm (study the source, very lean) to control window resizing, which might cause problems with devilspie. I suspect you want to launch apps in certain specific workspaces?... or maybe set rules for certain app windows to open at a certain size? If that's the case, I think a better solution would be to upgrade ScrotWM to 0.9.34 (snapshot source or git). it's got autorun functions to have certain apps launch in certain workspaces on start, and also has the very powerful (if a bit confusing) layout functions which you can use to preset layouts for each workspace (and I'm not talking about the simple horiz/vert/fullscreen layouts, but more cutomized types). See the layout section in the man page: https://opensource.conformal.com/cgi-bin/man-cgi?scrotwm

Not saying it's the answer you're looking for, but might be worth considering. I've seen some BSD people get some really sick workflow with a proper combination or autorun, layout and quirk functionality.

Apologies for not having enough experience with devilspie, though. Its a decent app for sure, but I just don't have much experience with it.

This post has been edited by G-17: Oct 25 2011, 09:47 PM
TSG-17
post Dec 22 2011, 03:36 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(scorps @ Dec 21 2011, 10:04 PM)
sometime when i enter poweroff at terminal , my netbook goes to reboot, not shutdown..  doh.gif
anyone know why this happened? thanks
*

Can be one of many reasons, really. Some people say this is KMS related, others have stated it's some other kernel parameter or ehci,, some have even suggested it's a bug in the way shutdown interfaces with some networking related apps (nm, for example). I can't say for sure unless you give a lot of details like lshw output, various logs, battery type (if notebook), kernel version, types of modules loaded...etc.

For now, try "shutdown -now -hP" to do a full shutdown. If that doesn't work, try "poweroff -fihp" or "halt -fihp" (as superuser/root).

Cheerz
TSG-17
post Dec 22 2011, 05:08 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
Ahh, I typoed one of em. Added an extra dash

Should be "shutdown now -hP"

@farkinid
Yours is technically the safer route, since you're telling init to wait 10 sec before sending a kill signal, giving time for some processes to disable themselves. But truthfully, once you're logged out of X and don't have something like GDM or KDM running in the background, you shouldn't need to. For @scorps, I just added a P to specify powerdown, since -h alone sometimes causes system to halt without actually powering down on some computers.
TSG-17
post Apr 20 2012, 09:48 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(ChipZ @ Apr 14 2012, 12:21 AM)
Is anyone familiar with LaTex for text editing?
*
I am, but what exactly is your question?
I'm assuming you're new to LaTex and want some recommendations?

If so, try lyx. It's got a gentle learning curve compared to most. Honestly, it depends on what kind of editing you plan to do. I personally use vim + various LaTex plug-ins

Taking the time to read documentation is always the best avenue. Do a Google search for "the not so short introduction to latex".

//P.S
Also see here: http://www.latex-project.org/guides/

7 Pages « < 5 6 7Top
 

Change to:
| Lo-Fi Version
0.0340sec    0.23    7 queries    GZIP Disabled
Time is now: 7th December 2025 - 07:03 AM