[gentoo-user] how to control firefox input and output?

2017-02-02 Thread behrouz khosravi
Hello everyone. I was wondering is any method to force firefox to render
its output to a off-screen buffer? another app should be able to monitor
its video output and send mouse and keyboard events to the browser. any
suggestion would be greatly appreciated.


Re: [gentoo-user] screen tearing with mpv but not mplayer

2016-10-22 Thread Behrouz Khosravi



Try 'opengl', 'opengl-old'... But 'xv' should be just as good. Maybe
there's some filter (deblocking/deringing/denoise) active with one but
not with 'xv'.

And I've IIRC used plain 'x11' (or was it 'xv'?) for a very long time.

Try benchmarking yourself a bit, after you've found a setting where no
tearing occurs. Seems mpv has scrapped that benchmarking code of
mplayer though.

$ mplayer -ss 20:00 -endpos 10 -benchmark -vo x11 foo.mkv
BENCHMARKs: VC:   0.910s VO:   1.792s A:   0.043s Sys:   5.272s =8.017s
$ mplayer -ss 20:00 -endpos 10 -benchmark -vo xv foo.mkv
BENCHMARKs: VC:   1.076s VO:   0.147s A:   0.048s Sys:   6.746s =8.018s
$ mplayer -ss 20:00 -endpos 10 -benchmark -vo gl foo.mkv
BENCHMARKs: VC:   1.117s VO:   0.251s A:   0.045s Sys:   6.604s =8.018s
$ mplayer -ss 20:00 -endpos 10 -benchmark -vo gl2 foo.mkv
BENCHMARKs: VC:   0.929s VO:   0.746s A:   0.040s Sys:   6.307s =8.021s
$ mplayer -ss 20:00 -endpos 10 -benchmark -vo vdpau foo.mkv
BENCHMARKs: VC:   1.161s VO:   0.204s A:   0.071s Sys:   6.582s =8.018s

Look at the 'VO: ...s' column. You'd probably need longer tests for
significant results.

But, as mpv is based on the mplayer code, I guess you can "port" the
results of each "-vo" to mpv with some educated guesses, and 'gl'
(mpv: 'opengl'?) seems best ... ;)

BTW: Why not just use mplayer? What does mpv offer that mplayer doesn't?

BTW2:
$ mplayer -ss 20:00 -endpos 10 -benchmark -vo vdpau -vc ffh264vdpau foo.mkv
[just errors and some sound]
$ midentify foo.mkv | grep CODEC
ID_VIDEO_CODEC=ffh264
ID_AUDIO_CODEC=ffac3

Which is why I don't use vdpau ;)

HTH,
-dnh, firmly sticking to the original mplayer, and using mencoder
 on a regular basis



well the thing with quality is not important. I is negligible ( without 
xv option, video seems a little brighter) However it is not important. 
Good thing is that I realized what mplayer was doing for default which 
mpv wasnt.
Anyway I can get what mplayer was offering, with mpv now, so there is no 
need to change.




Re: [gentoo-user] screen tearing with mpv but not mplayer

2016-10-21 Thread Behrouz Khosravi



$ mplayer foo.mp4 | grep '^VO: '
VO: [gl] ...
$ mpv  foo.mp4 | grep '^VO: '
VO: [opengl]

See 'mplayer -vo help' and 'mpv -vo help'.

HTH,
-dnh



Thanks. It seems that mplayer is using "xv" and mpv uses "opengl-hq". 
mpv work ok with "xv" but quality degrades a little, or at least I think 
that it does.




Re: [gentoo-user] screen tearing with mpv but not mplayer

2016-10-20 Thread Behrouz Khosravi

You could test different video output drivers and also hardware decoding.

If you use deinterlace you can also try to tune it's values.

This my mpv config file:

vo=vdpau:deint=-3,opengl-hq:scale=spline36,xv
hwdec=vdpau
audio-device='alsa/iec958:CARD=SB,DEV=0'
audio-channels=auto

P.S.: Sorry for the many replies. I better should turn on my mind
before posting.

--
Regards
wabe



Thanks for the response. Actually my laptop has a nvidia chip which I 
have tured off and I'm using the intel integrated chip.


I tried testing some options in config file, but it didnt help.

I guess I should stick to mplayer instead of mpv.

Thanks
Behrouz



[gentoo-user] screen tearing with mpv but not mplayer

2016-10-19 Thread Behrouz Khosravi
Hello everyone. Mpv has horizontal screen tearing(not very serious 
though) while playing video while


mplayer does not. I have tried some configs which I found on the net but 
nothing removes this issue.


Mpv docs even says that tearing problems are probably not related to 
software but driver and such, but


it seems that this is mpv's problem. any idea about how to solve this 
issue? Thanks.


[I] media-video/mpv
 Available versions:  0.9.2-r1 ~0.18.0-r1 (~)0.20.0 ** {+X 
+alsa aqua archive bluray bs2b cdda cdio +cli coreaudio doc doc-pdf drm 
dvb (+)dvd (+)egl +enca encode gbm +iconv jack jpeg ladspa lcms +libass 
libav libcaca libguess libmpv (+)lua luajit openal +opengl oss 
pulseaudio pvr raspberry-pi rubberband samba (-)sdl selinux test 
(+)uchardet v4l vaapi vdpau vf-dlopen wayland xinerama +xscreensaver 
(+)xv zsh-completion}
 Installed versions:  0.20.0(02:34:27 PM 10/19/2016)(X alsa cli drm 
egl enca encode iconv jpeg lcms libass libmpv lua luajit opengl 
pulseaudio rubberband uchardet vaapi vdpau wayland xscreensaver xv -aqua 
-archive -bluray -cdda -coreaudio -doc -dvb -dvd -gbm -jack -libav 
-libcaca -libguess -openal -oss -raspberry-pi -samba -sdl -selinux -test 
-v4l -vf-dlopen -xinerama -zsh-completion)



[I] media-video/mplayer
 Available versions:  1.2_pre20150214-r1^d ~1.2-r2^d 1.2.1^d 
[M]~1.3.0^d [M]**^d {+X a52 aalib +alsa altivec aqua bidi bl bluray 
bs2b cddb +cdio cdparanoia cpudetection debug dga directfb doc dts dv 
dvb +dvd +dvdnav +enca +encode faac faad fbcon ftp ggi gif gsm +iconv 
ipv6 jack joystick jpeg jpeg2k ladspa +libass libcaca libmpeg2 lirc live 
lzo mad md5sum mng mp3 nas +network nut openal opengl +osdmenu oss png 
pnm pulseaudio pvr radio rar rtc rtmp samba sdl selinux +shm speex tga 
theora toolame tremor +truetype twolame +unicode v4l vcd vdpau vidix 
vorbis x264 xanim xinerama +xscreensaver +xv xvid xvmc yuv4mpeg zoran 
CPU_FLAGS_X86="3dnow 3dnowext +mmx mmxext sse sse2 ssse3" KERNEL="linux" 
VIDEO_CARDS="mga s3virge tdfx"}
 Installed versions:  1.2.1(10:46:46 AM 10/17/2016)(X alsa cdio dvd 
dvdnav enca encode iconv ipv6 jpeg libass mp3 network opengl osdmenu png 
pulseaudio shm truetype unicode vorbis xscreensaver xv -a52 -aalib 
-altivec -aqua -bidi -bl -bluray -bs2b -cddb -cdparanoia -cpudetection 
-debug -dga -directfb -doc -dts -dv -dvb -faac -faad -fbcon -ftp -ggi 
-gif -gsm -jack -joystick -jpeg2k -ladspa -libcaca -libmpeg2 -lirc -live 
-lzo -mad -md5sum -mng -nas -nut -openal -oss -pnm -pvr -radio -rar -rtc 
-rtmp -samba -sdl -selinux -speex -tga -theora -toolame -tremor -twolame 
-v4l -vcd -vdpau -vidix -x264 -xanim -xinerama -xvid -xvmc -yuv4mpeg 
-zoran CPU_FLAGS_X86="mmx mmxext sse sse2 ssse3 -3dnow -3dnowext" 
KERNEL="linux" VIDEO_CARDS="-mga -s3virge -tdfx")


[I] media-video/ffmpeg
 Available versions:  2.8.6(0/54.56.56)^d ~2.8.7(0/54.56.56)^d 
