rokytnji
Member

Posts: 78
Linux Friganeer
|
 |
« on: September 10, 2012, 02:34:14 pm » |
|
Just some commands I use
|
|
|
|
|
Logged
|
|
|
|
rokytnji
Member

Posts: 78
Linux Friganeer
|
 |
« Reply #1 on: September 10, 2012, 02:57:32 pm » |
|
Lets try this again. Wireless commands I use for info. echo uname: && uname -a -m -p && echo lspci: && lspci && echo lsusb: && lsusb && echo lsmod: && lsmod && echo ifconfig: && ifconfig && echo ifconfig -a: && ifconfig -a && echo iwconfig: && iwconfig && echo resolv.conf: && cat /etc/resolv.conf && echo route: && route -n Above command must be ran as root in terminal to get all relevant info. lshw and hwinfo must be installed before running below commands in Vector 7 Std Gold. You won't find them in Gslapt in Vector 7. hwinfo-13.57-i686-1jsc.tgz lshw-B.02.16-i686-1cf.txz Commands I use are lshw -C network su -c "hwinfo --wlan" su -c "hwinfo --netcard" Happy Trails, Rok
|
|
|
|
|
Logged
|
|
|
|
Chris530
Member

Posts: 27
|
 |
« Reply #2 on: September 10, 2012, 04:48:50 pm » |
|
Thanks Rok and keep ramblin.
|
|
|
|
|
Logged
|
|
|
|
rokytnji
Member

Posts: 78
Linux Friganeer
|
 |
« Reply #3 on: September 10, 2012, 05:20:37 pm » |
|
Thanks Rok and keep ramblin.
Alrighty then, for wireless dmesg|grep wlan0
readlink /sys/class/net/wlan0/device/driver/module
For wired dmesg|grep eth0 readlink /sys/class/net/eth0/device/driver/module
whereis ifconfig ifconfig: /sbin/ifconfig /usr/man/man8/ifconfig.8.gz /usr/share/man/man8/ifconfig.8.gz /usr/X11/man/man8/ifconfig.8.gz
|
|
|
|
« Last Edit: September 10, 2012, 05:28:55 pm by rokytnji »
|
Logged
|
|
|
|
rokytnji
Member

Posts: 78
Linux Friganeer
|
 |
« Reply #4 on: September 18, 2012, 12:17:03 pm » |
|
I don't know if any Vector Linux members know of this search engine. So just posting the link here. It makes a good bookmark. http://www.linuxidx.com/linux.php/linux.php?q=Edit: as of Today. 12June2013. That link does not function properly. Sad day for me.
|
|
|
|
« Last Edit: June 12, 2013, 06:53:04 am by rokytnji »
|
Logged
|
|
|
|
rokytnji
Member

Posts: 78
Linux Friganeer
|
 |
« Reply #5 on: September 20, 2012, 12:42:28 pm » |
|
How to find if your computer supports a linux pae kernel grep pae /proc/cpuinfo
If you get nothing on the read out. You probably don't have a cpu that supports a pae kernel. Mine for a reference. $ grep pae /proc/cpuinfo flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc up pebs bts pni dtes64 monitor ds_cpl cid cx16 xtpr pdcm lahf_lm
shows that this box (my M/C shop media center Emachine 3407 Desktop) supports a linux pae kernel.
|
|
|
|
|
Logged
|
|
|
|
rokytnji
Member

Posts: 78
Linux Friganeer
|
 |
« Reply #6 on: September 24, 2012, 03:19:00 pm » |
|
Just uploading some mtu's and .pls and .asx stuff so I can find later. Anybody else is welcome to them. I keep the extracted streaming folder in ~/Music. It's a bit of a mess though (duplicate .tar and stuff).
|
|
|
|
|
Logged
|
|
|
|
rokytnji
Member

Posts: 78
Linux Friganeer
|
 |
« Reply #7 on: May 28, 2013, 08:09:05 am » |
|
You can get a nice progress bar for dd by using the pv command. If pv isn't installed, it should be in the repository. pv -tpreb [fullpathandfilenameoftheiso] | dd bs=4M conv=sync of=/dev/sdx To record my desktop (change 1366x768 to your screen resolution eg; 1024x768) with sound ffmpeg -f alsa -ac 2 -i hw:0,0 -f x11grab -s 1366x768 -r 25 -i :0.0 -sameq /home/username /Video/test2.avi without sound. Below command just puts video in /home ffmpeg -f x11grab -s 1366x768 -r 24 -an -threads 2 -sameq -i :0.0 screencast.avi or below command puts video in ~/Video directory in /home ffmpeg -f x11grab -s 1366x768 -r 25 -i :0.0 -sameq /home/username/Video/my-video.avi find the space consuming files on the partition du -sxh /*
|
|
|
|
|
Logged
|
|
|
|
|
overthere
|
 |
