Re: can you parse and "tail" at once? (and if you can't why not?)

2023-10-23 Thread Pankaj Jangid
Albretch Mueller writes: > After generating a file with lines of text, I have to: > 1) parse some of those lines based on a pattern I know (no regex > necessary, just a FS path) > 2) once parsed from those lines I need the last n characters only > I am trying to use a one liner like: > cat "

Re: Debian support for AMD GPU applications

2023-04-26 Thread Pankaj Jangid
jeremy ardley writes: > Is there any reliable source of information to install computational > back-ends using AMD GPUs on Debian 11? I followed the below repo and it worked perfectly on Debian 12 (Bookworm). No need to install anything else on your system (no need for rocm-device-* etc. package

[Bookworm] Pipewire restart required after every reboot

2023-04-23 Thread Pankaj Jangid
I have upgraded to Bookworm two weeks ago. Everything is working perfectly fine, except just one glitch. I have to restart pipewire and pipewire-pulse service everytime I reboot. Here is what is happening. I have just booted my system and the systemctl reports few errors in pipewire. Although it i

Re: Missing Input Source - which package to file bug against?

2023-04-09 Thread Pankaj Jangid
Pankaj Jangid writes: > I just discovered that there is no "input source" for Hindi (language) > or Devanagari Script. Which package should I file the bug against? > > In Debian 11.6, the input source was present and switching with > Super+Space was working just fine.

Missing Input Source - which package to file bug against?

2023-04-09 Thread Pankaj Jangid
I just discovered that there is no "input source" for Hindi (language) or Devanagari Script. Which package should I file the bug against? In Debian 11.6, the input source was present and switching with Super+Space was working just fine. I have upgraded to "bookworm" 3 days back. Overall experienc

Re: Google Chrome can share but Chromium cannot share screen

2022-09-11 Thread Pankaj Jangid
Corentin Bardet writes: > I think you have no other option than using Google Chrome for your > meetings. Screen sharing works in Firefox ESR on Wayland. So I still have options. Just that few features - like blur background etc. doesn't work in FF.

Google Chrome can share but Chromium cannot share screen

2022-09-10 Thread Pankaj Jangid
For a few work related meetings, I have to use Google Meet. But the screensharing doesn't work in the Chromium installed from stable APT repository. Clicking on the share-screen icon and then selecting any of the three options - Tab, Windows, Entire Screen - shows this error message, "Your browser

Area parameter of Wacom CTL 6100

2022-08-04 Thread Pankaj Jangid
I had this issue long back, when my wacom ctl-6100 was far exceeding my 4k display. But then it got fixed automatically with some software upgrade in Debian 11 bullseye. But recently, I plugged it in again to sign a few documents and found that the problem has reappeared. Can someone guide me how

Re: Stop KDE look and feel

2022-06-07 Thread Pankaj Jangid
Amn Ojee Uw writes: > For some reason my GNOME desktop picked up the KDE look and feel; not all > the application just some of them. Right now Thunderbird, which I am using > to send this email, looks and feels like I am using the KDE desktop. How > can I get it back to the GNOME look and feel?

Sleep on Wayland/Sway

2022-05-14 Thread Pankaj Jangid
I am using the Debian Stable. I want an advice for configuring lock/sleep on Sway. I have following settings in my Sway config. And below is my observation. --8<---cut here---start->8--- exec swayidle -w \ timeout 300 'slock' \ timeou

Chrome screen sharing on Sway crashes the browser

2022-05-14 Thread Pankaj Jangid
This is most probably a bug in Google’s Chrome browser. But I just wanted to confirm if someone else has also noticed it. Google’s Chrome works fine with Default (Gnome) Desktop. But when I switch to Sway. The screen sharing sessions in Google Meet and Skype, crashes the browser itself. Has anyon

Re: why some wifi connection method is better than other

2022-04-02 Thread Pankaj Jangid
a writes: > to setup wifi, i edit /etc/network/interfaces in bullseye and run > ifup/ifdown to take effect > > iface wlx12345 inet dhcp >     wpa-ssid netgear >     wpa-key-mgmt NONE > > it works if wifi signals is good > > if wifi signals is 2 on scale of 3 shown by cell phone, it can't

Re: Where do you get Virtualbox

2022-04-01 Thread Pankaj Jangid
Dan Ritter writes: > In any case, you seem to have answered your own question: Oracle > is the supplier of virtualbox. If you don't trust them, there > are many fine alternatives to virtualbox, most of which are > built on the work of kvm, qemu or Xen. To use USB devices inside a guest system,

Re: how to join 2 video files with ffmpeg or mencoder

2022-03-20 Thread Pankaj Jangid
lou writes: > i have 2 video files, they are of same format > > because they are both created by android's screen recorder > > and then resized with same ffmpeg command to reduce file size > > now i want to concatenate them with ffmpeg or mencoder > > how to specify options using either command?

Re: evince has died a horrible death. Sob...

2022-03-11 Thread Pankaj Jangid
Emanuel Berg writes: > Pankaj Jangid wrote: >> >> For reading PDFs, I still use evince (the default). > > I use xpdf(1) but I'm not a PDF reader power user ... > > Here are some settings: > I am also not a power user. I use what came with a default

Re: evince has died a horrible death. Sob...

2022-03-11 Thread Pankaj Jangid
gene heskett writes: > What its its feature complete replacement in a buster install? This > machine is bullseye, the logged into machine is buster. > For reading PDFs, I still use evince (the default). For annotating/marking in the PDFs, I use xournalpp. It is actively maintained upstream.

Re: Screen goes blank for 1-2 seconds

2022-02-09 Thread Pankaj Jangid
Pankaj Jangid writes: > Pankaj Jangid writes: > >> Since I have setup a new hardware - x570 chipset, rx580 GPU - I am >> facing a very strange problem. The monitor goes blank for a brief time, >> like 1-2s and then comes back. It is connected with the GPU using HDMI >

Re: USB sound device present but visible in ‘alsamixer’

2022-02-09 Thread Pankaj Jangid
Nicholas Geovanis writes: >> I am trying to make it work; so here is the update. >> >> I tried to experiment with my machine and found that if I plug-out and >> plug-in the USB sound card again, it is not shown by "aplay -l" command >> as normal user. But when I do "sudo aplay -l" it lists the US

Re: Screen goes blank for 1-2 seconds

2022-02-06 Thread Pankaj Jangid
Pankaj Jangid writes: > Since I have setup a new hardware - x570 chipset, rx580 GPU - I am > facing a very strange problem. The monitor goes blank for a brief time, > like 1-2s and then comes back. It is connected with the GPU using HDMI > cable. > > During that 1-2s, the m

Re: USB sound device present but visible in ‘alsamixer’

2022-02-06 Thread Pankaj Jangid
Pankaj Jangid writes: > When I boot system afresh, the card is visible in the ‘alsamixer’ and in > Gnome settings as well. Shown as “Blue” S/PDIF input and output > devices. But when system wakes up from sleep (suspended), it doesn’t > show the devices. > > However, ‘lsusb’ s

How to disable bluetooth probe

2022-02-02 Thread Pankaj Jangid
Hi, I get the below error message every second on my text console. And due to this I have to use GUI. I could find out that my hardware is not yet supported by Linux Kernel 5.10, and 5.15 - which is in unstable - has support for my motherboard. --8<---cut here---start-

Re: Printing lots of pages skips a few

2022-02-02 Thread Pankaj Jangid
mick crane writes: > May be an issue with the printer reporting it has printed file when it > hasn't. > Perhaps try wait between each print instruction. > This could be one reason. But I am not sure how to diagnose this. Perhaps the procedure suggested by David is a good starting point. Regards

Re: Printing lots of pages skips a few

2022-02-02 Thread Pankaj Jangid
David Wright writes: > And in the OP's case, this might save a little effort, because my > next step in the investigation would be to check the files in > /var/spool/cups/c* to make sure that all the files had actually > been queued. If so, what does each file report as happening. > (The files ar

Re: Printing lots of pages skips a few

2022-02-02 Thread Pankaj Jangid
Klaus Singvogel writes: > Can you look at the webinterface of CUPS regarding the missing jobs? > > http://localhost:631/ > > -> Printer -> select your default printer (if more) -> finish job (or > similar) I did that when I discovered that some pages were missing. Nothing there in unfinish

Re: Printing lots of pages skips a few

2022-02-02 Thread Pankaj Jangid
Greg Wooledge writes: > I can't help noticing that none of your filenames begin with "pref", > so none of them actually match the -name pattern that's being given > to find. One of the obvious ways you could experience this problem > is that the "missing" files don't match the pattern you're usi

Re: Printing lots of pages skips a few

2022-02-01 Thread Pankaj Jangid
Greg Wooledge writes: > On Tue, Feb 01, 2022 at 03:04:06PM +0530, Pankaj Jangid wrote: >> I tried to print ~40 pages using the following combination of commands: >> >> find . -name "pref***.pdf" | xargs lp >> >> The result was that a coupl

Printing lots of pages skips a few

2022-02-01 Thread Pankaj Jangid
I tried to print ~40 pages using the following combination of commands: find . -name "pref***.pdf" | xargs lp The result was that a couple of pages were missed. I tried this four times with different set of files. The number of skipped pages is not fixed but it was around 5 pages. That makes it r

Re: USB sound device present but NOT visible in ‘alsamixer’

2022-01-30 Thread Pankaj Jangid
Andrei POPESCU writes: >> Thanks Andrei. I followed the following steps: >> >> 1. Found that it is pulseaudio that is blocking the module unload. >> 2. systemctl --user stop pulseaudio.socket >> 3. systemctl --user stop pulseaudio.service >> 4. Verified that now nothing is blocking snd_usb_audio

Re: USB sound device present but NOT visible in ‘alsamixer’

2022-01-30 Thread Pankaj Jangid
Andrei POPESCU writes: > Something is keeping the module busy, but according to lsmod it's not > another module. > > In case you get any output from > > lsof | grep /dev/snd > > (this needs root or sudo) > > try stopping the applications listed in the first column (the second > column i

Re: USB sound device present but NOT visible in ‘alsamixer’

2022-01-30 Thread Pankaj Jangid
Jude DaShiell writes: > rm /var/lock/asound.state.lock > > As I stated in a previous reply, I had tried to remove this file and then did "alsactl init" but no positive result. Just this output --8<---cut here---start->8--- pankaj@anant:~$ sudo alsactl init als

Re: USB sound device present but NOT visible in ‘alsamixer’

2022-01-29 Thread Pankaj Jangid
Andrei POPESCU writes: >> During the boot process, the system detects everything. So there must be >> something in the init sequence that I can trigger manually. > > You can try to unload and reload the corresponding kernel module. Check > the output of > > lsmod | grep snd > > (it's probabl

Re: USB sound device present but NOT visible in ‘alsamixer’

2022-01-29 Thread Pankaj Jangid
Pankaj Jangid writes: > Jude DaShiell writes: > >> alsactl init I think will find everything. >> > > Then there is something else that is not letting "alsactl init" to > function properly; lock file as you suggested. But I couldn’t find > anything othe

Re: USB sound device present but NOT visible in ‘alsamixer’

2022-01-29 Thread Pankaj Jangid
Jude DaShiell writes: > alsactl init I think will find everything. > Then there is something else that is not letting "alsactl init" to function properly; lock file as you suggested. But I couldn’t find anything other than "/var/lock/asound.state.lock".

Re: Search results for linux-image and kernel-image via apt and packages.debian.org conflicts

2022-01-29 Thread Pankaj Jangid
David Wright writes: > On Sun 30 Jan 2022 at 09:29:29 (+0530), Pankaj Jangid wrote: >> When I search via apt i.e. ‘apt search linux-image’ gives results: >> >> --8<---cut here---start->8--- >> Sorting... >> Full Text Sea

Re: USB sound device present but NOT visible in ‘alsamixer’

2022-01-29 Thread Pankaj Jangid
Jude DaShiell writes: > alsactl --init > may help. > However alsa makes .lock files in /var/lock/alsa and you may find it > helpful to delete the lock file first then once card is set run alsactl > store. Those lock files sometimes prevent alsa from doing a proper > detection and change. > Thank

Search results for linux-image and kernel-image via apt and packages.debian.org conflicts

2022-01-29 Thread Pankaj Jangid
When I search via apt i.e. ‘apt search linux-image’ gives results: --8<---cut here---start->8--- Sorting... Full Text Search... linux-headers-5.10.0-10-amd64/stable 5.10.84-1 amd64 Header files for Linux 5.10.0-10-amd64 linux-headers-5.10.0-10-cloud-amd64/sta

Re: USB sound device present but NOT visible in ‘alsamixer’

2022-01-29 Thread Pankaj Jangid
"Andrew M.A. Cater" writes: >> Pankaj Jangid writes: >> >> > When I boot system afresh, the card is visible in the ‘alsamixer’ and in >> > Gnome settings as well. Shown as “Blue” S/PDIF input and output >> > devices. But when system wakes up

Re: USB sound device present but NOT visible in ‘alsamixer’

2022-01-29 Thread Pankaj Jangid
Sorry for the Wrong subject line earlier. Pankaj Jangid writes: > I have setup a new system. Apart from the display related issue, that I > had posted in another thread, I am facing an issue related to my > external ‘Yeti Blue’ sound card. I use it as Mic and Monitor audio. > &g

USB sound device present but visible in ‘alsamixer’

2022-01-28 Thread Pankaj Jangid
I have setup a new system. Apart from the display related issue, that I had posted in another thread, I am facing an issue related to my external ‘Yeti Blue’ sound card. I use it as Mic and Monitor audio. --8<---cut here---start->8--- pankaj@anant:~$ lsb_release

Re: Screen goes blank for 1-2 seconds

2022-01-28 Thread Pankaj Jangid
Pankaj Jangid writes: > UPDATE: > > I have changed the HDMI cable and since last 6hrs I have not faced that > event again. Will update in the thread if it re-appears. > > Another thing happened when I was replacing the cable. I heard the > sparking noise in the power so

Re: Screen goes blank for 1-2 seconds

2022-01-27 Thread Pankaj Jangid
Pankaj Jangid writes: > Dan Ritter writes: > >> Pankaj Jangid wrote: >>> Since I have setup a new hardware - x570 chipset, rx570 GPU - I am >>> facing a very strange problem. The monitor goes blank for a brief time, >>> like 1-2s and then comes back.

Re: Screen goes blank for 1-2 seconds

2022-01-27 Thread Pankaj Jangid
Tim Woodall writes: > For a while I was using a mac (running macOS) plugged into a dock with > two HDMI screens connected and I was having this problem occasionally. > The mac was clearly thinking the screens had "gone away" because it > would move windows around. I've now switched to a windows l

Re: Screen goes blank for 1-2 seconds

2022-01-27 Thread Pankaj Jangid
Vincent Lefevre writes: > So it could be a hardware problem, with this monitor or something > else, possibly specific to HDMI. > > I suggest that you try with another machine, another cable, etc. if > possible. Or the same machine with another monitor. I have multiple cables and an extra laptop.

Re: Screen goes blank for 1-2 seconds

2022-01-27 Thread Pankaj Jangid
"hdv@gmail" writes: > You are not the only one. I see the exact same here. The system this > happens on has an RX560 graphics card. I have been seeing these > blackouts from the start on this configuration (more than 2 years > now). > > I can confirm it is not a mechanical issue (not of cable's >

Re: Screen goes blank for 1-2 seconds

2022-01-27 Thread Pankaj Jangid
Dan Ritter writes: > Pankaj Jangid wrote: >> Since I have setup a new hardware - x570 chipset, rx570 GPU - I am >> facing a very strange problem. The monitor goes blank for a brief time, >> like 1-2s and then comes back. It is connected with the GPU using HDMI >> cab

Re: Screen goes blank for 1-2 seconds

2022-01-27 Thread Pankaj Jangid
Bijan Soleymani writes: > On 2022-01-26 11:35 p.m., Pankaj Jangid wrote> I don’t want to file > any bug report till I have some concrete data. So >> my question is - how do I diagnose such an issue and produce some data >> for debugging. So that I can hand it over to main

Re: Screen goes blank for 1-2 seconds

2022-01-27 Thread Pankaj Jangid
David Wright writes: > On Thu 27 Jan 2022 at 10:05:16 (+0530), Pankaj Jangid wrote: >> Since I have setup a new hardware - x570 chipset, rx570 GPU - I am >> facing a very strange problem. The monitor goes blank for a brief time, >> like 1-2s and then comes back. It is c

Screen goes blank for 1-2 seconds

2022-01-26 Thread Pankaj Jangid
Since I have setup a new hardware - x570 chipset, rx570 GPU - I am facing a very strange problem. The monitor goes blank for a brief time, like 1-2s and then comes back. It is connected with the GPU using HDMI cable. During that 1-2s, the machine response is fine. Whatever I type during that time

Default sound level always zero for externally plugged usb sound system

2021-12-30 Thread Pankaj Jangid
I have stuck into a strange problem. Everything was working fine a couple of days ago. I use external USB mic Yeti Blue. This has a zero latency speaker output as well. I use that for my headphones. Whenever I plug the USB in, it is detected and it becomes the default device for INPUT as well as

Re: HTML mail [was: How to improve my question in stackoverflow?]

2021-09-10 Thread Pankaj Jangid
writes: > (I'm just asking, because I've seen this complaint a couple > of times for a well-formed multipart message: personally, I'd > be OK with it, but I'd like to know how the consensus is). I feel that it is okay now to send we formatted multipart messages. As long as I am getting text part

Re: Sound input source detected but not capturing

2021-09-04 Thread Pankaj Jangid
Marko Randjelovic writes: > Your control 'Capture',0 is turned on and volume is at maximum, so > that's fine, but you don't have 'input source' control. On my machine > output of 'amixer -c0' gives among other controls the following: > > Simple mixer control 'Input Source',0 > Capabilities: cen

Re: Sound input source detected but not capturing

2021-09-04 Thread Pankaj Jangid
"Andrew M.A. Cater" writes: > Very new laptop? Does it need Intel firmware for the soundcard? > firmware-intel-sound from non-free? > > https://packages.debian.org/bullseye/firmware-intel-sound Thanks for the advice, Andy. I just tried it. But this did not work. I even rebooted the system afte

Proper way to add per-user profile under nix

2021-09-03 Thread Pankaj Jangid
I have installed ‘nix-setup-systemd’. And I was on the getting started page of nix website. In the sample app, ‘nix-build’ gave me the following error: --8<---cut here---start->8--- warning: Nix search path entry '/nix/var/nix/profiles/per-user/pankaj/channels/

Re: Sound input source detected but not capturing

2021-09-03 Thread Pankaj Jangid
Marko Randjelovic writes: > Did you make sure: > > 1. correct device is set to record from > 2. recording is enabled > 3. input volume is large enough I guess I have only one device so there is nothing to set. How is recording enabled? Do I need to add myself to some group? I am member of foll

Sound input source detected but not capturing

2021-09-03 Thread Pankaj Jangid
I have a fresh Bullseye installation on a laptop. Sound output is working. But the input is not working. The device is detected. --8<---cut here---start->8--- $ arecord -l List of CAPTURE Hardware Devices card 0: PCH [HDA Intel PCH], device 0: ALC236 A

Re: Use motherboard video-out or GPU???s

2021-03-09 Thread Pankaj Jangid
’s another research work for me. Thanks for the advice. -- Regards, Pankaj Jangid

Re: Use motherboard video-out or GPU’s

2021-03-09 Thread Pankaj Jangid
1, :1.0, :1.1, ... -- Regards, Pankaj Jangid

Re: Use motherboard video-out or GPU???s

2021-03-09 Thread Pankaj Jangid
able to utilize the things nicely now. Thanks. -- Regards, Pankaj Jangid

Re: Use motherboard video-out or GPU???s

2021-03-09 Thread Pankaj Jangid
ffer used by the DE of your > integrated graphics card. > Thanks for detailed explanation, Stefan. Your advice will definitely save my money. As I have not yet purchased a motherboard, but I have a couple of GPUs lying around unused. I am building a new workstation, taking clues from this list. -- Regards, Pankaj Jangid

Re: Use motherboard video-out or GPU’s

2021-03-09 Thread Pankaj Jangid
vailable resolution? Will it depend on where I have connected? -- Regards, Pankaj Jangid

Use motherboard video-out or GPU’s

2021-03-08 Thread Pankaj Jangid
fully configured to utilize the GPUs i.e. drivers etc. are set up. Will the graphic system be able to utilize the GPUs irrespective of where I have connected the monitor? -- Regards, Pankaj Jangid

Re: Raid 1

2021-01-25 Thread Pankaj Jangid
Thanks Andy and Linux-Fan, for the detailed reply.

Re: Raid 1

2021-01-24 Thread Pankaj Jangid
Linux-Fan writes: > * OS data bitrot is not covered, but OS single HDD failure is. > I achieve this by having OS and Swap on MDADM RAID 1 > i.e. mirrored but without ZFS. I am still learning. 1. By "by having OS and Swap on MDADM", did you mean the /boot partition and swap. 2. Why did y

Re: Help me setup home-office hardware with free software

2021-01-22 Thread Pankaj Jangid
David Christensen writes: > On 2021-01-21 21:06, Pankaj Jangid wrote: >> I am setting up one (or may be two) home-office servers. I have 6 ATI >> Radian RX580 graphics cards that are lying in cold storage. I used them >> a couple of years back to experiment with

Re: Help me setup home-office hardware with free software

2021-01-22 Thread Pankaj Jangid
package - amdgpu from non-free. It may be that if > you don't have that firmware in place that the cards won't work > properly, though they should be recognised by the motherboard. amdgpu is what I used when I was experimenting on crypto. And if there are no options then probably I’ll have to live with it. -- Regards, Pankaj Jangid GnuPG Fingerprint: 0B62 7424 3B26 A911 052A DDE6 7C95 6E6F F858 7689

Help me setup home-office hardware with free software

2021-01-21 Thread Pankaj Jangid
setup a system completely free of proprietary software. Please do reply. -- Regards, Pankaj Jangid GnuPG Fingerprint: 0B62 7424 3B26 A911 052A DDE6 7C95 6E6F F858 7689

Re: SanDisk USB stick problem

2020-12-09 Thread Pankaj Jangid
Fred writes: >> If you never complain&return those products broken-by-design, the >> companies will keep bringing them to the market. >> Stefan >> > I agree but taking something that doesn't work back to Walmart or > other large company won't inform the manufacturer about the problem. >

package knetfilter saying netfilter not supported in kernel

2001-11-11 Thread Pankaj Jangid
tions from IP:Netfilter Configuration except "Connection tracking (reqd for masq/NAT)" Where is the problem ? Is there anything which forgot to do ? regards -- Pankaj Jangid National Centre for Software Technology Alt-Email-ID: [EMAIL PROTECTED] Yahoo-msnger: pankaj_jangid GP

Printer 'HPLaserJ@mansha' - cannot open connection - Connection refused

2001-11-10 Thread Pankaj Jangid
in queue Status: removing job 'cfA993ashoka.ncst.ernet.in' - ABORT at 21:12:07.846 Can any one tell me what is the problem ? regards -- Pankaj Jangid National Centre for Software Technology Alt-Email-ID: [EMAIL PROTECTED] Yahoo-msnger: pankaj_jangid GPG Public Key : http://ashoka.ncst.erne