~2.8.8(0/54.56.56)^d [M]~3.1.3(0/55.57.57)^d [M]**(0/55.57.57)^d {X 
aac aacplus alsa altivec amr amrenc armv5te armv6 armv6t2 armvfp bluray 
bs2b +bzip2 cdio celt chromaprint cpudetection debug doc ebur128 +encode 
examples faac fdk flite fontconfig frei0r fribidi gcrypt gme gmp gnutls 
+gpl gsm +hardcoded-tables +iconv iec61883 ieee1394 jack jpeg2k kvazaar 
ladspa libass libcaca libilbc libressl librtmp libsoxr libv4l lzma 
mipsdspr1 mipsdspr2 mipsfpu mmal modplug mp3 neon +network nvenc openal 
opengl openh264 openssl opus oss pic +postproc pulseaudio quvi 
rubberband samba schroedinger sdl snappy speex ssh static-libs test 
theora +threads truetype twolame v4l vaapi vdpau vorbis vpx wavpack webp 
x264 x265 xcb xvid zimg +zlib zvbi ABI_MIPS="n32 n64 o32" ABI_PPC="32 
64" ABI_S390="32 64" ABI_X86="32 64 x32" CPU_FLAGS_X86="3dnow 3dnowext 
aes avx avx2 fma3 fma4 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 xop" 
FFTOOLS="+aviocat +cws2fws +ffescape +ffeval +ffhash +fourcc2pixfmt 
+graph2dot +ismindex +pktdumper +qt-faststart +sidxindex +trasher"}
 Installed versions:  2.8.6(02:23:21 AM 10/18/2016)(X aac alsa 
bzip2 cdio cpudetection encode fontconfig gpl hardcoded-tables iconv mp3 
network opengl opus postproc pulseaudio sdl threads truetype v4l vaapi 
vdpau vorbis vpx webp x264 x265 xcb xvid zlib -aacplus -altivec -amr 
-amrenc -armv5te -armv6 -armv6t2 -armvfp -bluray -bs2b -celt -debug -doc 
-examples -faac -fdk -flite -frei0r -fribidi -gme -gnutls -gsm -iec61883 
-ieee1394 -jack -jpeg2k -ladspa -libass -libcaca -libressl -librtmp 
-libsoxr -libv4l -lzma -mipsdspr1 -mipsdspr2 -mipsfpu -modplug -neon 
-openal -openssl -oss -pic -quvi -samba -schroedinger -snappy -speex 
-ssh -static-libs -test -theora -twolame -wavpack -zvbi ABI_MIPS="-n32 
-n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" 
CPU_FLAGS_X86="avx mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 -3dnow 
-3dnowext -avx2 -fma3 -fma4 -xop" FFTOOLS="aviocat cws2fws ffescape 
ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart 
sidxindex trasher")






Re: [gentoo-user] virtualbox - access from host to geusts network

2016-02-05 Thread behrouz khosravi
Such as the following form:
> Internet <—WIFI router<— USB Dongle<— win7<— Gentoo
>

host is gentoo. win7 is the guest in VirtualBox.
using the VBox extension I connect the USB Dongle to win7 and
use it to make a connection to internet.
so it would be like this:
gentoo <- vbox <- win7 <- USB Dongle <- WIFI router

In fact its a temporary measure to make up for poor linux support in our
campus!
Thanks.


[gentoo-user] virtualbox - access from host to geusts network

2016-02-04 Thread behrouz khosravi
Hello eveyone.
I have a USB wireless card with which I connect WIN7 guest to internet.
How can I use this connection form host?
Thanks


[gentoo-user] crowdunding

2015-07-12 Thread behrouz khosravi
Hello everyone. My question is not about gentoo, sorry!

I wanted to know what is your idea about crowdfunding to provide
a well design fire backbone ? Do you think people will accept the idea?


Re: [gentoo-user] google

2015-07-10 Thread behrouz khosravi
 Unlike Amazon, Facebook, Microsoft, Apple et al I suppose?


I am sorry, google was on my mind the moment I posted!, I hate the amazon
advertizements!


Re: [gentoo-user] Re: google

2015-07-10 Thread behrouz khosravi
 You are not googles users ... YOU are the product they sell

 Brilliant !


[gentoo-user] google

2015-07-10 Thread behrouz khosravi
Do you folks notice that google is triying to control the way we live?!


[gentoo-user] Re: google

2015-07-10 Thread behrouz khosravi
On Sat, Jul 11, 2015 at 1:29 AM, behrouz khosravi bz.khosr...@gmail.com
wrote:

 Do you folks notice that google is triying to control the way we live?!


belive me or not, sometimes I feel I am living in the 1984 novel ?!


Re: [gentoo-user] any one using ubuntu phones?

2015-06-29 Thread behrouz khosravi

 I believe there was an effort to get Gentoo Prefix running on Android
 as part of GSoC.  I've yet to try it myself but you might find that
 useful.  I doubt it runs x11, but your typical x11 application isn't
 really going to work well on a smartphone anyway unless you get a
 bluetooth mouse/keyboard for it, and a magnifying glass.


I love to get ride of android altogether!
I would love to see a platform open enough that I am able to install my
bootloader on it easily and boot what I prefer using a usb flash memory.
This is what I consider as the linux or more appropriately free software
ecosystem.
It is obvious that we are far from this but I think that we deserve it
anyways.
I dont know whay we are not there yet, touch screen is just another input
device, baseband modulator and demodulators are just another device
attached to the CPU.


Re: [gentoo-user] any one using ubuntu phones?

2015-06-29 Thread behrouz khosravi

 It sounds like your problem isn't with Android (which is mostly FOSS -
 or at least the parts you're dealing with here are), but with the
 bootloader on your phone (which is proprietary).


No, actually my problem is that why an operating system
can have decision on what types of apps can I have on my computer.
if it is foss enough why I am not able to remove everything from my system
easily.
I believe when we have free operating system, when can aim for free
hardware.
I just hope ubuntu would be a help to open the mobile market like the way
it helped in desktop.

FOSS developers seem to mostly be stuck in X11-land - it scratches
 their itch which tends to be on the desktop.  While touch screen is
 just another input device the fact is that you need to design your
 entire application UI around it. ...


why do you thinks some foss user interfaces can not be created for this
situation?

I just hope someday mobile market whould be open.


[gentoo-user] any one using ubuntu phones?

2015-06-29 Thread behrouz khosravi
Hello everyone.
I am eagerly waiting for seeing the traditional linux ecosystem on phones
and tablet.
I hate Android and I think it is not what we deserve to have on our
hardware.
So is anyone using ubuntu on phones? (I am not a fan of ubuntu but I thinks
at this moment it is closest thing to what I like!)


Re: [gentoo-user] any one using ubuntu phones?

2015-06-29 Thread behrouz khosravi


 If you build/install Android on a device, then it only contains what
 you put there, and you can just as easily remove it.  If you let
 somebody else build/install android on a device and not give you root
 access, then it is painful.

 If you build/install Gentoo on a device, then it only contains what
 you put there, and you can just as easily remove it.  If you let me
 build/install Gentoo on your device and not give you root access, then
 it is painful.

 If you let me reflash the firmware on your Gentoo system so that it
 uses my UEFI keys and firmware update keys and doesn't let you change
 them, and I set it up with a bootloader that checks your
 kernel+initramfs signatures and decrypts the rest of your hard drive
 using a TPM-supplied key and a verified boot path, and an initramfs
 that checks the signature on your /usr and mounts everything else
 noexec, then you're going to have some serious headaches.  And yes,
 you actually can do all of this with Gentoo, though almost nobody
 bothers (ChromeOS is based on Gentoo and does use a variation on this,
 with licensed devices having a switch to disable the signature
 checks).  I'd have to check but I think Linux actually supports (maybe
 via a patch) signature verification on execing images, in which case I
 can let you mount whatever you want +x and you still won't be able to
 run your own stuff.

 Your problem isn't with Android the OS.  Your problem is with the
 experience your phone vendor is giving you.  All that lockdown stuff
 that you seem to hate is 100% supported by the Linux kernel - you're
 just not turning it on with a typical distro install.

 
  FOSS developers seem to mostly be stuck in X11-land - it scratches
  their itch which tends to be on the desktop.  While touch screen is
  just another input device the fact is that you need to design your
  entire application UI around it. ...
 
  why do you thinks some foss user interfaces can not be created for this
  situation?
 

 I'm not saying that they cannot be created.  I'm simply pointing out
 that nobody is bothering to do so.  Anybody can write a web-based MUA
 comparable to Gmail or a web-based replacement to Google Docs, and
 release it as FOSS.  However, it takes a lot of work and for various
 reasons most seem content to use an X11-based version of each.  In the
 case of LibreOffice I think the origins are actually in software that
 was intended to be sold commercially, but failed (which is probably
 why they've been trying to cleanup the code for years).

 For a mobile OS your life is made even more difficult by Android,
 since many who would tend to write a competing OS probably consider it
 good enough.

 I'm really not interested in yet another android so much as more open
 hardware to run android on.  Vendors are getting better about allowing
 unlocking, but driver support/etc is still a mess.

 Oh, and I don't like the general move of APIs into Google Play
 Services.  That really needs to be split into two applications.  One
 would provide APIs for stuff actually related to Google (like Google
 authentication, buying stuff on the Play Store, Google Wallet, and so
 on), and that could be closed.  The other would provide all the stuff
 like WebView APIs where rapid updates are desirable, and it should be
 FOSS.



I know what you mean. This is all more or less true, but what can we do in
this situation?
I will try to move toward whatever promotes openness, and please do not
tell me that ubuntu
is not more open that android. In android I cant even have pure native
apps! some parts of an application
should always be in java.


Re: [gentoo-user] necessary use flgas

2015-06-25 Thread behrouz khosravi
Best way I ever found to learn how things really work under the hood is
 to build a Linux From Scratch and pay close attention to every single step.

 Not that you'd ever actually *use* that system - there's no sane package
 management for a start - but after building an LFS, the content of
 ebuilds in @system starts to make a lot more sense; you can see why some
 of the decisions in the profiles were made; and make.conf now appears in
 a whole new light.

 Then take the valuable lessons from LFS and apply them appropriately to
 using Gentoo. These things are tools and the best workmen are always
 very familiar with their tools as a co-ordinated whole (as opposed to a
 bunch of mish-mash stuff cluttering up a toolbox)


Thanks. I will definitely do that.


Re: [gentoo-user] necessary use flgas

2015-06-24 Thread behrouz khosravi
 Here's some good advice:

 Don't do that. See below.


Oops! I have done it and I am happy so far !

That's a bit of a nonsensical line of thought, as what you think you
 want doesn't really exist.


I think you misunderstood me! for example adding CPU specific flags is a
good idea right?
I meant something like that. For example is it wise to enable opengl flag
globally ? is it helpful to do so?


  What do you recommend ?

 DO NOT SET USE=-*


As I said before I have done it and I totally recommend it to anyone
interested to get a better understanding of user land.



 Pick a profile that suits what you want to use the computer for.

You have a desktop? Pick a suitable desktop profile. Don't pick a KDE
 one unless oyu use KDE for instance (all that does is set some KDE flags
 (like semantic-desktop or baloo or whatever they call it now) and force
 some KDE packages to be merged. It doesn't change the underlying way
 things work.


desktop profiles are very big for my taste. In fact I have been using KDE
for about a year on the default (basic) profile.
I have compiled the KDE with KDE profile and I have witnessed the
differences with my own eyes.


 I very much doubt you can increase security by picking some USE flags.
 There is no
 USE=open-me-up-to-the-world
 or
 USE=rock-solid-nsa-proff-tight
 USE flags :-)

 So what security features do you need or want?
 Figure that out and then set the system up to provide that. You will get
 what you want.

 Well I know there is no USE flag like that! I am not that stupid but I
remember that I have read somewhere(unfortunately I dont remember where)
that disabling some use flags will degrade the security of system.


Re: [gentoo-user] necessary use flgas

2015-06-24 Thread behrouz khosravi
 To be more serious:
 * Set a minimal basic profile (as already suggested)
 * Tune your USE-Flags in make.conf. media-related flags (mp3, flac) should
 be harmless, if you touch flags that get used in core packages (e.g. in the
 toolchain) double (or triple) check if you don't do evil things.
 * fine tune USE-Flags on a per-package-base via /etc/portage/package.use

 thanks.
well what you mentioned was my set up until a week ago. I was on the
default profile. Afterwards I installed the other stuff let the portage
take care of missing use flags, and to be honest it was the first time in
my short linux life that I didnt hate KDE!(I hate the deign choices of
GNOME, and I thinks KDE have a good design with bad implementation!) In my
opinion it was way better that the KDE profile. I have moved to i3wm and
USE=-*  and it was not that hard. My concern was the use flags that
are better to be enabled globally like bzip2.


[gentoo-user] necessary use flgas

2015-06-23 Thread behrouz khosravi
Hello everyone.

I really like to have control over my machine as much as possible. In this
way I will learn a lot, so I am trying to remove all the default use flags
and control them manually.

I just don't know which global use flags are absolutely necessary to the
system to make it snappier or secure.
What do you recommend ?

Thanks


[gentoo-user] wine cpu usage

2015-05-27 Thread behrouz khosravi
hello everyone. To run a windows application I installed the wine package.
But cpu usage of wine it a little high. using virtualbox is a lot
smoother(9% = 3% cpu usage) .
Is it normal?

my wine config:

[I] app-emulation/wine
 Available versions:  1.6.2^t (~)1.7.0^t (~)1.7.3^t (~)1.7.4^t
(~)1.7.8^t (~)1.7.9^t (~)1.7.10^t (~)1.7.11^t (~)1.7.12^t (~)1.7.13^t
(~)1.7.14^t (~)1.7.15^t (~)1.7.16^t (~)1.7.17^t (~)1.7.18^t (~)1.7.19-r1^t
(~)1.7.20^t (~)1.7.21^t (~)1.7.22^t (~)1.7.28^t (~)1.7.29^t (~)1.7.33^t
(~)1.7.38^t (~)1.7.39^t (~)1.7.40^t (~)1.7.41^t (~)1.7.42^t (~)1.7.43^t
**^t {+X +alsa capi cups custom-cflags dos +fontconfig +gecko gphoto2
gsm gstreamer +jpeg (+)lcms ldap +mono mp3 ncurses netapi nls odbc openal
opencl +opengl osmesa oss pcap +perl pipelight +png +prelink pulseaudio
+realtime +run-exes s3tc samba scanner selinux +ssl staging test +threads
+truetype +udisks v4l vaapi (+)xcomposite xinerama +xml ABI_MIPS=n32 n64
o32 ABI_PPC=32 64 ABI_S390=32 64 ABI_X86=(+)32 (+)64 x32
ELIBC=glibc LINGUAS=ar bg ca cs da de el en en_US eo es fa fi fr he hi
hr hu it ja ko lt ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru sk sl
sr_RS@cyrillic sr_RS@latin sv te th tr uk wa zh_CN zh_TW}
 Installed versions:  1.7.43^t(12:50:01 AM 05/28/2015)(X alsa
fontconfig gecko jpeg lcms ldap mono mp3 ncurses nls opengl perl png
prelink realtime run-exes ssl threads truetype udisks xcomposite xml -capi
-cups -custom-cflags -dos -gphoto2 -gsm -gstreamer -netapi -odbc -openal
-opencl -osmesa -oss -pcap -pipelight -pulseaudio -s3tc -samba -scanner
-selinux -staging -test -v4l -vaapi -xinerama ABI_MIPS=-n32 -n64 -o32
ABI_PPC=-32 -64 ABI_S390=-32 -64 ABI_X86=32 64 -x32 ELIBC=glibc
LINGUAS=-ar -bg -ca -cs -da -de -el -en -en_US -eo -es -fa -fi -fr -he -hi
-hr -hu -it -ja -ko -lt -ml -nb_NO -nl -or -pa -pl -pt_BR -pt_PT -rm -ro
-ru -sk -sl -sr_RS@cyrillic -sr_RS@latin -sv -te -th -tr -uk -wa -zh_CN
-zh_TW)


thanks


[gentoo-user] monitor what application installs

2015-05-25 Thread behrouz khosravi
Hello everyone. I am gonna install MATLAB on my box. Is there any way to
monitor what it installs on my machine?
Thanks.


Re: [gentoo-user] recommended applications

2015-05-24 Thread behrouz khosravi
Thanks Meino. What do you mean by:

 session-management = windowmanagement




 I dont know i3wm

Its a tiling window manager. I have used it and I recommend it to anyone
interested in tiling window managers.


Thanks


[gentoo-user] recommended applications

2015-05-24 Thread behrouz khosravi
Hello everyone. After spending about a year in the world of linux (and
mostly beloved gentoo!) I have realized that the key to a stable and fast
machine is to keep the system as small as possible.
So I am going to use console based tools mostly. I will also replace KDE
with i3wm.

What do you recommend as a replacement for kmail? (is mutt a good choise?)

What about IRC client?

Torrent client?

I know that I can use google! but I would like to know your opinion.
Thanks for your time.


Re: [gentoo-user] recommended applications

2015-05-24 Thread behrouz khosravi
Thanks everyone.
+1 for mc too!

On Sun, May 24, 2015 at 8:49 PM, Alan Grimes alonz...@verizon.net wrote:

 My pattern:

 1.  Use FVWM for 5 years.
 2. Get sick of it.
 3. Try every wm out there and find they all suck nuts.
 4. Go to step 1.


 --
 IQ is a measure of how stupid you feel.

 Powers are not rights.





Re: [gentoo-user] [~and64] Headsup for google-chrome users

2015-05-22 Thread Behrouz Khosravi
On Thursday, May 21, 2015 05:55:52 AM walt wrote:


Thanks. I also saw that message, but after checking the kernel, ignored it!

 I just wasted some time figuring out this mess:
 
 I just updated google-chrome, which printed this confusing warning message:
 
 CONFIG_USED_NS not seen when it should be
 
 First, there's a typo:  it should read CONFIG_USER_NS
   ^
 
 Then, after I figured out that CONFIG_USER_NS is a kernel config item,
 requiring reinstallation of my kernel, I wasted more time figuring out
 (for the n'th time) that you shouldn't just change a single kernel config
 item and do make because that shortcut can break important things.
 
 No, you should do make clean first, and then do make etc.
 
 Then, after finishing that mess, you then need to re-install ati-drivers
 (if you use them) because CONFIG_USER_NS breaks the ati-drivers too.
 
 So, re-install ati-drivers, reboot, etc, all of which will make you late
 for work, like I am now :p




Re: [gentoo-user] Re: emerge bash-completion

2015-05-06 Thread Behrouz Khosravi
On Wednesday, May 06, 2015 12:09:57 PM Nikos Chantziaras wrote:
 It does that here, but it seems I need to press tab three times, not two.

well three times did not change anything. The problem is that I cant 
remember since when this feature is broke, so I can relate it to something!



Re: [gentoo-user] Re: emerge bash-completion

2015-05-06 Thread Behrouz Khosravi
On Wednesday, May 06, 2015 12:44:16 PM Nikos Chantziaras wrote:

 I think there was a news item on how to transition from the old to the
 new setup. No idea where to find it if you don't have it in eselect
 news list anymore :-/

Thanks. I will try to find it.



[gentoo-user] emerge bash-completion

2015-05-06 Thread Behrouz Khosravi
hello everyone. I have a problem with bash-completion with emerge 
command for packages. when I press tab-tab it only shows world and 
system but I was working OK before, I mean It was able to show the list of 
packages. Is anything changed?



Re: [gentoo-user] emerge bash-completion

2015-05-06 Thread Behrouz Khosravi
On Wednesday, May 06, 2015 04:21:45 AM Dale wrote:

 root@fireball / # equery list -p bash-completion
  * Searching for bash-completion ...
 [-P-] [  ] app-shells/bash-completion-1.3-r2:0
 [-P-] [  ] app-shells/bash-completion-2.1:0
 [-P-] [  ] app-shells/bash-completion-2.1-r2:0
 [-P-] [  ] app-shells/bash-completion-2.1-r91:0
 [-P-] [  ] app-shells/bash-completion-2.1-r92:0
 [-P-] [  ] app-shells/bash-completion-2.1-r93:0
 [IP-] [  ] app-shells/bash-completion-2.1_p20141224:0
 root@fireball / #
 
 Hope that helps.
 
 Dale * Searching for bash-completion ...
[-P-] [  ] app-shells/bash-completion-1.3-r2:0
[-P-] [ ~] app-shells/bash-completion-2.1:0
[IP-] [  ] app-shells/bash-completion-2.1-r2:0
[-P-] [ ~] app-shells/bash-completion-2.1-r91:0
[-P-] [ ~] app-shells/bash-completion-2.1-r92:0
[-P-] [ ~] app-shells/bash-completion-2.1-r93:0
[-P-] [ ~] app-shells/bash-completion-2.1_p20141224:0

Sorry, but I can not understand what -P- and IP- means?

 

This is my output:




Re: [gentoo-user] emerge bash-completion

2015-05-06 Thread Behrouz Khosravi
On Wednesday, May 06, 2015 04:37:55 AM Dale wrote:

  This is my output:
 The P means it is in the portage tree.  The I means that it is
 installed.  Based on your info, you are using a older version of
 bash-completion than I am.
 
 Dale
 
 :-)  :-)

Thanks, Are you on ~AMD64 ?
My version is the last in stable.
I added keyword, but It will install newer version of bash too. Is it stable ?



Re: [gentoo-user] emerge bash-completion [solved]

2015-05-06 Thread Behrouz Khosravi
On Wednesday, May 06, 2015 10:08:11 AM Dale wrote:

 
 Maybe that will fix it and you can stay stable.  Maybe.  ;-)
 
 Thank you. I installed that and saw the news too.