« Reply #8 on: June 01, 2013, 04:21:53 pm » |
|
Thanks ...ramble on 
|
|
|
|
|
Logged
|
Everything Is Relative
|
|
|
rokytnji
Member

Posts: 78
Linux Friganeer
|
 |
« Reply #9 on: June 01, 2013, 07:35:08 pm » |
|
# .conkyrc background yes update_interval 3 update_interval_on_battery 30 double_buffer yes alignment top_right gap_x 16 gap_y 40 maximum_width 256 own_window yes own_window_type normal own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager own_window_argb_visual yes own_window_argb_value 69 default_color ivory color7 green color8 yellow color9 red default_bar_size 120 12 show_graph_scale yes use_xft yes xftalpha 0.5 xftfont DejaVu Sans:size=10 font DejaVu Sans:size=10 override_utf8_locale yes top_name_width 10 use_spacer left format_human_readable yes pad_percents 2 short_units yes if_up_strictness address TEXT ${image ~/slackware-silver.png -p 7,2 -s 250x40} ${voffset 15} ${color cyan}${alignc}${time %A %B %d, %Y} PST ${alignc}${utime %A %B %d, %Y %R} UTC${color} # ## System # ${font size=11}${color coral}System ${hr 1}${font}${color} Machine${alignr}${color cyan}$nodename${color} Kernel${alignr}${color cyan}$sysname $kernel | $machine${color} OS${alignr}${color cyan}${execi 86400 cat /etc/slackpkg/mirrors | grep -v '#' | cut -d'/' -f5}${color} Uptime${alignr}${color Cyan}$uptime${color} Battery${if_match ${battery_percent}>=92}${alignr}${color forest green}${battery_bar}${color}\ ${else}${if_match ${battery_percent}>=30}${alignr}${color yellow}${battery_bar}${color}\ ${else}${alignr}${color red}${battery_bar}${color}${endif}${endif} ${voffset -16}${alignr 40}${color white}${battery_percent}%${color} # ## CPU # ${font size=11}${color coral}CPU ${hr 1}${font}${color} ${color cyan}${execi 86400 cat /proc/cpuinfo | cat /proc/cpuinfo | grep 'model name' -m1 | cut -d':' -f2 | cut -b2- | sed -e 's/([^()]*)//g' -e 's/ */ /g' -e 's/ *$//' }${color} # Core0 ${color Cyan}${freq_g 1}GHz ${color blue}${cpubar 12,117 cpu0} \ ${alignr}${execpi 6 sensors | grep "Core 0:" | cut -d"+" -f2 | cut -b1-2 | xargs sh ~/colorize_cpu_temps.sh}\ ${execi 86400 echo $'\302\260'}C${color} ${voffset -16}${alignc -40}${color white}${cpu cpu0}%${color} # Core1 ${color Cyan}${freq_g 2}GHz ${color blue}${cpubar 12,117 cpu1} \ ${alignr}${execpi 6 sensors | grep "Core 1:" | cut -d"+" -f2 | cut -b1-2 | xargs sh ~/colorize_cpu_temps.sh}\ ${execi 86400 echo $'\302\260'}C${color} ${voffset -16}${alignc -40}${color white}${cpu cpu1}%${color} # ${color blue}${loadgraph 30,252 FFFF00 0000FF -t} ${voffset -31}${alignc}${color white}${loadavg 1}${color}${voffset 8} # ## Hard Drive # ${font size=11}${color coral}Hard Drive ${hr 1}${color}${font} ${color cyan}${execi 86400 sudo /usr/sbin/hddtemp /dev/sda | cut -d':' -f2 | cut -b2-18} \ ${execi 86400 sudo /usr/sbin/hdparm -I /dev/sda | grep 'M = 1000' | cut -b53-60}\ ${alignr}${execpi 6 sudo /usr/sbin/hddtemp -n /dev/sda | xargs sh ~/colorize_hd_temps.sh}\ ${execi 86400 echo $'\302\260'}C${color} # ${color blue}${diskiograph sda 30,252 FFFF00 0000FF -t} ${voffset -31}${alignc}${color white}${diskio sda}${voffset 12} # ${font DejaVu Sans Mono:size=10}root${alignr}${color cyan}${fs_size /} ${color blue}${fs_bar /}${color} ${voffset -16}${color white}${alignr 45}${fs_used /}${alignr 10}${fs_used_perc /}%${color} home${alignr}${color cyan}${fs_size /home} ${color blue}${fs_bar /home}${color} ${voffset -16}${color white}${alignr 45}${fs_used /home}${alignr 10}${fs_used_perc /home}%${color} share${if_mounted /home/share}\ ${alignr}${color cyan}${fs_size /home/share} ${color blue}${fs_bar /home/share}${color} ${voffset -16}${color white}${alignr 45}${fs_used /home/share}${alignr 10}${fs_used_perc /home/share}%${color}\ ${else}${alignr}${color cyan}Not Mounted${color}${endif} slackware${if_mounted /home/slackware}\ ${alignr}${color cyan}${fs_size /home/slackware} ${color blue}${fs_bar /home/slackware}${color} ${voffset -16}${color white}${alignr 45}${fs_used /home/slackware}${alignr 10}${fs_used_perc /home/slackware}%${color}\ ${else}${alignr}${color cyan}Not Mounted${color}${endif}${font} ## Memory ${font size=11}${color coral}Memory ${hr 1}${color}${font} ${memmax}${alignr}${color cyan}${mem} ${color blue}${membar} ${voffset -16}${alignr 40}${color white}${memperc}% ${swapmax}${alignr}${color cyan}${swap} ${color blue}${swapbar} ${voffset -16}${alignr 40}${color white}${swapperc}% # ## Top Processes # ${font size=11}${color coral}Top Processes ${hr 1}${color}${font} Processes:${color cyan}${running_processes}/${processes}${color}${goto 145}Threads:${color cyan}${running_threads}/${threads}${color} ${font DejaVu Sans Mono:size=10}\ Name${goto 110}CPU${alignr}Memory Usage${color hot pink} ${top name 1}${top cpu 1}%${alignr}${top mem_res 1}${top mem 1}%${color cyan} ${top name 2}${top cpu 2}%${alignr}${top mem_res 2}${top mem 2}% ${top name 3}${top cpu 3}%${alignr}${top mem_res 3}${top mem 3}% ${top name 4}${top cpu 4}%${alignr}${top mem_res 4}${top mem 4}% ${top name 5}${top cpu 5}%${alignr}${top mem_res 5}${top mem 5}%${color}${font} # ## NetWork # ${font size=11}${color coral}Network ${hr 1}${color}${font} External${goto 152}${color cyan}${execi 21600 wget -O - http://ip.tupeux.com | tail}${color} Gateway${goto 152}${color cyan}${gw_ip}${color} DNS Server${goto 152}${color cyan}${nameserver}${color} ${if_up wlan0}\ IP Address${goto 152}${color cyan}${addr wlan0}${color} Wifi Quality:${color cyan}${wireless_link_qual wlan0}${alignr}${color blue}${wireless_link_bar wlan0}${color} ${voffset -16}${alignr 40}${color white}${wireless_link_qual_perc wlan0}% Best:${color cyan}${wireless_link_qual_max wlan0}${color}${goto 120}Bit Rate: ${color cyan}${wireless_bitrate wlan0}${color} Down:${color cyan}${downspeed wlan0}${color}${goto 140}Up:${color cyan}${upspeed wlan0}${color} ${color blue}${downspeedgraph wlan0 30,120 FFFF00 0000FF -t}${alignr}${upspeedgraph wlan0 30,120 FFFF00 0000FF -t}${color} ${else}\ ${if_up eth0}\ IP Address${goto 152}${addr eth0} Down:${color cyan}${downspeed eth0}${color}${goto 140}Up:${color cyan}${upspeed eth0}${color} ${color blue}${downspeedgraph eth0 30,120 FFFF00 0000FF -t}${alignr}${upspeedgraph eth0 30,120 FFFF00 0000FF -t}${color} ${endif}\ ${else}NetWork Down${endif}\ ${endif} just one .conkyrc I use.
|
|
|
|
|
Logged
|
|
|
|
rokytnji
Member

