LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Live Free or Die Hard (https://www.linuxquestions.org/questions/linux-desktop-74/live-free-or-die-hard-611205/)

phantom_cyph 01-04-2008 05:12 PM

Live Free or Die Hard
 
Anybody know what window managers they used for that movie? I.e. Matthew Farrel's and the "bad guys". I could tell it was linux, just didnt know what window manager.

Thanks :-D

phantom_cyph 01-04-2008 08:20 PM

Wow. I finally stumped everyone. :-D

Acron_0248 01-04-2008 08:34 PM

Ion3?

I didn't see anyone using a mouse xD

Somewhere I read that it was xpde but I'll go with Ion :P



Regards

phantom_cyph 01-04-2008 10:12 PM

Yeah, Ion3 seems a lot more likely. Who said it was xpde? That doesnt make any sense...

Acron_0248 01-04-2008 11:00 PM

It was a spanish forum where an user ask the same question saying that the system "looks very like windows but it appears to have a linux console" ... so, someone said it was in fact Linux using the xpde Desktop...

Don't ask me where the 'xpde idea' came from, I only remember that I was laughting for days... :)


I will stick with Ion3 with some compiz effects (windows fading, rotation...) :P


A better question:

In independence day movie, how David Levinson wrote a virus that infected alien's technology? and in some part at the end of the movie it seems something like C or C++ ... no, wait, the answer to this is simple...Hollywood ^^




Regards

phantom_cyph 01-05-2008 12:12 AM

Yah...assuming their computers would accept C, or even used the same type of networking. Good movie though.

Couple ion3 questions (the man page is only so helpful).

1. how do you actually switch from window to window? I know the desktops are Alt-Comma/Period, but what are windows?

2. how would you select something in firefox with only your keys?

3. (stupid as it sounds) how the h*ll do you set a wallpaper in it? I've looked for over an hour (no joke) on google, but nothing actually answers the d@mn question.

Thanks!

Acron_0248 01-05-2008 08:48 AM

Not an Ion user but this is what I know:

1) Alt+P (Previous window) and Alt+N (Next window)

2) Using Tab but this isn't something that work well in some cases (trying to select an img with an anchor attribute i.e.)

3) From Ion itself there's no way, from Ion's Faq (at the end) it says that you should use others tools for that, the faq says use display -window root of imagemagick for instance, but I guess that you could use things like the fbsetbg -f image of fluxbox or Esetroot -s image




Regards

phantom_cyph 01-05-2008 09:34 AM

Fbsetbg doesn't work...neither does Esetroot.

Acron_0248 01-05-2008 10:44 AM

*sight*

Well, I guess that you'll have to use:
Code:

$ display -window root /path_to_image/image.ext

You could also add -size to ensure the image fill desktop's size



Regards

phantom_cyph 01-05-2008 11:05 AM

I looks like it's doing something, but it doesn't change anything. Do I have to use a certain theme that supports it?

dive 01-05-2008 11:06 AM

In this screenshot how does he get mplayer to play in text in an xterm?

http://modeemi.fi/~tuomov/ion/screenshots/ion3-3.png

Acron_0248 01-05-2008 12:57 PM