It is working again, but it seems I have a lot to rebuild!




[gentoo-user] virtualbox installation problem

2015-01-27 Thread behrouz khosravi
Hello everyone.
I want to install virtualbox, and for some reasons I need to download the
distfiles before the emerging process, so the emerge command wont try to
download anything.
I have download the required files, but extension pack ebuild ignores the
Oracle_VM_VirtualBox_Extension_Pack-4.3.18-96516.vbox-extpack file that I
have downloaded and tries to fetch it again.
Is there anything that I am missing?

Thanks for your help.


Re: [gentoo-user] virtualbox installation problem

2015-01-27 Thread behrouz khosravi


 The output from the emerge command?

 Chances are the file has changed recently and does not match the size or
 checksum known to portage. Try re-syncing.


Thanks.
It just got fixed using the hints in the IRC channel.
The problem was that ebuild renames the file:
Oracle_VM_VirtualBox_Extension_Pack-4.3.18-96516.vbox-extpack
to
Oracle_VM_VirtualBox_Extension_Pack-4.3.18-96516.tar.gz
but I had though that it compresses the file. A simple renaming solved the
problem.
Thanks.


[gentoo-user] KDE in livedvd

2015-01-25 Thread behrouz khosravi
Hello everyone.
I was wondering that is there any list of packages to emerge and make my
KDE look like the last live dvd. I mean the theme, color, icons, ... ?
Thanks.