Posts: 78
Linux Friganeer
|
 |
« Reply #10 on: June 01, 2013, 07:41:41 pm » |
|
###################### # - Conky settings - # ###################### update_interval 1 total_run_times 0 net_avg_samples 1 cpu_avg_samples 1
imlib_cache_size 0 double_buffer yes no_buffers yes
##################### # - Text settings - # ##################### use_xft yes xftfont Ubuntu:size=9 override_utf8_locale yes text_buffer_size 2048
############################# # - Window specifications - # ############################# own_window_class Conky own_window yes own_window_type override own_window_transparent yes own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager #own_window_argb_visual yes #own_window_argb_value 100
alignment tl #alignment tr gap_x -2 gap_y 40 minimum_size 350 300
default_bar_size 60 8
######################### # - Graphics settings - # ######################### draw_shades no
#default_color efefef #default_shade_color 1d1d1d #color0 ffffff #color1 ffffff #color2 ffffff
default_color ff9900 default_shade_color 1d1d1d color0 ffffff color1 ffffff color2 ffffff
#lua_load ~/.conky/conkybg.lua #lua_draw_hook_pre conky_draw_bg
TEXT ${voffset 5} ${goto 92}CPU1 Perc used: ${font Ubuntu:style=Bold:size=9}${color1}${cpu cpu1}%${font}${color} ${alignr 15}Temp: ${color1}${font Ubuntu:style=Bold:size=9}${color1}${execi 30 sensors | grep 'Core0' | cut -c15-16}°C${color}${font}
${goto 92}CPU2 Perc used: ${font Ubuntu:style=Bold:size=9}${color1}${cpu cpu2}%${font}${color} ${alignr 15}Temp: ${font Ubuntu:style=Bold:size=9}${color1}${execi 30 sensors | grep 'Core1' | cut -c15-16}°C${color}${font} ${goto 92}${font Ubuntu:style=Bold:size=9}${color}$sysname $kernel ${goto 92}BATT:${font Ubuntu:style=Bold:size=9}${color}${battery_percent BAT1}% ${battery_time BAT1} ${goto 92}WEATHER:${execi 300 /home/harry/.weather.sh 79772} ${goto 92}RAM:${color1} ${font Ubuntu:style=Bold:size=9}${memperc}%${font}${color}${font Ubuntu:style=Bold:size=9}${font} Free: ${font Ubuntu:style=Bold:size=9}${color2}${memeasyfree}${color} ${font}${alignr 22}Used: ${font Ubuntu:style=Bold:size=9}${color2}${mem}${color}${font} ${goto 92}${color}RUNNING:${font Ubuntu:style=Bold:size=9}${color}$processes ${font Ubuntu:style=Bold:size=9} ${color}running: ${color}$running_processes
${goto 92}HDD /:${color1} ${font Ubuntu:style=Bold:size=9}${fs_used_perc /}%${font}${color} Free: ${color2}${font Ubuntu:style=Bold:size=9}${fs_free /}${color}${font} ${alignr 22} Used: ${font Ubuntu:style=Bold:size=9}${color2}${fs_used /}${color}${font} ${goto 92}${font Ubuntu:style=Bold:size=9}HDD:${color1} ${fs_used_perc /home}%${font}${color} Free: ${color2}${font Ubuntu:style=Bold:size=9}${fs_free /home}${color}${font} ${alignr 22} Used: ${font Ubuntu:style=Bold:size=9}${color2}${fs_used /home}${color}${font}
${if_up wlan0} ${voffset -4}${goto 92}${voffset -6}Upload: ${font Ubuntu:style=Bold:size=9}${color1}${upspeed wlan0}${color}${font} ${goto 230}Total Up: ${font Ubuntu:style=Bold:size=9}${color2}${totalup wlan0}${color}${font} ${voffset 4}${goto 92}Signal: ${font Ubuntu:style=Bold:size=9}${color1}${wireless_link_qual wlan0}%${color}${font} ${alignr 15} ${voffset 4}${goto 92}Down: ${font Ubuntu:style=Bold:size=9}${color1}${downspeed wlan0}${color}${font} ${goto 230}Total Down: ${font Ubuntu:style=Bold:size=9}${color2}${totaldown wlan0}${color}${font}
# |--ETH0 ${else}${if_up eth0} ${voffset -13}${color0}${font VariShapes Solid:size=14}q${font}${color}${goto 92}${voffset -6}Up: ${font Ubuntu:style=Bold:size=9}${color1}${upspeed eth0}${color}${font} ${alignr 15}${color2}${upspeedgraph eth0 8,60 92B6F1 CCDFFF}${color} ${goto 92}Insgesamt: ${color2}${totalup eth0}${color} ${voffset -2}${color0}${font VariShapes Solid:size=14}Q${font}${color}${goto 92}${voffset -6}Down: ${font Ubuntu:style=Bold:size=9}${color1}${downspeed eth0}${color}${font} ${alignr 15}${color2}${downspeedgraph eth0 8,60 92B6F1 CCDFFF}${color} ${goto 92}Insgesamt: ${color2}${totaldown eth0}${color} ${voffset -2}${color0}${font Poky:size=13}w${font}${color}${goto 92}${voffset -4}Lokale IP: ${alignr 15}${color2}${addr eth0}${color} ${goto 92}Öffentliche IP: ${alignr 15}${color2}${execi 10800 ~/.conkycolors/bin/conkyIp}${color} # |--PPP0 ${endif}${else}${if_up ppp0} ${voffset -13}${color0}${font VariShapes Solid:size=14}q${font}${color}${goto 92}${voffset -6}Up: ${font Ubuntu:style=Bold:size=9}${color1}${upspeed ppp0}${color}${font} ${alignr 15}${color2}${upspeedgraph ppp0 8,60 92B6F1 CCDFFF}${color} ${goto 92}Insgesamt: ${color2}${totalup ppp0}${color} ${voffset -2}${color0}${font VariShapes Solid:size=14}Q${font}${color}${goto 92}${voffset -6}Down: ${font Ubuntu:style=Bold:size=9}${color1}${downspeed ppp0}${color}${font} ${alignr 15}${color2}${downspeedgraph ppp0 8,60 92B6F1 CCDFFF}${color} ${goto 92}Insgesamt: ${color2}${totaldown ppp0}${color} ${voffset -2}${color0}${font Poky:size=13}w${font}${color}${goto 92}${voffset -4}Lokale IP: ${alignr 15}${color2}${addr ppp0}${color} ${endif}${else}${voffset 4}${color0}${font PizzaDude Bullets:size=12}4${font}${color}${goto 92}Netzwerk nicht verfügbar${endif}${endif}
${image ~/.conky/base.png -p 10,0 -s 339x86}${image ~/.conky/base.png -p 10,146 -s 339x86}${image ~/.conky/base.png -p 10,73 -s 339x86}${image ~/.conky/Task_Manager.png -p 32,20 -s 45x45}${image ~/.conky/Memory.png -p 32,93 -s 45x45}${image ~/.conky/wlan100.png -p 32,166 -s 45x45}
And another I use. Put tar.gz extracted conky folder in /home/username. Folder is needed for image.png in conky display.
|
|
|
|
« Last Edit: June 01, 2013, 07:43:43 pm by rokytnji »
|
Logged
|
|
|
|
|
|
rokytnji
Member

