Pgadmin4 backup dialog Home & Back button not accessible - backup

I'm using Ubuntu 20.04 server and start pgadmin4 in a browser window on a desktop computer.
I want to save a table backup in a directory different than the standard /var/lib/pgadmin/etcetera, and would want to use the Home and Back button for that in the dialog window to chose a directory. But these buttons are greyed out, inaccessible. Why is that and how could I make these buttons operational?

Related

How can I emulate pressing CTRL+ALT+PAUSE in my Linux VM using AutoKey?

Question:
How can I emulate pressing CTRL+ALT+PAUSE in my Linux VM using AutoKey?
I tried a script that has
keyboard.send_keys("<ctrl>+<alt>+<pause>")
in it. But it does not work.
Background:
I'm using Windows 10 and RDP to log into a Fedora Linux. Switching 100 times a day.
The RDP connection runs in Windows all the time.
If the RDP window is not in the background but active, I can press CTRL+ALT+PAUSE to go into the VM (Fullscreen). If I am inside the VM I can press CTRL+ALT+PAUSE to go back to Windows.
So far so good. I want only one button. Preferably PAUSE. Windows part is ready already with following script
Pause::
If !WinExist("RDP Tool Name")
MsgBox No Window found
WinShow, RDP Tool Name
WinActivate, RDP Tool Name
Send ^!{CtrlBreak}
Return
Is the Linux part maybe not possible because the key combination is cached somewhere before my Linux system can even notice it? Any ideas?
I solved it without any other new script. I just had to edit the RDP settings: Keyboard -> Use Windows-Hotkeys -> On this Computer

Can't change document root in MAMP Pro

I have version 3.3 of MAMP Pro. When I click the icon to change the document root for one of my virtual hosts, it shows all of the blue folders in my Finder as grayed out. There is one exception, I am able to go into Applications/MAMP/htdocs and successfully select that directory.
Why are all the rest of my directories grayed out?
Thanks!
Seems a permission rights issue.
Check who is the runner of your Mamp services in settings (usually you or www/sql).
Check the permissions applied for folders you want to use as document root.
Change permissions to allow the "services runner" to read and write in this folder.
If necessary add this user in Get info window of this folder by clicking Alt and + button at the bottom left of window.
It works for me by adding _www (# World Wide Web Server) group to read and write.
Hope this helps.

Start vb.net application before windows login

On my server pc I have a simple vb.net application running on windows startup. Currently I simply added it to the StartUp folder in AppData. This works fine except I have to remotely connect and login to my server pc after each restart, before the application will start up. How do i make my application start up with out me having to login first? I know it's possible since a lot of programs dont require you to login on the machine first like teamviewer and my sql server.
You can use Window's Task Scheduler for this purpose:
Basic settings
Open the Task Scheduler (you may search for it in the Start Menu).
In the Actions panel click Create Task....
Enter a name and description (the latter is optional) for your task.
Select Run whether user is logged on or not and possibly Do not store password..
Adding a trigger
Go to the Triggers tab and click New....
In the Begin the task box select At startup.
Make sure Enable is ticked, then press OK.
Specifying an action
Go to the Actions tab and click New....
In the Action box select Start a program.
In the Program/script box enter the path to your application.
Press OK and you're done!
Read more about the Task Scheduler:
Task Scheduler - MSDN
Schedule a Task - TechNet

XAMPP installation on Win 8.1 with UAC Warning

I am trying to install Xampp win32-1.8.2 on Windows 8.1. I get a message saying" Because an activated user account User Account on your system some functions of XAMPP are possibly restricted." I've tried to change the user account control settings but still the warning is there. And the APACHE does not start. I've also disabled my IIS but still, its not working. What should I do? Thanks.
There are two things you need to check:
Ensure that your user account has administrator privilege.
Disable UAC (User Account Control) as it restricts certain administrative function needed to run a web server.
To ensure that your user account has administrator privilege, run lusrmgr.msc from the Windows Start > Run menu to bring up the Local Users and Groups Windows. Double-click on your user account that appears under Users, and verifies that it is a member of Administrators.
To disable UAC (as an administrator), from Control Panel:
Type UAC in the search field in the upper right corner.
Click Change User Account Control settings in the search results.
Drag the slider down to Never notifyand click OK.
open up the User Accounts window from Control Panel. Click on the Turn User Account Control on or off option, and un-check the checkbox.
Alternately, if you don't want to disable UAC, you will have to install XAMPP in a different folder, outside of C:\Program Files (x86), such as C:\xampp.
You can solve the issue by
Ignore the warning and Install XAMPP directly under C:/ folder. It will solve your issue
You can deactivate the UAC which i don't recommend. It's makes your PC less secure.
As ivan.sim writes in his answer
Ensure that your user account has administrator privilege.
Disable UAC(User Account Control) as it restricts certain administrative function needed to run a web server.
Install in C://xampp.
Problem with the correct answer is in the explanation of point 2., and magicandre1981 writes more about it
Moving the slider down doesn't completely disable UAC since Windows 8.
This is changed compared to Windows 7, because the new Store apps
require an active UAC. With UAC off, they no longer run.
How can we then disable UAC and install XAMPP?
Easy. Go to Registry Editor and navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
Right click EnableLUA and modify the Value data to 0.
Then restart your computer and you're ready to install XAMPP.
To disable UAC (as an administrator), from Control Panel:
Type UAC in the search button in your windows the upper right corner.
Click the (Change User Account Control settings) in the search results.
Drag the slider down and select Never notify and click OK.it will work.
There's nothing to be worried upon for this. Like other servers, install xampp somewhere outside of the default Program Files folder of Windows. It shall work fine.
I previously had wamp server installed on my machine and i never understood why wamp server installs itself outside of the default directory. Xampp cleared this, now i have both the servers lying outside the Program Files folder and are running fine.
I don't know if you are still having this problem, but I had the same problem and had a different fix than what was listed in the other answer. I did install XAMPP under C:\xampp\, and my user is an admin, but there was also something else.
I had to manually go give my user full access to the C:\Users\XAMPP\ directory. By default (at least on my machine) Windows did not give my admin user rights to this new user's directory, but this is where XAMPP stores all of it's config files. Once I gave myself full access to this, everything worked perfectly.
Hope this helps!
UPDATE!
In retrospect, I think that I must have accidentally typed in "C:\Users\XAMPP\" as the install folder during the installation process. So I think the most important thing is to make sure that the user you are actually signed into Windows as when you start XAMPP has full access to the folder that it was actually installed to.
I have faced the same issue when I tried to install xampp on windows 8.1. The problem in my system was there was no password for the current logged in user account. After creating the password then I tried to install xampp. It installed without any issue. Hope it helps someone in the feature.
You can solve this problem by installing xampp in different Drive .Instead of C Drive .
Run win+R and type msconfig
Then at tools box launch UAC
Then set it on the lowest level
Then press ok and continue your setup
Finish
change User Account Control setting via control panel
step 1 -: Go to control panel
step 2-: select 'user Accounts'
step 3-: select 'User Accounts' (Control Panel\User Accounts\User Accounts)
step 4 -: select 'Change User Account Control settings'
step 5 -: Drag the slider down to Never notify and after click ok.

Apache2 - page does not render

I recently deleted all of my Virual Host set ups on Apache to do some restructuring and now that I have everything back together whenever I visit a url to my server a windows explorer "save as" window opens instead of the page rendering. I'm not sure what I did differently this time around but this is not the behavior I was expecting and I've been unable to fix it.