[gentoo-user] can pulseaudio make trouble with non-audio parts?

2015-01-25 Thread behrouz khosravi
Hi. Yesterday and today I experienced some problems which were weird. First
of all the xdm service was crashing so I disabled it, and started using
startx. After that my whole KDE desktop was a pain. The application where
to slow, mplayer stopped working and ...
Anyway at last I notices that as soon as I start KDE, the sound stops
working, so uninstalled the skype and pulseaudio, and everything went back
to normal !
Can all this be pulseaudio's fault?


Re: [gentoo-user] Is it wrong to install a specific version

2015-01-11 Thread behrouz khosravi



 I would edit your world file with a text editor and remove these packages.
 They will still remain on your system, and they will still fulfil the
 Plasma's dependencies.


I didn't know that is possible.
Thanks for this tip.


[gentoo-user] Is it wrong to install a specific version

2015-01-10 Thread behrouz khosravi
Hi. I wanted to install plasma 5 on my laptop, but I encountered a lot of
problems regarding dependencies, masking and other stuff.

Since I felt a little stubbornness in myself, and didn't want to back off !
I took another approach. I checked that what packages will be installed.
After that I removed the qt4 and installed all of the required qt5 packages
from qt-5.4.0 one by one and using the specific version.
After that I did the same with qt-framework packages and so on.

I think that this is generally a bad idea, because the it makes the World
set much bigger.
However I am wondering what will happen when the tree updates?
I mean for examples when another version of qt5 comes out, portage will try
to update it ?

thanks.


Re: [gentoo-user] unmasking qt5 and plasma 5

2015-01-09 Thread behrouz khosravi


 Could be compiler differences, USE flags etc.   I may give it a shot.
 Just see what it looks like if nothing else.  I just didn't want to step
 into water that was way over my head.  ;-)


That is exactly my concern!
I tried to unmask it but it seemed to be a little hard!


Re: [gentoo-user] unmasking qt5 and plasma 5

2015-01-09 Thread behrouz khosravi


 There is definitely a ton to unmask, and if you want kde4 alongside
 there are some USE flags to mess around with. I don't really remember
 which anymore, but portage should give some hints.

 I don't use SDDM, it looked nice, but I like LightDM too much


I am not planning to use kde4, so I think that wont bother me.
I have heard that SDDM is recommended for Plasma 5, however I am using slim
right now
and it is more that enough for me!


Re: [gentoo-user] unmasking qt5 and plasma 5

2015-01-09 Thread behrouz khosravi


 I couldn't stop myself anymore! Right now I am trying to get Plasma 5 on
 my machine.
 This is not easy though. I just hope I wont break anything critical!


I am trying to install SDDM for the fisrt step.


Re: [gentoo-user] unmasking qt5 and plasma 5

2015-01-09 Thread behrouz khosravi


 I've been using it on my machine for a few months now actually. In the
 beginning there were tons of ups and downs as it got stabilized, but
 it's been pretty smooth lately.

 There are definitely some kinks that still need to be worked out, and
 there are only a couple k-applications that have been updated to work
 with the new frameworks (unless you're willing to go with the live
 ebuilds).

 I'd wait till plasma 5.2 is released, or at least in beta. I've heard
 that a lot of bugs will be ironed out then. Though if you're curious,
 it's completely usable right now, nothing is currently on fire on my
 computer!


I couldn't stop myself anymore! Right now I am trying to get Plasma 5 on my
machine.
This is not easy though. I just hope I wont break anything critical!


Re: [gentoo-user] unmasking qt5 and plasma 5

2015-01-09 Thread behrouz khosravi


 SDDM is merely upstreams replacement for KDM, as I understand it. There
 also may be security vulnerabilities in SDDM, I know several versions
 have been masked because of that.

Good to know. Thanks
I will keep my slim, and see if slim is able to do job.


[gentoo-user] unmasking qt5 and plasma 5

2015-01-08 Thread behrouz khosravi
Hi. I was wondering that is it predictable that when qt5 and plasma 5 will
be unmasked?

thanks.


Re: [gentoo-user] New PC, new boot concepts

2014-12-21 Thread behrouz khosravi


 Just to add a little extra detail before others run into the same.

 Not ALL UEFI systems work with MS Windows 7. Without a compatibility part
 for
 the VGA-console, the install will fail.


I didnt know that. Thanks for the info.


Re: [gentoo-user] New PC, new boot concepts