I found this script in some russian blog (or other language which I don't understand ^^):
Code:

display -window root Debian-background.png
bin/ion-dock.sh &
exec ion3

It's called from the ~/.xsession so that makes me believe that the display command needs to be excecuted before Ion3, and if you're already at Ion3, maybe this could work:
Code:

display -window root image.ext && ion3 &
# or startion3 & maybe?

Not sure..


About the mplayer question, is done by using the aalib through mplayer to display video as ascii, if you have mplayer with aalib support (and I think xine is needed too), you can play in ascii using something like this:
Code:

mplayer -vo aa movie.ext
-vo tells to use an specific video output, 'aa' is used to tell mplayer to use the aalib which give you the ascii effect.



Regards

phantom_cyph 01-05-2008 02:23 PM

OK, background problem solved.

To set the background for the actual desktop, you need to set it to a theme that supports transparency such as look_awesome.

Then you use:
Quote:

display -window root /path/to/file
Then, if you are using gnome's terminal, you do:
Quote:

fbsetbg -f /path/to/file
That is assuming you have a transparent background set. The wallpapers line up correctly like they should...

phantom_cyph 01-05-2008 02:29 PM

This is the mplayer error i get:

Code:

fluxnuk3r@lightseeker:~/Multimedia/Movies/LIVEFREE_OR_DIEHARD_BRANCH/VIDEO_TS$ mplayer -vo aa VTS_02_1.VOB
MPlayer 2:1.0~rc1-0ubuntu13.1 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Celeron(R) D CPU 3.33GHz (Family: 15, Model: 6, Stepping: 4)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing VTS_02_1.VOB.
MPEG-PS file format detected.
MPEG: No audio stream found -> no sound.
VIDEO:  MPEG2  720x480  (aspect 3)  29.970 fps  9800.0 kbps (1225.0 kbyte/s)
VO: [aa] cannot open /dev/vcsa03 for writing,so we'll not use linux driver
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [aa] 720x480 => 854x480 Planar YV12
aspect: Warning: no suitable new res found!
SwScaler: reducing / aligning filtersize 19 -> 20
SwScaler: reducing / aligning filtersize 19 -> 20
SwScaler: reducing / aligning filtersize 36 -> 34
SwScaler: reducing / aligning filtersize 36 -> 34

SwScaler: BICUBIC scaler, from yuv420p to gray8 using MMX2
SwScaler: using n-tap MMX scaler for horizontal luminance scaling
SwScaler: using n-tap MMX scaler for horizontal chrominance scaling
SwScaler: using n-tap MMX scaler for vertical scaling (BGR)
SwScaler: 720x480 -> 160x56

Important suboptions
        extended  use use all 256 characters
        eight    use eight bit ascii
        driver    set recommended aalib driver (X11,curses,linux)
        help      to see all options provided by aalib

AA-MPlayer Keys
        1 : contrast -
        2 : contrast +
        3 : brightness -
        4 : brightness +
        5 : fast rendering
        6 : dithering
        7 : invert image
        a : toggles between aa and mplayer control

All other keys are MPlayer defaults.
V:  0.9  15/ 15 ??% ??% ??,?% 0 0

MPlayer interrupted by signal 11 in module: decode_video
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.
fluxnuk3r@lightseeker:~/Multimedia/Movies/LIVEFREE_OR_DIEHARD_BRANCH/VIDEO_TS$


Acron_0248 01-05-2008 03:04 PM

With that I'm clueless =/

I just tried on slackware and it worked.

Quote:

lkp@localhost:/media/dvd0/video_ts$ mplayer -vo aa vts_01_2.vob
MPlayer 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 1.50GHz (Family: 15, Model: 1, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

Playing vts_01_2.vob.
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 2) 29.970 fps 5000.0 kbps (625.0 kbyte/s)
VO: [aa] cannot open /dev/vcsa01 for writing,so we'll not use linux driver
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [aa] 720x480 => 720x540 Planar YV12
SwScaler: reducing / aligning filtersize 35 -> 36
SwScaler: reducing / aligning filtersize 35 -> 36
SwScaler: reducing / aligning filtersize 31 -> 30
SwScaler: reducing / aligning filtersize 31 -> 30
[swscaler @ 0x88e0ef0]SwScaler: BICUBIC scaler, from yuv420p to gray8 using MMX2
[swscaler @ 0x88e0ef0]SwScaler: using n-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0x88e0ef0]SwScaler: using n-tap MMX scaler for horizontal chrominance scaling
[swscaler @ 0x88e0ef0]SwScaler: using n-tap MMX scaler for vertical scaling (BGR)
[swscaler @ 0x88e0ef0]SwScaler: 720x480 -> 86x64

Important suboptions
extended use use all 256 characters
eight use eight bit ascii
driver set recommended aalib driver (X11,curses,linux)
help to see all options provided by aalib

AA-MPlayer Keys
1 : contrast -
2 : contrast +
3 : brightness -
4 : brightness +
5 : fast rendering
6 : dithering
7 : invert image
a : toggles between aa and mplayer control

All other keys are MPlayer defaults.
A:1460.9 V:1460.9 A-V: 0.008 ct: 0.077 162/162 50% 22% 1.6% 9 0

MPlayer interrupted by signal 2 in module: sleep_timer
Bash: 3.1
Sat Jan 05 -16:35
lkp@localhost:/media/dvd0/video_ts$
The signal 2 in module is where I press ctrl + c, but no errors

You could try with libcaca (assuming that mplayer was compiled with that support), it's like aalib + color, same command but using libcaca:

Code:

mplayer -vo caca movie.ext



Regards


All times are GMT -5. The time now is 07:15 AM.