Posts: 78
Linux Friganeer
|
 |
« Reply #12 on: June 11, 2013, 07:29:27 am » |
|
Flash and its problems Depending on my gear. If I have a Pentium 3, 512MB ram computer. Linux
2.33GHz or faster x86-compatible processor, or Intel Atom 1.6GHz or faster processor for netbooks Red Hat® Enterprise Linux® (RHEL) 5.6 or later (32 bit and 64 bit), openSUSE® 11.3 or later (32 bit and 64 bit), or Ubuntu 10.04 or later (32 bit and 64 bit) Mozilla Firefox 17 or Google Chrome 512MB of RAM; 128MB of graphics memory
One way I get around this is Install Grease Monkey first in my Browser. https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/Then Install a couple of user scripts in Grease Monkey like http://linterna-magica.nongnu.org/http://userscripts.org/scripts/show/151139Another way I skin a cat is to run Adobe flashplayer 10.3 instead of 11.2.
Linux
DownloadDownload the Linux Flash Player 10.3 Plugin content debugger (TAR.GZ, 5.60MB) DownloadDownload the Linux Flash Player 10.3 Projector content debugger (TAR.GZ, 4.59MB) DownloadDownload the Linux Flash Player 10.3 Projector (TAR.GZ, 4.25MB)
http://www.adobe.com/support/flashplayer/downloads.html#fp10.3MY IBM T23 Pentium 3, 1 Gig ram laptop streams you tube videos with no jerkiness or problems via a wirless pcmcia G card with Flash 10.3. Just some other neato stuff for you tube http://pkgs.org/slackware-13.1/slacky-x86_64/minitube-1.1-x86_64-1sl.txz.htmlhttp://linux.softpedia.com/get/Multimedia/Video/Youtube-Viewer-60648.shtmlhttp://www.filewatcher.com/m/gtk-youtube-viewer.tbz.35-0.htmlUMPlayer in vector linux has an awesome YouTube search & play feature that does not require a webbrowser..
|
|
|
|
|
Logged
|
|
|
|
hata_ph
Packager
Vectorian
   
Posts: 2869
-- Just being myself --
|
 |
« Reply #13 on: June 11, 2013, 04:38:37 pm » |
|
Thanks for the info 
|
|
|
|
|
Logged
|
|
|
|
|
Pita
|
 |
« Reply #14 on: June 13, 2013, 07:02:48 pm » |
|
And be careful with "dd" aka disk distroyer. Make double sure of your /dev/sd?? or you might end with: see aka. dd carries no warning!
|
|
|
|
|
Logged
|
|
|
|
|