2014-12-20 Thread behrouz khosravi


 The advantage of efi over bios is that the boot loader doesn't have to
 embed anything in the mbr, the post mbr gap, or the bios boot
 partition.


I just wanted to say that there is another advantage too!
MS WIndows7 support booting from GPT partition tables,
only if you are using the UEFI. (I dont know about Windows8)
I wanted to use GPT on a dual boot system, so I enabled UEFI on my laptop,
and I am using GRUB2 as bootloader.
Everything is working great.


Re: [gentoo-user] Nvidia and optimus

2014-12-17 Thread behrouz khosravi


 What would you consider better support?
 The way it works currently is how it's working with MS Windows (as
 provided by
 NVidia).


What I mean by better support is easy install and configuration. In the
Windows
I just install the driver and the driver is responsible for offloading or
switching the chips.
I spent a couple of hours to configure it and gave up, because it is not
easy to configure or
even easy to troubleshoot.


 A single GPU makes things simpler, but being able to have the best of both
 options:
 1) Intel = low power = long battery life
 2) Nvidia = good quality 3D, but shorter battery life

 The NVidia chip is actually switched off when not being used. (Or if not, I
 wouldn't notice as the battery life is significantly better after
 installing
 bumblebee and running the bumblebee service.)


Thats right for the current setup, but it is possible to have a laptop with
a powerful Intel GPU, right?


Re: [gentoo-user] Nvidia and optimus

2014-12-17 Thread behrouz khosravi


 You need bumblebee. Otherwise it's not possible to use the Nvidia
 Optimus chip.


I think that it is possible, or supposed to be possible!
The gentoo wiki says that Nvidia drivers are now supporting the optimus, so
it is called native optimus support


  I just waned to use optimus without that, but it seem the it is not easy!

 It's not possible, because the Nvidia Optimus chip isn't a full featured
 graphics card, and doesn't write directly to the screen. Joost already
 explained it pretty well.

 Exactly, that is why the Nvidia driver is using the xrandr for offloading
the tasks.


Re: [gentoo-user] Nvidia and optimus

2014-12-17 Thread behrouz khosravi

 It is still easy:
 emerge bumblebee
 rc-update add bumblebee default

 That's all I did and it works.


I dont consider bumblebee as a support from nvidia!

With Linux, I just add optirun  in front of the command in the
 program-menu
 item.
 On MS Windows, I need to:
 1) Start the program
 2) Stop the program
 3) Configure the driver to use the NVidia chipset for the program (It
 doesn't
 show in the list before I start it once)

 It seems that I was wrong about the way optimus is working in Windows.
I never have tried to manually select a GPU for program. I thought that the
switching
is automatic in Windows, because my games were smooth in Windows!


 If there is a powerful Intel GPU. But those don't come close to the specs
 NVidia and ATI put into the real GPUs.


Your right but I am not gonna need those specs for a laptop. Powerful cards
are meant for a PC, where the power consumption and
cooling are not that important


Re: [gentoo-user] Nvidia and optimus

2014-12-17 Thread behrouz khosravi
On Dec 16, 2014 2:38 PM, J. Roeleveld jo...@antarean.org wrote:

 On Tuesday, December 16, 2014 02:12:06 PM behrouz khosravi wrote:
  Hello everyone.
  I was trying to get native optimus support for my laptop using the
Nvidia
  driver, but after startx the screen goes black for some several seconds
and
  xserver exits.
  The output messages are attached.
  I just added a dot to end of xorg.conf and .xinitrc to bypass it for
now.
  Thanks for your time.

 Did you install and configure Bumblebee?

 I haven't configured anything special myself and got it working following
the
 official documentation:

 http://bumblebee-project.org/install.html#Gentoo
 
 emerge bumblebee

 After installation completes, add yourself to the bumblebee group to
enable
 use of the optirun command. You will have to re-login for group changes to
 take effect.
 

 --
 Joost


Not actually, I wanted to get it working without bumblebee, but it seems
that its not easy! In my Arch box a I couldent manage too set up too.
I guess I will try that sometime.


Re: [gentoo-user] Nvidia and optimus

2014-12-16 Thread behrouz khosravi
On Tue, Dec 16, 2014 at 2:38 PM, J. Roeleveld jo...@antarean.org wrote:

 On Tuesday, December 16, 2014 02:12:06 PM behrouz khosravi wrote:
  Hello everyone.
  I was trying to get native optimus support for my laptop using the Nvidia
  driver, but after startx the screen goes black for some several seconds
 and
  xserver exits.
  The output messages are attached.
  I just added a dot to end of xorg.conf and .xinitrc to bypass it for now.
  Thanks for your time.

 Did you install and configure Bumblebee?

 I haven't configured anything special myself and got it working following
 the
 official documentation:

 http://bumblebee-project.org/install.html#Gentoo
 
 emerge bumblebee

 After installation completes, add yourself to the bumblebee group to
 enable
 use of the optirun command. You will have to re-login for group changes to
 take effect.
 

 --
 Joost


I have not tried the bumblebee.
I just waned to use optimus without that, but it seem the it is not easy!
I think I will try that sometime


Re: [gentoo-user] Nvidia and optimus

2014-12-16 Thread behrouz khosravi


 The idea of Optimus is to use the lower-spec GPU for the general activities
 and only enable the higher-spec GPU (NVidia) for processes requiring the
 extra
 processing power (generally 3D games or rendering).

 Using bumblebee, you can start an application using optirun
 application.
 The application then can use the Nvidia-chip. Other applications will still
 use the lower-spec GPU.

 --
 Joost


Well actually I dont play games on linux, but I like to see how it is
performing.
What is interesting for is using a set up that does the offloading
automatically.
However it seems that the optimus support for linux is not good at all, and
I hope it get better eventually.
I am beginning to thinks that maybe Linus was right NVIDIA!!


Re: [gentoo-user] Nvidia and optimus

2014-12-16 Thread behrouz khosravi
On Tue, Dec 16, 2014 at 11:19 PM, J. Roeleveld jo...@antarean.org wrote:

 The Optimus support on Linux is similar to how it's done on ms windows. (I
 dual boot for a flight sim)

 Performance wise, it depends on the GPU.
 The lowspec one I have is an Intel embedded one. The higher spec is an
 NVidia GT750.

 Using glxgears:
 Without  (Intel): 60fps
 With (NVidia): 90-95 fps

 --
 Joost
 --
 Sent from my Android device with K-9 Mail. Please excuse my brevity.


Thanks for the info.
However I think that I will wait till better support is provided for linux.
And I am sure if I am ever going to buy a new laptop, I will make sure that
it has only one GPU! ( Intel would be nice!)


[gentoo-user] video playback problem in full screen

2014-12-11 Thread behrouz khosravi
Hello everyone. I am running i3wm and compton on xorg and Nouveau driver.
Both VLC and Mplayer produce some glitches in the screen when they are in
the full screen mode.
What I mean by glitch is that on some random spots of the screen the
brightness changes for a very short time.
I know that it is a vague explanation, and I am sorry for that but I don't
know how to give a more clear explanation!
I am quite sure that there is nothing wrong with the Nouveau driver,
because my Arch box is using the same driver and has no problem.
However I was wondering, how can I identify the source of this problem?
Thanks for your time.


[gentoo-user] Video play problem in full screen

2014-12-10 Thread behrouz khosravi
Hello everyone.
I am using i3wm and compton on top of xorg using the nouveau driver.
The problem is that playing video in full screen produces some glitches in
the picture, and mplayer and vlc both have the same problem.
It does not depend on the resolution of the video file. High quality and
low quality video files produce the glitches in full screen mode. What I
mean by glitches is that on some places of the screen, colors change out of
order for something about 0.5 seconds.
I know that it is very vague explanation and I'm sorry but I don't know how
give more specific information.
I don't think that the driver is causing the problem because I on my ARCH
box there is not such a problem.
So, how can I find out what is wrong so after that I search for a cure!

Thank you very much.


Re: [gentoo-user] urxvt on i3wm as wallpaper

2014-12-07 Thread behrouz khosravi
On Mon, Dec 8, 2014 at 2:46 AM, lee l...@yagibdah.de wrote:

 behrouz khosravi bz.khosr...@gmail.com writes:

  On Sat, Dec 6, 2014 at 5:44 AM, lee l...@yagibdah.de wrote:
 
 
 
  Omit the window decorations?
 
 
  I liked the picture, but actually I am not sure if that's what I want.
  I want a terminal that is on the background (wallpaper) of the screen,
 not
  in the floating mode or something like that.
  For example like the conky behaves when it is on the walpaper.

 I guess you'd have to build the terminal into the WM to achieve this.

 Other than that, you can always make the terminal fullscreen, and then
 there's no significant difference between the terminal and the
 background anymore --- or is there?

  However how did you remove the window decorations?!

 I have


 Style * !Title, BorderWidth 2
 Style XTerm !Borders


 in my fvwm configuration.  You can check it out at [1] and modify it to
 your liking.  Unless you have an AltGr key on your keyboard, you
 probably *do* want to adjust the key bindings before starting fvwm, or
 you may find yourself unable to move windows.

 Once you got used to fvwm, you don't want to put up with anything less
 anymore :)  However, i3 is really good, too, if you like tiling WMs and
 don't (yet) need sticky floating windows (which stay on top)[2].  I've
 tried many WMs over the years and can recommend only those two.  And I
 got fvwm to do tiling the way I need it --- which I rarely do ---
 basically just as well as i3 does.


 [1]: https://github.com/lee-/fvwm
 [2]: http://i3wm.org/


 --
 Again we must be afraid of speaking of daemons for fear that daemons
 might swallow us.  Finally, this fear has become reasonable.



