LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-23-2006, 09:48 PM   #1
jayjwa
Member
 
Registered: Jul 2003
Location: NY
Distribution: None (src & compile)
Posts: 253

Rep: Reputation: 36
Unhappy Recent mrxvt versions and backgrounds


I wanted to see if anyone else was having this issue before I considered it a bug. For awhile now, Mrxvt (xterminal, similar to rxvt, aterm and friends) has compiled with background support, but the actual backgrounds don't show up. Transparency is the same. The last working version I have is 0.4.2. I'm not talking about packages or RPM's, but the source as you'd get it here: http://materm.sourceforge.net/wiki/

Currently, 0.4.2 I can recompile and it works as expected, but 0.5.1, no backgrounds, there is only solid black where there should be a pixmap. The image type doesn't matter.

X is XFree86 4.6.0, but I've attempted compiles with prior versions of mrxvt on X.org implementations and had the same result.

A configure command like this should get a debug build with everything relavent enabled. You must set TERMENV in config.h to what you want as the script seems to set "rxvt" when I specify "mrxvt" (providing you do have an entry for an "mrxvt" in terminfo and termcap. You can also make one from the example in the source tarball if you have the "tic" program.)

Code:
 env CFLAGS='-pipe -O2 -I/usr/local/include -I/usr/X11R6/include' CPPFLAGS='-pipe -O2 -I/usr/local/include -I/usr/X11R6/include ' LDFLAGS='-L/usr/X11R6/lib ' ./configure --prefix=/usr --enable-everything --enable-debug --enable-ourstrings --enable-mouseslipwheel --enable-text-shadow --enable-menubar --enable-transparency --enable-xrender --enable-xpm --enable-jpeg --enable-png --enable-xft --enable-xim --enable-utempter --enable-resources --with-termname=mrxvt --with-save-lines=600 --with-terminfo=/usr/share/terminfo --with-x
Running the resulting binary doesn't give much clue in the debug info.

Code:
[ jayjwa@vdrl:~/mrxvt-0.5.1>] src/mrxvt -pixmap /usr/share/pixmaps/winter.xpm

set default locale to en_US
argv[1] = -pixmap: Open X display :0.0
rxvt_get_xdefaults (mrxvt)
rxvt_get_xdefaults (Mrxvt)
rxvt_get_xdefaults (XTerm)
set multichar encoding to noenc
rxvt_set_default_font_x11
rxvt_init_font_x11 
 load font (-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1)
 load mfont (-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1)
Got null root pixmap 0
Create scrollbar
mrxvt: Could not open file default.menu
Creating tabbar
allocate r->tabstop as 80
append_page (NULL, NULL)
last page is 0
Find vterm[0] for pointer vts[0]
Create VT 0 (17x24+560x336)
Unblanking pointer
argv = 0x0
rxvt_control_tty(): pid: 30428, tty fd: 5, dev: /dev/pts/1
rxvt_control_tty(): Voiding tty associations: previous=no
rxvt_control_tty(): /dev/tty has controlling tty? no (good)
rxvt_control_tty(): ioctl(..,TIOCSCTTY): 0
rxvt_control_tty(): do we have controlling tty now: yes (good)
rxvt_control_tty(): tcgetpgrp(): 30428  getpgrp(): 30428
rxvt_privileged_utmp 0 (s); waiting for: s (pid: 30427)
Adjust num_fds to 5
rxvt_scr_reset 0 ()
rxvt_scr_reset 0 () refresh screen
rxvt_scr_alloc 0 ()
rxvt_setTermFontSet()
rxvt_IMInstantiateCallback()
rxvt_IM_get_IC()
rxvt_IM_get_IC() - successful connection
rxvt_IMInstantiateCallback()
Geometry: 577x360+84+107
Size: Not resizing
reading from shell 0
read maximal 8191 bytes
read 46 bytes
no further data
 
Old 09-25-2006, 09:32 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,905

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
Well, I have mrxvt 0.5.1 compiled from source, as per the INSTALL file:
Code:
./configure --enable-everything --disable-debug
and works fine, i.e. background and transparency work as expected.
Mind that there is a change in some of the keywords used in .mrxvt (and the respective options used from command line) when you run mrxvt. Read the man page for details.

Regards
 
Old 09-25-2006, 03:49 PM   #3
jayjwa
Member
 
Registered: Jul 2003
Location: NY
Distribution: None (src & compile)
Posts: 253

Original Poster
Rep: Reputation: 36
Unfortunately I get the same results as far as backgrounds and transparenacy when using that minimal config. Time to pull out gdb and see what's going on I guess.


OK, started on this, everything looks good up until XMapWindow, here ->

XMapWindow (r->Xdisplay, PVTS(r, page)->vt);


Calling that renders the blacked out background I'm seeing.




Final Edit: Solved.

Enabling tinting is what was doing it.

--disable-tinting lets both transparent and pixmap options work (with everything else possible to enable enabled).

Last edited by jayjwa; 10-04-2006 at 03:19 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
gcc versions compatibility with kernel versions.. mahesh_manthapuri Suse/Novell 1 03-22-2006 12:28 AM
Background image in mrxvt MS3FGX Linux - Software 1 02-24-2006 10:22 AM
recent versions of gnome aesahaettr Linux - Software 2 12-01-2004 08:48 AM
backgrounds with Gimp. mmertens Linux - Software 4 02-20-2003 09:46 PM
Multiple backgrounds jclark00001 Linux - Newbie 4 02-13-2003 11:39 PM


All times are GMT -5. The time now is 02:23 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration