Page: Previous  1, 2, 3 ... 13, 14, 15 ... 24, 25, 26  Next

techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4129
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
1.4.99: new: shows current user desktop if in X, makes good guesses if it's not a primary category, gnome, kde, openbox/blackbox

This will show in the -S output and in all full output types like -d or -F

All these should work:
kde 3.5
kde 4, and 5 in the future
gnome
lxde
openbox
fluxbox
blackbox
fvwm
fvwm-crystal
awesome
xfce4
xfce5 if it appears
pekwm

if you have another one that doesn't appear, I'll need to see the output of: xprop -root
and then: ps aux | grep <your desktop name>

samples:
:: Code ::
System:   Host deb-sid-32 Kernel 2.6.32-5-686 i686 (32 bit) Desktop Fluxbox Distro Debian GNU/Linux squeeze/sid

System:   Host Ubuntu-desktop Kernel 2.6.32-31-generic x86_64 (64 bit) Desktop GNOME Distro Ubuntu 10.04 lucid

System:   Host nibbler Kernel 2.6.38-6.dmz.1-liquorix-amd64 x86_64 (64 bit) Desktop pekwm Distro Debian GNU/Linux wheezy/sid

System:   Host pardusLap Kernel 2.6.37.6 i686 (32 bit) Desktop KDE 4 Distro Pardus 2011

Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4129
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
Still at version 1.4.99, but I added in desktop version number output for most desktops, those will be fine tuned later, also toolkit for gnome/kde.

Like so:

:: Code ::
System:   Host deb-sid-32 Kernel 2.6.32-5-686 i686 (32 bit) Desktop IceWM 1.3.7, Distro Debian GNU/Linux squeeze/sid

System:   Host deb-sid-32 Kernel 2.6.32-5-686 i686 (32 bit) Desktop LXDE (Openbox 3.4.11.1) Distro Debian GNU/Linux squeeze/sid

System:   Host deb-sid-32 Kernel 2.6.32-5-686 i686 (32 bit) Desktop IceWM 1.3.7, Distro Debian GNU/Linux squeeze/sid

System:   Host siduxbox Kernel 2.6.38-6.dmz.1-liquorix-amd64 x86_64 (64 bit) Desktop KDE 4.6.2 (Qt: 4.7.3) Distro sidux 2009-04  - kde-lite - (200912310312)

Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4129
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
Finally: inxi 1.5.0 is done

Features:

  • new argument:
    -n triggers extra networking card output, IF id, up/down/etc state, duplex/speed if not wifi detected
  • in -G, now shows pcibusid for each card
  • -N now shows usb networking cards as well as long as the detection strings are found. Failure to show it, please paste in: lsusb so we can find the issue.
  • -S line shows desktop name and version number like: KDE 3.5.10, with -x, shows also toolkit version if present, for gnome, kde, and xfce
  • Graphics output had several old bugs fixed that created bad output, or incorrect, saying you were root if you weren't.
  • New feature: set colors for wide range of inxi uses, gui irc, irc in x / console, console in x, console out of x, irc out of x. Can set colors for each or any user for each and any type of use, via config files for that user which inxi creates when you run the -c plus 94-99 command, like: -c 95

    See the -h menu for exactly what each -c color option is.

    Also vastly expanded the colors, I left the original colors pretty much the same order, especially 1 2 and 3, so the defaults wouldn't change for people, but added two color blocks, one for light background/dark text, one for dark background, light text. Check those out, they look nice, and let you know what you are using.

    Recommend using only colors from the first set though for irc, and that's why those are only offered, otherwise other people can't read them.
  • Many bug fixes and cleanups of legacy cruft and legacy layout gunk.
  • Current desktops supported for detection and versioning: gnome, kde 3.5, 4, 5, xfce 4,5, openbox, lxde, blackbox, fluxbox, icewm, awesome, pekwm, icewm, fvwm, fvwm-crystal. If you do not see your desktop, please post a bug/feature request report with the desktop name, the output of:
    xprop -root
    and
    <desktopname> --version, like: fluxbox --version
    so I can add your desktop. If inxi cannot detect the desktop type, it will print out N/A. This is the running desktop, so if you are out of X, it shows nothing since you are not on a desktop.

    And that's it, if you have more desktops you want added, please visit at irc.oftc.net channel #smxi and I'll collect that data from you, or post here in the forums in a new thread.
  • Fixed a long time bug with -U that could lead to potential update failures, now it can't fail, or it's near impossible, plus it gives better errors on update failure.
  • Fixed a long standing kde4 konversation bug where if you start it with /cmd inxi it will show: unkwown perl client instead of konversation 1.3.1 or whatever for irc client. That's a bit of a hack, but it's a fairly reliable one that should very rarely if almost never cause users any false results, definitely way better than always being wrong as it was if /cmd was used to start inxi in konvi.

Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4129
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
A quick, relatively, one: inxi 1.5.1 - New feature, for -G, now shows actively running Xorg driver(s) as well. It does not try to match them to cards because that's too hard in terms of the coding, but very few people run more than one xorg driver so that doesn't really matter.

Also improved the debugging data collector tool, now it collects with two options: -@ 11 collects the lsusb/lspci plus /sys with xiin
-@ 12 collects lsusb, lspci, then gets all the xorg data it can, like glxinfo, xdpyinfo, xprop -root, X -version, and related log and config files.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4129
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
1.5.2: new features:

-z - triggers output filtering. This replaces all IP output, Mac address, and user home directory in partitions with <filter> strong (or whatever users want to replace that with in their config files, FILTER_STRING='<filter>'

This is default on, more or less as before, for irc output.

-Z overrides this absolutely, even for irc.

Fixed a long time output bug for user home directory filtering, the rule was greedy, that is, it ate up all directories between /home/username and the last one. Now it does it right, just filters out only the username / directory from the path.

added twm to desktop support output, it has no available --version output so that isn't offered.

Note that <filter> only appears if there was real data returned to be filtered, otherwise N/A shows, that means nothing is present. Also useful for debugging.

Also, you can change the filter string to whatever you want in an inxi config file, either: /etc/inxi.conf for global all users, or ~.inxi/inxi.conf for specific user, by adding, for example:
FILTER_STRING='***noshow***'
to the config file, create it if not present.

Thus, if doing help on a forum, if you ask for inxi -niz
you will see that the eth0 has an ip, it is x card, and that the user has a working wan connection, but you won't be showing any of that information to readers.

If you saw, on the other hand, a N/A value given, you'd know that there is no data available for that card or wan, ie, no connection exists. I'd say that's a fine solution while still helping support people get the information they need, ie, it doesn't matter what specific ip exists, but it does matter that one exists, or that it's N/A
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1149
Reply Quote
:: techAdmin wrote ::
Also, you can change the filter string to whatever you want in an inxi config file, either: /etc/inxi.conf for global all users, or ~.inxi/inxi.conf for specific user, by adding, for example:
FILTER_STRING='***noshow***'
to the config file, create it if not present.



Legacy mode for sidux/aptosid users:
:: Code ::
echo "FILTER_STRING='**multimedia**'" >> /etc/inxi.conf

Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4129
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
yep, heh.

with 1.5.3, we now have also inxi showing if the graphics driver module is loaded or failed, that can be useful to some.

Like so:
:: Code ::
inxi -G
Graphics: Card: nVidia G73 [GeForce 7600 GS] bus-ID: 01:00.0 X.Org 1.10.1 driver nvidia (loaded) Res: 1280x1024@50.0hz

Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4129
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
1.5.5 - several tweaks, set line wrapping for in/out of irc for -S system line and -G graphics line.

Now, with greater than 1 graphics cards, will always print one card per line, as with the other sections like A or N. Then prints xorg / driver / resolution line on separate line, and advanced glx info line separate.

To do: show compiz support line, but that can wait, that will be -g option, for full total gfx output.

Also now if out of x, shows Console tty <session number> instead of Desktop in S line.

So you can always find what tty you are in as well running inxi out of X. Not that typing tty is that hard, but why not add in the information if it's easy to do?

And with this the recent wave of updates is, while probably not over, going to slow down.

Oh, almost forget, also added -n to -F option output, that's useful.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4129
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
1.5.6
bug fixes, changed a few things, made -n not trigger -x, that seems unnecessary, and -F now also triggers -n.

Fixed some console stuff, and related issues, to get the thing reasonably shipshape.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4129
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
Sample from 1.5.6, random irc user system, inxi -F

:: Code ::
System:   Host media-pc Kernel 2.6.38-pf x86_64 (64 bit) Desktop KDE 4.6.3 (Qt 4.7.3) Distro Arch Linux
CPU:       Quad core AMD Phenom 9650 (-MCP-) cache 2048 KB flags (lm nx sse sse2 sse3 sse4a svm) bmips 18364.5
           Clock Speeds: (1) 2294.849 MHz (2) 2294.849 MHz (3) 2294.849 MHz (4) 2294.849 MHz
Graphics: Card: nVidia G92 [GeForce 9800 GT] bus-ID: 01:00.0
          X.Org 1.10.1 driver nvidia (loaded) Resolution 1600x900@50.0hz
           GLX Renderer GeForce 9800 GT/PCI/SSE2 GLX Version 3.3.0 NVIDIA 270.41.06 Direct Rendering Yes
Audio:     Card ATI SBx00 Azalia (Intel HDA) driver HDA Intel bus-ID: 00:14.2
          Sound: Advanced Linux Sound Architecture Version 1.0.23
Network:   Card-1 Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller driver r8169 v: 2.3LK-NAPI port e800 bus-ID: 02:00.0
          IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
          Card-2 IMC Networks 802.11 n/g/b Wireless LAN Adapter driver rt2800usb v: 2.3.0 usb-ID: 13d3:3247
          IF: wlan0 state: up mac: <filter>
Disks:     HDD Total Size: 320.1GB (9.1% used) 1: /dev/sda WDC_WD3200BEVT 320.1GB
Partition: ID:/ size: 15G used: 6.9G (48%) fs: jfs ID:/home size: 5.9G used: 677M (12%) fs: jfs
          ID:swap-1 size: 6.29GB used: 0.00GB (0%) fs: swap
Info:     Processes 170 Uptime 6 days Memory 1679.5/5985.1MB Runlevel 3 Client Konversation 1.3.1 inxi 1.5.6


And last but not least, made -i show -Nni which seems to fit with the idea better: inxi -i

:: Code ::
Network:   Card-1 Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller driver r8169
          IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
          Card-2 IMC Networks 802.11 n/g/b Wireless LAN Adapter driver rt2800usb
          IF: wlan0 state: up mac: <filter>
          Wan IP: <filter> IF IP: eth0 - <filter> IF IP: wlan0 - <filter>


And here's one from irssi out of X, this is: inxi -dx

:: Code ::
System:   Host deb-sid-32 Kernel 2.6.38-7.dmz.1-liquorix-686 i686 (32 bit)
          Console tty 1 Distro Debian GNU/Linux wheezy/sid
CPU:       Dual core AMD Athlon 64 X2 3800+ (-MCP-) clocked at 1000.00 MHz
Graphics: Card-1: nVidia C51 [GeForce 6150 LE] bus-ID: 00:05.0
          Card-2: ATI RV710 [Radeon HD 4350] bus-ID: 02:00.0
          X.org 1.10.1 driver nouveau (loaded) tty size N/A Advanced Data: N/A out of X
Disks:     HDD Total Size: 122.9GB (2.1% used)
Info:     Processes 108 Uptime 32 min Memory 157.6/944.5MB Runlevel 3 Client Irssi 0.8.15 inxi 1.5.5


From the latter I learned that nouveau messed up the tty badly, and in this case, I couldn't get the tty size, which you usually can get in inxi out of X. Thus the N/A. N/A usually can be trusted to mean the data could not be found for some reason. As you can see, inxi tells you that you are in tty 1, which can also be useful if you are using several tty's to do different stuff out of X.

You can see the line wrap on the System and Graphics lines in these two examples, if below a certain full length, doesn't wrap, if greater than, wraps, to keep output readable in and out of irc.

And of course, for forum support, say, for networking: inxi -iz
will show all networking, with filters applied so they can just paste it in directly from console.

And if in irc, -Z will shut off all filters, say someone is getting help in a private chat, and you want to make sure his/her ip information is correct and complete.
Back to top
Display posts from previous:   
Page: Previous  1, 2, 3 ... 13, 14, 15 ... 24, 25, 26  Next
All times are GMT - 8 Hours