Ok, Thanks.


Re: [gentoo-user] urxvt on i3wm as wallpaper

2014-12-06 Thread behrouz khosravi
On Sat, Dec 6, 2014 at 5:44 AM, lee l...@yagibdah.de wrote:



 Omit the window decorations?


I liked the picture, but actually I am not sure if that's what I want.
I want a terminal that is on the background (wallpaper) of the screen, not
in the floating mode or something like that.
For example like the conky behaves when it is on the walpaper.

However how did you remove the window decorations?!

thanks.


[gentoo-user] urxvt on i3wm as wallpaper

2014-12-05 Thread behrouz khosravi
Hello everyone.
I was wondering that is it possible to have urxvt (or another terminal) on
a portion of background?
I used the override-redirect option but it didnt work properly.
Have anyone tried this?
thanks.


[gentoo-user] headphone does not work in windows After logging to linux

2014-11-21 Thread behrouz khosravi
Hi. My problem is that when I log off from gentoo and login to windows, my
headphone does not work in windows.
Has anyone encountered the same problem?


Re: [gentoo-user] headphone does not work in windows After logging to linux

2014-11-21 Thread behrouz khosravi
 Do you reboot in the between or are you running somekind of virtual
machine? Usb headphones or what? What sound driver? I've had problems with
NIC between reboots. They were cleared by removing power cord for multiple
minutes while rebooting. I got rid of the problem when i updated NIC's
driver (bug in driver).

 --
 -Matti

No. It happen every time I boot into linux. Gentoo or Arch.
removing power helps but is annoying.
its not usb, but I dont know what is called! the ordinary type!
Its a realtek chip .
The bug that you mentioned is related to linux driver or windows driver?


Re: [gentoo-user] headphone does not work in windows After logging to linux

2014-11-21 Thread behrouz khosravi
On Nov 21, 2014 6:23 PM, Matti Nykyri matti.nyk...@iki.fi wrote:

 On Nov 21, 2014, at 16:15, behrouz khosravi bz.khosr...@gmail.com wrote:


  Do you reboot in the between or are you running somekind of virtual
machine? Usb headphones or what? What sound driver? I've had problems with
NIC between reboots. They were cleared by removing power cord for multiple
minutes while rebooting. I got rid of the problem when i updated NIC's
driver (bug in driver).
 
  --
  -Matti

 No. It happen every time I boot into linux. Gentoo or Arch.
 removing power helps but is annoying.
 its not usb, but I dont know what is called! the ordinary type!
 Its a realtek chip .
 The bug that you mentioned is related to linux driver or windows driver?


 I have realtek R6168/6111/6169 NIC. It works in Linux with realtek's
driver not with the one included in kernel. Windows fails to initialize the
NIC properly when I reboot from linux to windows. When NIC is reset by
recycling power windows will be able to initialize it. Downgrading windows
(7 64bit) dirver to an ancient one fixed the problem. The up-to-date
realtek driver didn't work correctly.

 lspci -v

 You can check what driver kernel uses for you audio. Also the bug can be
in alsa. The ways of alsa quite complicated... You are using alsa right?
What error message does alsa give when you try to play audio?
Well I have no problem with it in linux. It always works in linux but I
think there is a problem with alsa or some other linux related part.
Because I have enabled the after post sound in bios. When I power in on the
headphone work. Then I login to linux and when I reboot to login to
windows, the bios post sound does not come from headphone.
It seems something is wrong in the linux part!


Re: [gentoo-user] headphone does not work in windows After logging to linux

2014-11-21 Thread behrouz khosravi
On Nov 21, 2014 6:50 PM, Ivan T. Ivanov iiva...@mm-sol.com wrote:


 On Fri, 2014-11-21 at 18:38 +0330, behrouz khosravi wrote:
 
  Well I have no problem with it in linux. It always works in linux but I
think there is a problem
  with alsa or some other linux related part. Because I have enabled the
after post sound in bios.
  When I power in on the headphone work. Then I login to linux and when I
reboot to login to
  windows, the bios post sound does not come from headphone.

 So the question is about BIOS beep after some sort of self test,
 and not the audio in general?

 Out of curiosity. Once it is working, is it still work if you
 reboot several(2) times to Windows?

 Ivan



Actually I wanted to point out that something is happening in linux and the
windows is a victim this time!

Booting several times into windows is ok and no sign of that problem.


[gentoo-user] wireless interface problem in new installation

2014-11-17 Thread behrouz khosravi
Hi.

I was going to install gentoo on my laptop and since I needed an easy WPA2
wireless connection I used system rescue cd for installation.
After finishing the installation when I booted gentoo the ifconfig -a
didnt show my wireless interface. I thought that I have not included the
driver, so I used the genkernel to compile another kernel but the problem
is not gone.

have I missed something?

thanks


Re: [gentoo-user] wireless interface problem in new installation

2014-11-17 Thread behrouz khosravi


 Hm, does wireless device require firmware? Have you installed firmware
 properly?


I dont think so. I have installed gentoo on it before and back then I just
used the genkernel and it was working.


Re: [gentoo-user] wireless interface problem in new installation

2014-11-17 Thread behrouz khosravi
On Nov 17, 2014 7:32 PM, Alexander Kapshuk alexander.kaps...@gmail.com
wrote:

 On Mon, Nov 17, 2014 at 3:32 PM, behrouz khosravi bz.khosr...@gmail.com
wrote:
 
 
 
  Hm, does wireless device require firmware? Have you installed firmware
  properly?
 
 
  I dont think so. I have installed gentoo on it before and back then I
just
  used the genkernel and it was working.

 What's the output of 'lspci -k'?


It shows the device which is a atheros ar9285
But doesnt show any kernel driver in use for it.
So that is because the driver is  not compiled?


Re: [gentoo-user] wireless interface problem in new installation

2014-11-17 Thread behrouz khosravi
On Nov 17, 2014 8:46 PM, Alexander Kapshuk alexander.kaps...@gmail.com
wrote:

 On Mon, Nov 17, 2014 at 6:58 PM, behrouz khosravi bz.khosr...@gmail.com
wrote:
 
  On Nov 17, 2014 7:32 PM, Alexander Kapshuk 
alexander.kaps...@gmail.com
  wrote:
 
  On Mon, Nov 17, 2014 at 3:32 PM, behrouz khosravi 
bz.khosr...@gmail.com
  wrote:
  
  
  
   Hm, does wireless device require firmware? Have you installed
firmware
   properly?
  
  
   I dont think so. I have installed gentoo on it before and back then I
   just
   used the genkernel and it was working.
 
  What's the output of 'lspci -k'?
 
 
  It shows the device which is a atheros ar9285
  But doesnt show any kernel driver in use for it.
  So that is because the driver is  not compiled?

 I dare say the kernel driver may not have been compiled into the
 kernel, or compiled as a kernel module.
 What's the output of 'cd /usr/src/linux  grep -i ath .config'?


Well I looked and the relevant module was not compiled.
I have changed the config so I cant answer your question unfortunately !
I hope new kernel will fix it.
But I have used the previous config in kernel about 2 month ago. I cant
believe I have not used the wireless that time!


Re: [gentoo-user] wireless interface problem in new installation

2014-11-17 Thread behrouz khosravi
On Nov 17, 2014 9:06 PM, behrouz khosravi bz.khosr...@gmail.com wrote:


 On Nov 17, 2014 8:46 PM, Alexander Kapshuk alexander.kaps...@gmail.com
wrote:
 
  On Mon, Nov 17, 2014 at 6:58 PM, behrouz khosravi bz.khosr...@gmail.com
wrote:
  
   On Nov 17, 2014 7:32 PM, Alexander Kapshuk 
alexander.kaps...@gmail.com
   wrote:
  
   On Mon, Nov 17, 2014 at 3:32 PM, behrouz khosravi 
bz.khosr...@gmail.com
   wrote:
   
   
   
Hm, does wireless device require firmware? Have you installed
firmware
properly?
   
   
I dont think so. I have installed gentoo on it before and back
then I
just
used the genkernel and it was working.
  
   What's the output of 'lspci -k'?
  
  
   It shows the device which is a atheros ar9285
   But doesnt show any kernel driver in use for it.
   So that is because the driver is  not compiled?
 
  I dare say the kernel driver may not have been compiled into the
  kernel, or compiled as a kernel module.
  What's the output of 'cd /usr/src/linux  grep -i ath .config'?
 

 Well I looked and the relevant module was not compiled.
 I have changed the config so I cant answer your question unfortunately !
 I hope new kernel will fix it.
 But I have used the previous config in kernel about 2 month ago. I cant
