Search results

  1. B

    Switching between wifi signals already added to wpa_supplicant

    Hello, This is something really basic, but I cannot find a simple answer. Assume that I am in an area with two wifi signals, Alpha and Beta. I have already added SSIDs and passphrases to wpa_supplicant.conf, so principially I can access both of them. But the system has connected me to Alpha...
  2. B

    Other How do I download and archive mails from an old account?

    Hello, I have several thousands of emails on my Gmail account which is still active, but I haven't been using it for years. I would like to: * download all the emails to maildir (or similar) on my hard disk, and * be able to index, browse and read them, but preferably without importing them...
  3. B

    Solved Win98 from within FreeBSD to run a specific app

    Insane! Thank you, it worked. It was a case of missing DLL and 32-bit architecture. I installed the DLL immediately, but did not understand that I have to change the architecture setting as well, because error messages never mentioned 32-vs-64 bit issue. Actually, it works better now than on...
  4. B

    Solved Win98 from within FreeBSD to run a specific app

    Hello, I'd like to ask for some guidance about whether something is doable and will be running effectively. If yes, I will try to tinker with it, if not, I will look for an alternative. Please note that I have no experience with virtualization whatsoever, but will happy to learn it on my own, if...
  5. B

    Solved Speakers do not work on Thinkpad T430s (headphones do)

    Thank you! It is very embarassing to admit, but it was a case of muted speakers all along. To my defense, I did crank up mixer several times, but apparently my mistake was that I never increase both vol and pcm. Now I see (hear...) that they keep down each other hard, so that even when both are...
  6. B

    Solved Speakers do not work on Thinkpad T430s (headphones do)

    Hello, I'm running FreeBSD 13.2 on Thinkpad T430s, and I cannot get speakers to produce sound. Specifically, I am talking about YouTube run from within Chromium – but speakers are silent in other applications as well (beep and music players). Headphones do work if I first run sysctl...
  7. B

    Noticing changes in files

    I've noticed that XFCE is very good at noticing changes in files. Thunar updates the folder window immediately if I do some changes to the files from within a terminal. Evince updates the PDF file immediately if I export it anew from markdown. This is a feature that really helps with my work...
  8. B

    Shell Daemonize a program through rc.d script

    Thanks for the replies, but: Adding -f to daemon doesn't solve my problem, because it is not daemon that flushes the output; it is onedrive itself. Anyway, flushing with messages is not the issue here. The issue is that onedrive runs in the foreground and blocks the login. Moving the script to...
  9. B

    Shell Daemonize a program through rc.d script

    I am still struggling to create a working rc.d script for onedrive. covacat has explained that I need to explicitly define environment variables, but now I am facing another issue: rc.d starts onedrive exactly as it should, but the program starts and stays in the foreground. Meaning: During the...
  10. B

    Solved Running a rc.d script as another user

    Thank you. However, it did not help. You have basically adviced me to move the parameters out of the script itself into the rc.conf, but it didn't make any difference. However, I started to experiment with id to see how exactly the command is being run, and it was indeed run as by the user...
  11. B

    Solved Running a rc.d script as another user

    Hello, I am trying to set up a daemon for onedrive. It needs to be run as a specific user, because onedrive has to read the authentication token from the user home directory, and then synchronize into that directory. However, ${onedrived_user="borysj"} does not do the trick. I see that the...
  12. B

    Network security features for desktop

    Thank you, I couldn't find it by searching.
  13. B

    Network security features for desktop

    Hello, this is probably a naïve question, but I am wondering: 1) Are there some network security features that I should turn on if I am using my computer as plain desktop with a dynamic IP behind a router? 2) Are there some default network security features that I should turn off in this...
  14. B

    Solved How to set the initial brightness in X11, or what are XF86MonBrightness doing exactly

    OK, I have finally succeeded. :) First, I have ascertained with rcorder /etc/rc.d/* that the script is really running at startup. It was, but very early. So, I have added full path for start_cmd in case environment was not set so early in the startup process. It didn't help, but then I...
  15. B

    How to copy code from docs to an editor

    Alternatively you can save it to temp.txt, and then run sed -i "s|^# ||" temp.txt and the copy the content of modified temp.txt into wherever you want it to be. Yet another alternative would be to open the file in vim, place cursor on the first #, press Ctrl+V, go right once and down to the...
  16. B

    Solved How to set the initial brightness in X11, or what are XF86MonBrightness doing exactly

    I read about practical rc.d scripting, and I have created a script /etc/reduce_backlight like this: #!/bin/sh . /etc/rc.subr name="reduce_backlight" rcvar="reduce_backlight_enable" start_cmd="${name}_start" stop_cmd=":" load_rc_config $name : ${reduce_backlight_enable:=yes}...
  17. B

    Executing commands on a different partition.

    Do you mean that you have a command / application which is somewhere else than /bin, /usr/local/bin, and so on? You can execute it directly by typing ./some/another/path/command after giving execute permission to the command (chmod a+x command). Or you can first add the permission to the...
  18. B

    Solved How to set the initial brightness in X11, or what are XF86MonBrightness doing exactly

    Actually, I do not have these settings in my sysctl, because acpi_video_load is unset in load.conf. I could have set it, but then again, brightness was changing without it, so I kept looking among things I already have. And then I found backlight (not xbacklight) which does exactly what I want...
  19. B

    Solved How to set the initial brightness in X11, or what are XF86MonBrightness doing exactly

    Hello, I am running FreeBSD 13.2 on Thinkpad T430s with i3wm. The function keys for regulating brightness, Fn+F8 and Fn+F9 (XF86MonBrightnessDown and Up), are working out-of-the-box (lucky me). However, I would like to find out what command exactly they are sending to the system when pressed...
  20. B

    Other Wiping hard disk using FreeBSD boot pendrive

    Thank you so much for these great advice. Especially I appreciate yours, cy@. Haven't thought about converting the old disk to an external backup drive. Long live recycling. :)
Back
Top