|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
General OpenBSD navigation between windows
Hi All,
As a recent OpenBSD convert (from Mac OSX), I'm slowly learning the shortcut differences for mainstay apps I use such as Firefox. However I'm actually having the most difficulties with the tabbing between the main xterm window (the one that opens straight away after logging in - isn't this called "X" ?) and Firefox once I load it from the X window. That is, let's say I download a file in firefox, and then I want to return to the X window to copy the file to a different directory, I can't seem to do so without closing the Firefox app altogether. Is it possible to somehow tab between them like I used to on Mac OS using CMD-TAB or similar? |
|
|||
I am not sure about tabbing as I usually don't use it in Firefox other than opening a new tab for search purposes. However, files downloaded from Firefox are usually sent to /home/user/Download or Downloads directory as default. Therefore if configured so in your system you can .....................
open a terminal window anywhere under your control...... use the "mv" or "cp" command to re-locate the desired file to any directory in /home/user/ you choose. That being said there are people here who might understand your question better than I and of course much more able to answer your question with clarity and accuracy. |
|
|||
It depends on the Window Manager you are using. OpenBSD default is fvwm2 and that is what I am using. This WM (window manager) has 9 desktop screens, and I just switch to one that is not in use and open an Xterm there.
You can also minimize your browser to an icon and thus stopping the browser from overlapping your initinal xterm. This only works if you started firefox and put it in the background with "&". Code:
$ firefox &
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Quote:
I'm trying to implement your suggestion of switching between the 9 screen's. I need to know: (1) Whats the shortcut key combination for switching between these screens (2) Can I create multiple fvwm2 windows?, and if so how (a command typed into the command line of the first fvwm2 window?), and then how do I distribute them to the various other 9 screens? (3) Is it even possible to do tasks in each (fvwm2 and firefox) whilst they're running simultaneously because right now I've tried listing the directory to find the "Home/Downloads" folder that Firefox is allegedly saving all my files to, and it does nothing, and won't do anything till I close firefox... I havent modified any system resource settings yet from default if that might be relevant... Another small query: How do I highlight a heap of text with a single shortcut in OpenBSD. In Mac I just use CMD-A... There must be an equivalent for OpenBSD? |
|
|||
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
In fvwm(1) I have these for firefox-esr:
Code:
Key Tab A M RaiseLower Code:
+ I Module FvwmAuto 200 Raise Nop
__________________
[t]csh(1) - "An elegant shell, for a more... civilized age." - Paraphrasing Star Wars (tvtropes.org) |
|
|||
Quote:
Regarding [3]: I've created a new Xterm window that I notice I am now able to do commands that work, unlike when I tried entering commands in the original Xterm window that I started FFox out of. I've tried to find this all important FFox Downloads folder by doing an Code:
ls -l Code:
cd / In case you're wondering why I'm not trying this right now to confirm, I'm aware that from a security perspective its not wise to be in root whilst connected to the net as a general rule. I understand that in these cases I can use a "doas" command instead, to temporarily allow root for just that line that I'm entering. Is this understanding right? If so is there a quick way to set this up because when I try I get an error msg about doas not being enabled in a doas.conf file... Thanks again for your help thus far.. |
|
|||
First make things easier by customizing your shell prompt PS1
Code:
$ pwd /home/adriaan/Downloads $ cd .. $ pwd /home/adriaan $ PS1="\u@\h[\w]" $ export PS1 adriaan@lenap[~]cd Downloads adriaan@lenap[~/Downloads]ls 35018111_Xelos_32_40_Media_2w_NL.pdf LogCabinPatternInterlacedSprang.pdf ... access_point_settings.gws cross-stitch-diagram.jpg To make it permanent you can add it your .profile: Code:
driaan@lenap[~]cat .profile # $OpenBSD: dot.profile,v 1.7 2020/01/24 02:09:51 okan Exp $ # # sh/ksh initialization PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games export PATH HOME TERM PS1="\u@\h[\w]" export PS1 Please don't become root at your current skill level. It is easy to wipe out your complete system with one single typo
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Quote:
After entering $ PS1="\u@\h[\w]" $ export PS1 I found no change in the prompt other than the $ sign turning into Code:
> Quote:
Quote:
|
|
||||
Quote:
Quote:
Reading man pages is *very* important in OpenBSD. I suggest you start practising That's a PS2 prompt and it's appearance suggests that you've used mismatched quote types (ie, started with a single quote then tried to finish with a double quote or vice versa). |
|
|||
You should not copy the "$" prompt. That is probably the reason for your "<" prompt
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Quote:
Thanks nonetheless for actually posting something useful in reply (for a change). Having said this, I see you've taken the lazy approach of basically saying "refer to the manual" which is based on the lore in OBSD circles of suggestions that the man pages are far better than they actually are. In reality they're written by nerds who write only in a way that makes sense for fellow nerds, and not real ppl who are budding nerds. To give you an immediate example, I've just tried using the man pages you linked to do a search for touchpad, trackpad and mouse to try and figure out what the middle button equivalent must be on this HP Probook 6470B which only has the touchpad and two buttons above and below it (no middle button). The man pages yielded no result but for the mouse, and that clearly doesn't cover anything to do with setting up the touchpad.... Last edited by Entropic; 6th February 2023 at 03:23 AM. |
|
|||
Quote:
It is possible that I used a single and the double quote symbol when transposing the recommended line to my own xterm window, however, so I'm going to re-try it now with care for the type of quotation used. |
|
|||
Quote:
Now, regarding the finding of files I've downloaded in FFox. This remains outstanding. I've just retried finding them by going through various folders in root and when, for example, I go to root/home/downloads it only shows /noroot as a further subdirectory (No FFox downloads).. So where do I find my FFox downloads? |
|
|||
Did you look at /home/entropic/Downloads?
This assumes entropic is your user name and your home directory name.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
||||
Please accept my profuse apologies for not seeking your permission to leave the other thread. What a terrible person I am.
Quote:
Quote:
And also Quote:
The wsmouse(4) driver is the default so use an X.org configuration file to force synaptics(4) instead. I would explain in more detail but I don't want to be accused of any more egg-related infractions... |
|
|||
Quote:
It's only this secondary user that has a home/<secondary user>/Downloads DIR and it doesn't contain anything I've downloaded from FFox... So how do I find this <Root user> home/downloads DIR where the FFox downloads might be? Or any other idea where they'd be? |
|
|||
Quote:
Quote:
Furthermore, what the hell am I supposed to do with the advice contained therein. It's all description and no practical explanation of how I might actually go in and configure the touchpad via the command line... |
|
|||
Re: root
An OpenBSD install already comes with a root user/account. If you created two users then they cannot be root. What is the output of $ ls -l /home ? Or do a recursive directory listing piped through a pager: $ ls -lR /home | less
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
||||
Quote:
apropos touchpad does list the synaptics(4) man page so it doesn't seem like such a stretch to me. I will allow that the wsmouse(4) page is a little more obtuse though. Are you familiar with search engines? They can be very useful in such circumstances and would help stop you behaving like a help vampire, which would benefit everybody, including yourself.Quote:
Quote:
Code:
wsconsctl mouse.tp.tapping=1 To make the change permanent add this line to /etc/wsconsctl.conf: Code:
mouse.tp.tapping=1 And to use synaptics(4) instead of wsmouse(4) follow my instructions given in this thread: https://daemonforums.org/showthread.php?t=10902 A search engine would have found that for you (I've just used that technique to find it myself) but help vampires such as you seem allergic to such methods and prefer instead to spend their time whining and insulting those trying to help. Last edited by Head_on_a_Stick; 7th February 2023 at 07:19 AM. Reason: corrected wsconscrtl command, oops :-) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dualboot(Windows, OpenBSD) * FDE | beiroot | OpenBSD Installation and Upgrading | 5 | 17th May 2017 10:29 AM |
Hosting a Windows VM on OpenBSD | girarde | OpenBSD Packages and Ports | 2 | 27th December 2015 12:42 AM |
New OpenBSD installation on HDD with Windows | cableguy | OpenBSD Installation and Upgrading | 8 | 3rd April 2014 10:57 PM |
WOL windows 7 from openbsd | sputnik | General software and network | 0 | 9th April 2013 08:18 AM |
FAQ: OpenBSD General | Carpetsmoker | OpenBSD General | 0 | 1st May 2008 09:15 PM |