believe I have not used the wireless that time!

Well thank you very much.
The new kernel works.
Good day


Re: [gentoo-user] wireless interface problem in new installation

2014-11-17 Thread behrouz khosravi
On Mon, Nov 17, 2014 at 9:27 PM, Alexander Kapshuk 
alexander.kaps...@gmail.com wrote:

 On Mon, Nov 17, 2014 at 7:55 PM, behrouz khosravi bz.khosr...@gmail.com
 wrote:
 
  On Nov 17, 2014 9:06 PM, behrouz khosravi bz.khosr...@gmail.com
 wrote:
 
 
  On Nov 17, 2014 8:46 PM, Alexander Kapshuk 
 alexander.kaps...@gmail.com
  wrote:
  
   On Mon, Nov 17, 2014 at 6:58 PM, behrouz khosravi
   bz.khosr...@gmail.com wrote:
   
On Nov 17, 2014 7:32 PM, Alexander Kapshuk
alexander.kaps...@gmail.com
wrote:
   
On Mon, Nov 17, 2014 at 3:32 PM, behrouz khosravi
bz.khosr...@gmail.com
wrote:



 Hm, does wireless device require firmware? Have you installed
 firmware
 properly?


 I dont think so. I have installed gentoo on it before and back
 then
 I
 just
 used the genkernel and it was working.
   
What's the output of 'lspci -k'?
   
   
It shows the device which is a atheros ar9285
But doesnt show any kernel driver in use for it.
So that is because the driver is  not compiled?
  
   I dare say the kernel driver may not have been compiled into the
   kernel, or compiled as a kernel module.
   What's the output of 'cd /usr/src/linux  grep -i ath .config'?
  
 
  Well I looked and the relevant module was not compiled.
  I have changed the config so I cant answer your question unfortunately !
  I hope new kernel will fix it.
  But I have used the previous config in kernel about 2 month ago. I cant
  believe I have not used the wireless that time!
 
  Well thank you very much.
  The new kernel works.
  Good day

 Good to hear.

 Thanks for letting us know.


Thanks for your help!


Re: [gentoo-user] Linux friendly tablets?

2014-10-10 Thread behrouz khosravi
On Oct 10, 2014 4:39 AM, Nilesh Govindrajan me@ m...@nileshgr.com
nileshgr.com m...@nileshgr.com wrote:
 A friend of mine uses tablets with Intel processors (I think Dell tabs)
for this purpose.

Thanks but I will be more happier with the ARM bases devices.
Besides I think intel based devices are generally more expensive.


[gentoo-user] Linux friendly tablets?

2014-10-09 Thread behrouz khosravi
Hello everyone.
I am going to buy a mid range (under 250$) tablet.
It will be an android based, but I want to buy something that I will be
able to boot linux natively on it and see what happens when all that java
crap is eradicated!
It will be great if all of the drivers are freely available.
Personally I think about the Nexus7.
I will be grateful if you have any suggestions.
Thanks.


[gentoo-user] has anyone tried KDE5?

2014-10-04 Thread behrouz khosravi
Hello everyone.
I was wondering if anyone has tried KDE5?
Do you know when it's going to be placed in the main tree?

thanks


[gentoo-user] Is kde really buggy or it is me?!

2014-09-18 Thread behrouz khosravi
Hi.
I have just installed the kde desktop. I like the overall experience but
its kind of buggy. For example the last problem that I had, system setting
was not responding till the next reboot.
I have not used kde before so, I was wondering that is buggy or I have
configured something wrong?


Re: [gentoo-user] Is kde really buggy or it is me?!

2014-09-18 Thread behrouz khosravi
I just wanted to open system setting to configure  the screen brightness,
but it was not loading.
It is working good is general.
On Sep 18, 2014 5:48 PM, Alec Ten Harmsel alec a...@alectenharmsel.com@
a...@alectenharmsel.comalectenharmsel.com a...@alectenharmsel.com
wrote:

 On 09/18/2014 09:15 AM, behrouz khosrav

On 09/18/2014 09:15 AM, behrouz khosravi wrote:

 Hi.
 I have just installed the kde desktop. I like the overall experience
 but its kind of buggy. For example the last problem that I had, system
 setting was not responding till the next reboot.
 I have not used kde before so, I was wondering that is buggy or I have
 configured something wrong?

What settings exactly were you setting? It's been my experience that
changing a handful of disparate values sometimes will not take full
effect until after a reboot, especially if it deals with language or
appearance.

Additionally, KDE is a pretty large DE. If you don't have your graphics
driver installed/loaded, it may continue to be buggy and/or slow.

Alec


Re: [gentoo-user] Is kde really buggy or it is me?!

2014-09-18 Thread behrouz khosravi
It does not do anything.  Not printing any messages. I know that if I
reboot, the problem will be gone(I had the same problem before) but its a
little annoying.

sorry for the top-posting. I am using my phone, and its a little hard to
edit the text!


