You are not logged in.
Python3 port of wicd is already in Debian experimental repository.
Anyway removing python2 from every distro is grave mistake because it makes python a terrible choice for long term development.
Anyone who recommend flatpak should note that flatpak is a big security hole itself by design. Flatpak is also SystemD-exclusive package manager. Snap is the same thing as flatpak. As for Appimage it's important to understand that Appimage is just an auxiliary way of software distribution. Consider Appimage as an advanced tarball. Of course, tarball is simpler and way more open thing than Appimage.
There is a problem: corporations are trying to force way of thinking incompatible with sane technical solutions.
It's FUD from Microsoft related company. X.org is still alive.
Well, here are 2 spots of constructive criticism:
1. How about offering a graphical installer as an option?
2. How about setting the system up so as soon as it is installed it can detect WiFi?
I don't know what you have installed. Devuan has both of features you mentioned in the comment.
In any case, there was no driver with OpenGL support - I need OpenGL for Dark Table - for my AMD HD7970 a year ago, because AMD did not upgrade its drivers to the version of X that Ceres used. However, NVIDIA's drivers work well. OpenGL also works well with NVIDIA's drivers and NVIDA usually has the habit of upgrading its drivers considerably longer than AMD does.
And about freedom and choise. The only wish I have is a working graphic card that last more than a few years.Must tell: My mom has my old computer from 2003 with ASCII installed. The graphic card is a NVIDIA GEFORCE 4 TI 4200 and there are still working proprietary drivers for it.
I think you're spreading misinformation. Ceres has one of newest drivers for AMD videocards including Radeon HD 7970. It has the best OpenGL support ever.
Thanks for the tip on Emacs.
I dont have the lucid version on the apt-get update system. So I removed what I had and installed everything over. This time I chose emacs in the search list and nothing more and it went on fine and now I have no errors.
Thanks for the tip. As things are good now.
Looks like it was a problem with repos because according to apt-get there is emacs-lucid in the Ceres repo:
$ apt-cache search emacs-lucid
emacs-lucid - GNU Emacs editor (with Lucid GUI support)
I suspect you just couldn't get necessary packages, especially the ones related to d-bus and GTK. I think that was the reason why you had a problem with GTK UI for Emacs.
Head_on_a_Stick wrote:Well the situation is markedly better for new AMD cards because AMD themselves are effectively writing the open source drivers and they now out-perform the proprietary version for most tasks.
As long as the AMD card is new... But my experience say that NVIDIA upgrade theire drivers to support new X versions for a longer lasting period than AMD does.
Instead of supporting proprietary fglrx driver AMD preferred to support fully featured free driver. It's xserver-xorg-video-radeon and Mesa in Devuan repository. It works even with very old AMD GPUs.
Nvidia don't support GNU/Linux. Proprietary blob is total garbage. It doesn't even support OpenGL (there is NvGL, which is NOT OpenGL). So downgrading to nvidia is very big mistake. Nvidia hate everything related to freedom and choice.
I suggest to install emacs-lucid instead of emacs-gtk. It won't solve entire problem because you have to install some of additional packages but it will solve the problem in case of GNU Emacs because GTK based GUI is trash.
The only appropriate driver for your videocard is xserver-xorg-video-radeon from Devuan repository.
Altoid wrote:How is it that this actually slipped by Torvalds?
Some time ago, the world+dog endlessly busted Torvald's balls because he shouted and cursed a number of dimwitt/AH coders in order to keep a tight ship.
But it does not seem that anyone is saying absolutely anything about this nonsense.Call me what you will, but I think that if this type of thing is not stopped ASAP, the Linux kernel as we know it will end up going to the dogs.
A.
Linus Torvalds is not developer - he is a small corporate manager today.
Try the following command as root:
dpkg-reconfigure nvidia-kernel-dkms
ToxicExMachina wrote:You don't need to run TRIM command at all if you mount filesystem with 'discard' option.
The discard option slows down the drive because TRIM is applied for all I/O operations.
Any write operation is slowing down an SSD due to physical limitations. In practice the 'discard' option is just convenient thing with insignificant overhead.
How did you install the driver?
What about nouveau?
You don't need to run TRIM command at all if you mount filesystem with 'discard' option.
Are you sure you have downloaded firmware correctly?
ToxicExMachina wrote:If you want to learn MCU programming avoid Arduino. Arduino may be a good solution only for the case of noskill dirty and fast primitive things like led blinking.
TBH i'm not sure what i want to learn... no more than necessary to get the job done, i think, seeing as i'm old as dirt, and have lots of projects to get dealt with before i'm done on this planet.
I'm deeply involved in what one might call the "off-grid/self-sufficiency" thing, seeing as how i've been off-grid since 2003 and solar since 2006, and prefer to be as self-sufficient as possible. I'm currently working on eradicating all use of propane here, since it's an external dependency. I'm getting close, i haven't used propane for cooking in maybe a year, but it still runs the on-demand hot-water-heater, so i'm working on adding an on-demand electric-hot-water-heater. Since i'm doing this microwave/induction-cooktop/smart-oven business and running a standard 120v refrigerator on a 4.8kwh system, it needs to be fairly efficient.
Anyway, i found that the idle-overhead for my inverter was eating my lunch, so i set up a remote control to turn it on/off when it was needed. And when the cheap 12v fridge i was using went tits-up, i went to a 120v fridge. Then i discovered it was using more startup power than was workable given the overall system configuration (compressor), i hooked up an "Inkbird-All-Purpose-Temperature-Controller-ITC-1000" to the "INSMA Wireless RF Switch" that turns the inverter on/off, so that the inverter would start whenever the fridge temp is out-of-range. That whole business works reasonably well, but i'm pushing the limits of what can be done with one-way-communication, and sticking these off-the-shelf components together is a kludge, so i'm looking to get closer to the hardware so to speak, something more reliable and easier to use.
As mentioned, i have a starter Arduino kit, and also a book "Practical Electronics For Inventors" which i've barely cracked open, but it looks like it will supplement what little i remember from the EE classes required when i was in CSc back in the day. From what i've gathered there are numerous u-ctlrs on the market, Arduino, Raspberry-Pi, and whatever one is in the Moto-Z4, which i was thinking of using as a control unit before i got disgusted with the thing.
I'm not sure which one is going to be best, but i'll spend a little time experimenting with the Arduino while i'm learning what i can from the book. There are a number of projects that i have in mind, from thermo-electric fridge to a battery charger and suchlike. I suspect that the Raspberry-Pi is the one that'll make it easiest to monitor the system remotely and collect data, but it's early days yet. I totally suck at installing and configuring linux, but i'm not seeing the Arduino as quite that capable.
ToxicExMachina wrote:I also recommend to buy a cheap ISP for flashing the microcontroller (bootloader in Arduino is very unreliable thing). USBasp is suitable device. It's very cheap (the price is about 1-3$) and simple.
ISP is "internet service provider", right? New meaning, or typo?
I'm a bit confused, AVR seems to be a specific series of microcontrollers, but it also seems associated with Arduino somehow.
Initially Arduino is 8-bit AVR-based board series with Arduino IDE. Form-factor of al of Arduino boards except arduino nano or similar ones is awful: it's large for final device and microcontroller is just soldered in. Thus it's a bad solution even as development board. For example, TI Launchpad is much better solution as devkit because it's full featured development board (it's based on energy efficient 16-bit MSP430 microcontroller). Some of new Arduino boards are based on ARM Cortex M core.
Arduino IDE is a nightmare. Yes - it's simple. But it's weak and doesn't let to learn anything. For example, from Arduino you won't understand how to send a signal through a pin: it's inside digitalWrite() function. This function is surprisigly inefficient and depending on version of Arduino IDE has different maximum frequency so it's hard to get predictable behavior when you need to use this board seriously. Arduino IDE doesn't let to build optimized code because it just doesn't give any way to set compiler options. Arduino IDE is also much more complicated than pure C with avr-libc. With Arduino IDE you'l never know how do you use CPU pins whereas in C with avr-libc you always know which port you use for sending a signal to a specific pin or group of pins simultaneously.
If you need data acquisition system you may look at ready-to-use solutions. You can find them as "USB ADC" or "External ADC". Search for devices with UART support: in this case you can use terminal for obtaining necessary data.
Raspberry Pi is also technically terrible solution. I don't know who designed RPi board but it's totally horrible. It's better to find industrial grade board with GNU/Linux support. You can practice with Raspberry Pi but be ready: Raspberry Pi will be broken eventually because it was not designed as a reliable device. Usually it ruining filesystem on SD card.
ISP - In-System programmer. It's a tool for firmware flashing. By the way, you can use Arduino board as ISP.
In a nutshell, what's the simplest setup that'll let me control a bunch of inputs/outputs, maintain two-way wireless-communication with something that has a fullscreen interface of some kind, and write data logs that can be analyzed by the control system?
The simplest solution is ESP32 module with display. It has MCU, wireless communication and I/O pins.
Another solution is a board suitable for current task, NRF24L01 or similar module and a display for the board. I suppose you'l need an SD card slot. There are a lot of boards with STM32 (ARM Cortex M0-M4) microcontrollers. Recently STMicroelectronics made interesting thing: https://www.st.com/en/microcontrollers- … eries.html
Two simple steps:
1. First, you have to add a new repository config into /etc/apt/sources.list.d so you don't need to modify sources.list at all. This is very easy way to add new repository as a separated config.
2. According to "man apt-get" you can use the following command:
apt-get -t beowulf --download-only install package_name
Another ways:
1) You can use custom config for apt-get. The command line key is "-c". In this the config where you can specify configuration files like another sources.list. I think in this case it's inefficient way but it may be a good one for some situations.
2) There is a tool called aptly. You can even mirror a subset of repository with it.
3) Go to any Devuan mirror via web browser and download package manually.
If you want to learn MCU programming avoid Arduino. Arduino may be a good solution only for the case of noskill dirty and fast primitive things like led blinking. I also recommend to buy a cheap ISP for flashing the microcontroller (bootloader in Arduino is very unreliable thing). USBasp is suitable device. It's very cheap (the price is about 1-3$) and simple.
apt-get install gcc-avr libc-avr avrdude
apt-get install any-text-editor-or-ide-like-code-blocks
AVR libc official site and manual: https://www.nongnu.org/avr-libc/
A simple example of AVR programming: https://www.tldp.org/HOWTO/Avr-Microcon … /x207.html
Another example of AVR programming basics: https://www.swharden.com/wp/2013-01-06- … -in-linux/
However, if you don't want to program microcontrollers you can just install Arduino IDE from repository and use it before you drop it after a couple of weeks or even a month. You can also download latest version of Arduino IDE from official website, unpack and run it.
1. Boot into recovery mode of installer CD/DVD/USBstick.
2. Choose root partition for chroot
3. update-grub
The simplest way to trim information from the log is awk
I suppose in the "Samsung_M2020_Series groucho 109 [27/Dec/2018:08:37:02 -0300] 1 1 - localhost H:\Desktop\flower_sm.jpg A4 -" entry the 6th word (in this case it's "1") is the number of printed pages. Therefore the following command will give a text table with date/time and amount of printed pages found by the word "A4":
cat /var/log/cups/page_log | grep A4 | awk '{print $4$5 " " $6}' > trimmed_log.txt
You can process it in spreadsheet.
If you want to get total amount of pages printed by the printer you can use the following command:
cat /var/log/cups/page_log | grep A4 | awk '{pages += $6} END {print pages}'
In this simple example grep is a tool used to find log entries according to defined word and awk is a tool used to parse and write every entry found by grep in shorter format. The default field separator is space. You can modify expressions from the example for best result.
Hello:
ToxicExMachina wrote:... use grep and/or awk for getting only necessary information from that log file.
Hmmm ...
The data I'm looking for is the sum of a set of numbers whose values I ignore and are (in this case) listed in 400 consecutive lines, one line per print job.
I don't see how grep could help me.I thought there could be some script or front end I have not been able to find that would use the log file as input and get the total pages printed.
Thanks for your input.
Cheers,
A.
May be I can help but I need a sample of log. I am not sure /var/log/cups/page_log is the correct log because in my case it has no any contents (the machine with working printer).
I had intended to install Devuan in an empty machine, using an iso file on a USB stick, and of course it is still possible to do that; however, I am interested in finding our whether one can make the iso file accessible to the existing Ubuntu system, and install Devuan by overwriting from there. Has anyone any ideas on that?
It's extremely easy if you have a home filesystem on different partition. Just perform clean installation overwriting existing system and don't format partition with home directories. The best way is to boot iso from usb stick. Another way is to make the root filesystem via debootstrap. In this case you don't even need an iso file with installer but you'l need to reconfigure GRUB or you won't be able to boot Devuan. You can also use qemu.
Hello:
ToxicExMachina wrote:.... in completed jobs of the printer ...
Yes, I know.
Like I mention in my post:
There's the log at http://localhost:631/admin/log/page_log which is read from /var/log/cups/page_log ...
But there are more than 400 completed jobs and I only need the amount of pages printed which I cannot seem to be able to get without some time consuming editing of the log file.
Thanks for your input.
A.
You can use grep and/or awk for getting only necessary information from that log file.
Try too find it in completed jobs of the printer (CUPS web interface). You will see table with information you need.
Looks like you can install this Softmaker FreeOffice with commands from the manual you have referred. However, Libreoffice is pretty compatible with MS Office. Anyway I recommend to request files in the old DOC format if it's possible. This is the most compatible way (except of PDF). The problem is MS Office is incompatible even with itself because there is no 100% defined DOCX format: every release of MS Office saves documents in brand new DOCX without specifications and descriptions.