Re: [gentoo-user] accidentally deleted the /usr (I'm gonna kill myself!)

2014-08-27 Thread behrouz khosravi
On Wed, Aug 27, 2014 at 8:33 PM, Nikita Tropin posixivis...@gmail.com wrote:
 Not so long ago I was mrpropered my /home. You situation is much
 harder but... There is exist utility sys-fs/extundelete and if you
 have ~500-600mb of unparted
 disk space(and of course your /removed usr is ext fs), you can
 create new /usr there, unpack stage3's /usr to /newusr, chroot,
 emerge extundelete, and try to restore all your data. But for my
 experience it restored ~20-30%, may be you'll be more lucky.


Thanks for the advice, but unfortunately the situation was worse that I thought!
Almost all of the /usr was gone, and I decided to do a clean reinstall.
I didn't have so much installed ( xorg, i3 and some other packages ).
I finished the reinstall several hours ago, and on the bright side I
have a update system now!

Thanks everybody for your time and help.



Re: [gentoo-user] accidentally deleted the /usr (I'm gonna kill myself!)

2014-08-25 Thread behrouz khosravi
On Mon, Aug 25, 2014 at 3:57 AM, Volker Armin Hemmann
volkerar...@googlemail.com wrote:

 and now you know why you should have added --buildpkg to your default
 emerge options.

Yeah, I am happy that I did it. I really don't like to compile
chromium or libreoffice again!



[gentoo-user] accidentally deleted the /usr (I'm gonna kill myself!)

2014-08-24 Thread behrouz khosravi
Hi. I just accidentally removed the /usr folder!
And I am sure the /usr/bin and several other folders are gone!
Should I go for a complete re-install or there is any other solution?
 Thanks and I hope that I wont find that blade that I am looking for!



Re: [gentoo-user] why you've chosen your desktop environment? (no war !)

2014-08-18 Thread behrouz khosravi
On Mon, Aug 18, 2014 at 2:47 PM, wraeth wra...@wraeth.id.au wrote:
 Also, I think your subject line, while a valiant effort, is the IT
 equivalent of don't eat the cookies while I'm gone :P
Yea, I think there will no escape from that!



Re: [gentoo-user] USE flags handling

2014-08-17 Thread behrouz khosravi
On Mon, Aug 18, 2014 at 1:51 AM, thegeezer thegee...@thegeezer.net wrote:
 late to the conversation but no one else has mentioned, ...

Sounds neat, Thanks for the advise.



[gentoo-user] why you've chosen your desktop environment? (no war !)

2014-08-16 Thread behrouz khosravi
Hi. I have been using the gnome for some time(in other distro's) and I
had no complaint. However after switching to gentoo I installed i3 and
it is very great.
I really love it, but I was considering to install a DE too.
Before jumping to gnome I wanted to evaluate my options.
I have heard that  It is a matter of taste but think it is not all
of the story.
I have heard that the gentoo community is more inclined toward KDE
too. So KDE must have some advantage that makes people like it's
taste!
So can you please tell me why you have chosen a specific DE and not
the other options ?
thanks.



Re: [gentoo-user] why you've chosen your desktop environment? (no war !)

2014-08-16 Thread behrouz khosravi
 xfce4 here, very light weight, customizable, boots up instantly for me.
 I use nfsv3 and netboot many box's with it as a shared read only root

Is it as customizable as KDE ? I have installed KDE on a Debian
machine and I like it's configurability.



Re: [gentoo-user] why you've chosen your desktop environment? (no war !)

2014-08-16 Thread behrouz khosravi
On Sat, Aug 16, 2014 at 10:22 PM, Сергей protsero...@gmail.com wrote:
 I use KDE, because it has biggest amount of functions KDE Connect,
 KRunner and Amarok have no match in GTK-world. If they had, I would
 use Xfce.



well it seems that Xfce is now really a big player. I guess that it's
number of users is quite comparable to gnome and KDE.



[gentoo-user] anyone using ldoce5viewer (Longman 5 viewer)

2014-08-08 Thread behrouz khosravi
Hello everyone.
I attempted to install ldoce5viewer on my machine, the build process
has no complaints, but when I try to start it, it shows:
need to run '$ make' in order for the program to work
Is anyone using this package on gentoo?
Thanks.



Re: [gentoo-user] --exclude gentoo-sources

2014-08-02 Thread behrouz khosravi
On Sat, Aug 2, 2014 at 1:47 PM, Alan McKinnon alan.mckin...@gmail.com wrote:

 You are confusing the distfile with the installed ...

Well actually I was thinking that if somebody need the old kernel
source he/she can unpack the distfile and perform what he/she wants.
Maybe updating the linux symlink will be needed though.
However I forget the patches, and in that case it does not seem very practical !
However thanks for your time.



[gentoo-user] a question about emerge --sync

2014-08-01 Thread behrouz khosravi
Hello everybody.
I have a little bandwidth problem. I don't want to update my packages
very frequently.
Is it save to sync my portage not very often, say every month or two,
so when I install something I wont be warned that some of my packages
are outdated?
In this manner I wont need to mask my packages, to prevent them from
updating, right ?

Thanks.



Re: [gentoo-user] a question about emerge --sync

2014-08-01 Thread behrouz khosravi
On Fri, Aug 1, 2014 at 1:07 PM, Douglas J Hunley doug.hun...@gmail.com wrote:
 You seem to be slightly confusing two different things. There is 'emerge
 --sync' (or emerge-webrsync) which maintains your copy of the portage tree
 and then there's 'emerge --update' which actually downloads the source,
 compiles, and then installs it. ...

Well actually what I am I thinking is that doing a sync operation,
makes portage aware of new packages and when I
for any reason give the emerge --update ... command it tries to
fetch new packages.
Although I don't know if any situation forces me to issue update on a
outdated portage tree!!!



Re: [gentoo-user] --exclude gentoo-sources

2014-08-01 Thread behrouz khosravi
On Fri, Aug 1, 2014 at 12:58 PM, James wirel...@tampabay.rr.com wrote:
 Howdy,

 I know I can use this option to protect kernel sources I
 want to keep around, from  removal, via depclean.


Well I not a proficient user, but I think that depclean wont remove
packages from distfiles.
At least what happened to me was that depclean removed the sources
from /usr/src/ folder but the linux.xxx remained in the disfiles
folder.



Re: [gentoo-user] Re: a question about updating process

2014-07-31 Thread behrouz khosravi
On Thu, Jul 31, 2014 at 1:08 PM, Peter Humphrey pe...@prh.myzen.co.uk wrote:

 I think James must have been having an off day. There was nothing even
 slightly ridiculous about what you wrote.

Thnaks Peter. :)



Re: [gentoo-user] USE flags handling

2014-07-31 Thread behrouz khosravi
On Thu, Jul 31, 2014 at 5:35 PM, Frank Steinmetzger war...@gmx.de wrote:
 In such cases I tend to suggest installing ufed...

Seems really handy. Thanks.



Re: [gentoo-user] Re: USE flags handling

2014-07-30 Thread behrouz khosravi
On Wed, Jul 30, 2014 at 6:37 PM, James wirel...@tampabay.rr.com wrote:

 ...
Thanks for your advice. They were surely helpful.

 http://swift.siphos.be/linux_sea/

 (Sven is a great human! He not only overseas much of the documentation,
 he one of the SeLinux folks, should you venture into those waters)

Oh yea, I have read the Linux Sea and it was great. Very Informative.



Re: [gentoo-user] Re: a question about updating process

2014-07-30 Thread behrouz khosravi
On Wed, Jul 30, 2014 at 7:12 PM, James wirel...@tampabay.rr.com wrote:
 Sorry for being blunt, but you just do not realize just how rediculous
 this line of reasoning/questioning is?

Well, honestly I don't blame myself! I am new to the Linux (FOSS)
world and I don't know very much about it. After some distro hopping I
decided to switch to gentoo because I learnt that easy necessarily
doesn't mean simple and I liked the way gentoo is making an operating
system.
However I think it takes a long time for me to familiarize myself to
this world, so I guess more of this rediculous statement will be on
the way! And my apologies in advance!

Thanks and have a nice time.



Re: [gentoo-user] NFS tutorial for the brain dead sysadmin?

2014-07-29 Thread behrouz khosravi
oh my bad!
Believe me, I did an honest mistake! and I am very sorry for that.
Thanks for you help and again, may apologies.


On Mon, Jul 28, 2014 at 8:27 PM, Neil Bothwick n...@digimed.co.uk wrote:

 On Mon, 28 Jul 2014 19:59:16 +0430, behrouz khosravi wrote:

  I was wondering that is it possible to make portage to sync a only a
  subset of portage tree. For example I have not installed Gnome and I
  dont want to sysc command download ebuilds related to this branch.

 Please do not top-post
 Please do not hijack threads.

 If you have a new question to ask, start a new thread, don't use a thread
 dedicated to a different question.

 The short answer to your question is no - unless you want to start
 messing with RSYNC_OPTS in make.conf to add exclude directives, but that
 could break dependency resolution.


 --
 Neil Bothwick

 This is a test of the emergency tagline stealing system.



Re: [gentoo-user] NFS tutorial for the brain dead sysadmin?

2014-07-29 Thread behrouz khosravi
oh, I guess I have to let it be!
Thanks.


[gentoo-user] a question about updating process

2014-07-29 Thread behrouz khosravi
hello everyone.
I was trying to emerge chromium and I noticed that it should download about
200 Mb, and no wonder cause it is source files, not binary executable.
However I wanted to know that if a new version of chromium comes out, an
update will download another 200 Mb or just a diff files to patch the
altered files ? (I am a new user and I have not experienced that situation!)
Regards


Re: [gentoo-user] a question about updating process

2014-07-29 Thread behrouz khosravi
well chromium was just an example. I just think that when there is a
version upgrade, a patch should be enough.
I have read that portage is migrating to git, but I guess I got it wrong,
because I thought that the source codes will be maintained using git too.
However why not? why not use git for source maintenance too?

regards.


On Tue, Jul 29, 2014 at 2:59 PM, Neil Bothwick n...@digimed.co.uk wrote:

 On Tue, 29 Jul 2014 14:38:04 +0430, behrouz khosravi wrote:

  I was trying to emerge chromium and I noticed that it should download
  about 200 Mb, and no wonder cause it is source files, not binary
  executable. However I wanted to know that if a new version of chromium
  comes out, an update will download another 200 Mb or just a diff files
  to patch the altered files ? (I am a new user and I have not
  experienced that situation!)

 It will download the source for the new version, which is generally a
 separate tarball, so another 200MB. That's how Gentoo works, with very
 few exceptions that source is downloaded and compiled.

 If you want to avoid the large download and lengthy compile time of
 chromium, use www-client/google-chrome instead, this is the pre-compiled
 binary from Google.


 --
 Neil Bothwick

 EMail - garbage at the speed of light.



Re: [gentoo-user] a question about updating process

2014-07-29 Thread behrouz khosravi
Thanks every one.

I guess I got it know !
And I must say that the way Gentoo is working now, is simple, no doubts.

And I am surprised to hear that Gentoo is so strict to follow upstream.
I guess it makes it the most vanilla flavored, And I really like it !



Re: [gentoo-user] a question about updating process

2014-07-29 Thread behrouz khosravi
 However, the project have somehow become quiet, probably as the
 bandwidth and data volumes are no longer such an issue.

thanks for your help, however bandwidth is always an issue for me and
it seems that always will be! unfortunately I  am living in Iran,
which means low speed and high price!



[gentoo-user] USE flags handling

2014-07-29 Thread behrouz khosravi
Hello everyone.
I just concurred my fear and jumped to installing gentoo!
So far so good!
Before installing on my laptop and desktop, I am trying on virtual box
and the system is running Fluxbox very good.(default profile)
Now I am thinking about managing USE flags.
What if I  disable everything in the make.conf ( I mean USE=-* ) and
gradually add the needed flags to package.use?
I am not trying to have severe control, I just want to expand my knowledge!
thanks.



Re: [gentoo-user] USE flags handling

2014-07-29 Thread behrouz khosravi
On Tue, Jul 29, 2014 at 9:48 PM, Philip Webb purs...@ca.inter.net wrote:
 140729 behrouz khosravi wrote:
  ^ 'conquered' (smile) : 'concur' = 'agree'.
Sorry. Now it is obvious English is not my mother tongue!

regards.



Re: [gentoo-user] USE flags handling

2014-07-29 Thread behrouz khosravi
 Portage profiles set some default USE flags, then some ebuilds also set
 defaults. Using USE=-* disables all of these. You can see the defaults
I have noticed that some packages have flags that I have not set, but
I though that they were the default flags for that package. You mean
those flags will become persistence? Will be them written to a
specific file?

 You will do that, but not in the way you hoped. Pick a profile that most
 closely matches your usage and then find tune from that by adding or
 removing USE flags. That's a lot easier than deliberately breaking things
 and then trying to work out how to fix them.

I guess your way is better. I think it will be a good idea to stick to
the base profile, and define the required flags as locale flags.



  1   2   >