Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

2 votes
0 answers
8755 views
A fast way to sync local files with Proton Drive? (here exploring rclone)
I want to create a sync system between newly available Proton Drive and my local filesystem. However, since it's very new, it's only barely supported by `rclone` (I'm lucky to be on openSUSE Tumbleweed because rclone in my other distros don't support it), and it doesn't have a sync client for Linux...
I want to create a sync system between newly available Proton Drive and my local filesystem. However, since it's very new, it's only barely supported by rclone (I'm lucky to be on openSUSE Tumbleweed because rclone in my other distros don't support it), and it doesn't have a sync client for Linux yet. I've considered 3 options: 1. mount the whole drive using rclone mount and work always online, but that's slow and sluggish and requires constant Internet connection; 2. mount drive with rclone mount and sync the folders I need using the tool [unison](https://github.com/bcpierce00/unison) . But my testing shows that it can take a very long time for the software to browse for changes... Even though when the scanning is done it's pretty fast for the correct/copy; 3. use rclone bisync. But it's advertized to be in testing and not very stable, and anyways I have the same problem that I have with unison, it's very slow to browse for changes... So if anyone has a better idea how to do that ("that" being setting up a sync system where when I change/add/remove something either on the computer or the drive, the change propagates to the other side immediately — or at least, fast, like, under a minute delay), please help!
rclone v1.64.2
- os/version: opensuse-tumbleweed (64 bit)
- os/kernel: 6.5.9-1-default (x86_64)
- os/type: linux
- os/arch: amd64
- go/versiorclone v1.64.2
- os/version: opensuse-tumbleweed (64 bit)
- os/kernel: 6.5.9-1-default (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.21.3
- go/linking: dynamic
- go/tags: none
n: go1.21.3
- go/linking: dynamic
- go/tags: none
That's the latest version of rclone. I'm using Proton Drive's cloud storage solution. rclone config redacted gives:
[proton]
type = protondrive
username = my.username
password = XXX
mailbox_password = XXX
client_uid = XXX
client_access_token = XXX
client_refresh_token = XXX
client_salted_key_pass = XXX
replace_existing_draft = true
### Double check the config for sensitive info before posting publicly
Ul Tome (137 rep)
Nov 1, 2023, 06:25 PM • Last activity: Nov 1, 2023, 06:30 PM
3 votes
3 answers
2088 views
How can I disable my Lenovo touchpad with i3?
I would like to disable my touchpad with i3. Previously I was using XFCE and I was using the GUI to do this. How can I do this in i3 too?
I would like to disable my touchpad with i3. Previously I was using XFCE and I was using the GUI to do this. How can I do this in i3 too?
Evan Carroll (34663 rep)
Nov 24, 2018, 02:19 AM • Last activity: Oct 10, 2023, 10:14 AM
3 votes
2 answers
2526 views
Command to toggle on/off touchpad in Xfce
I have found similar questions: [How can I set a keyboard shortcut to toggle on/off e.g. the trackpad?][1] and [How to set a toggle on linux (True or False) bash command?][2] But these are gnome-based, their solutions use `gsettings` commands, which don't work in Xfce (like `org.gnome.settings-daemo...
I have found similar questions: How can I set a keyboard shortcut to toggle on/off e.g. the trackpad? and How to set a toggle on linux (True or False) bash command? But these are gnome-based, their solutions use gsettings commands, which don't work in Xfce (like org.gnome.settings-daemon.peripherals.touchpad touchpad-enabled). The commands I use in Xfce are synclient touchpadoff=1 and synclient touchpadoff=0. How to adjust those in a command that would opertate like an on/off toggle?
cipricus (1779 rep)
Jan 5, 2021, 11:40 AM • Last activity: May 15, 2022, 01:22 AM
1 votes
2 answers
1838 views
How to add mega repo in Arch Linux
How can I add the Mega repository to Arch Linux? Already add this in my `pacman.conf` [DEB_Arch_Extra] SigLevel = Required TrustedOnly Server = https://mega.nz/linux/MEGAsync/Arch_Extra/$arch But I am getting this error: ❯ nocorrect sudo pacman -Syyu [sudo] password for scarlet: error: DEB_Arch_Extr...
How can I add the Mega repository to Arch Linux? Already add this in my pacman.conf [DEB_Arch_Extra] SigLevel = Required TrustedOnly Server = https://mega.nz/linux/MEGAsync/Arch_Extra/$arch But I am getting this error: ❯ nocorrect sudo pacman -Syyu [sudo] password for scarlet: error: DEB_Arch_Extra: signature from "MegaLimited " is unknown trust :: Synchronizing package databases... kde-unstable 122.0 KiB 74.2 KiB/s 00:02 [#######################################################] 100% gnome-unstable 45.0 B 109 B/s 00:00 [#######################################################] 100% core 136.5 KiB 136 KiB/s 00:01 [#######################################################] 100% extra 1569.9 KiB 716 KiB/s 00:02 [#######################################################] 100% community 5.8 MiB 1737 KiB/s 00:03 [#######################################################] 100% multilib 148.2 KiB 136 KiB/s 00:01 [#######################################################] 100% archzfs 14.1 KiB 16.4 KiB/s 00:01 [#######################################################] 100% DEB_Arch_Extra 3.1 KiB 2.51 KiB/s 00:01 [#######################################################] 100% error: DEB_Arch_Extra: signature from "MegaLimited " is unknown trust error: failed to synchronize all databases (invalid or corrupted database (PGP signature)) /17.4s My system: ❯ uname -a Linux lenovo 5.15.3-arch1-1 #1 SMP PREEMPT Thu, 18 Nov 2021 22:23:08 +0000 x86_64 GNU/Linux /0.1s What I have tried: - I found this issue-with-signature-from-mega-deb-arch-extra-fails-to-update but I can't try the suggested solution since I can't install Manjaro keys on my Arch system (or can I? I am not sure): This is possible solution suggested - don't want to use AUR because it fails to build - the binary AUR though installs successfully lacks plugins support - plugins in separate AUR are outdated
Madhubala (304 rep)
Nov 22, 2021, 07:23 AM • Last activity: Nov 24, 2021, 01:24 AM
0 votes
1 answers
230 views
How to disable left edge scrolling in touchpad with synclient command?
I have disabled the right edge scrolling in touchpad by running: ``` synclient VertEdgeScroll=0 ``` But, this only disables the right edge scrolling, my left edge can still scroll. I have no ideas why. I even execute `synclient HorizEdgeScroll=0` which obviously doesn't help at all. Can anyone let m...
I have disabled the right edge scrolling in touchpad by running:
synclient VertEdgeScroll=0
But, this only disables the right edge scrolling, my left edge can still scroll. I have no ideas why. I even execute synclient HorizEdgeScroll=0 which obviously doesn't help at all. Can anyone let me know how to disable the LEFT edge scrolling? Thanks a lot.
sgon00 (457 rep)
Apr 21, 2020, 12:21 PM • Last activity: Apr 21, 2020, 12:26 PM
18 votes
1 answers
38044 views
synclient does not find synaptics properties despite Synaptics Touchpad in xinput list
I upgraded my Fedora notebook to Fedora 22 yesterday. With that, synclient stopped working: > Couldn't find synaptics properties. No synaptics driver loaded? Nevertheless, ``xinput list`` shows: ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]...
I upgraded my Fedora notebook to Fedora 22 yesterday. With that, synclient stopped working: > Couldn't find synaptics properties. No synaptics driver loaded? Nevertheless, `xinput list` shows: ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ SynPS/2 Synaptics TouchPad id=12 [slave pointer (2)] […] Is this a configuration issue on my side (I am using the `awesome` window manager running under X11 as far as I can tell (not sure if Fedora does some implicit magic since they introduced wayland in some parts with the 22 release)) or does this look like a distribution bug? If it is a configuration issue on my side, how can I fix it? --- This also happens on Debian and a lot of other newer systems; for the why, see the answer.
Jonas Schäfer (1803 rep)
Jun 17, 2015, 05:57 AM • Last activity: Jul 15, 2019, 01:53 PM
7 votes
4 answers
20462 views
How can I enable/disable the synaptics touchpad in Debian 9 with libinput?
I recently upgraded from Debian 8, to Debian 9 stretch. Apparently they no longer utilize `synaptics` /synclient to control touch-pad input. What I am looking for is a simple command to enable or disable touch-pad functionality on demand, with `libinput`. With the synaptics drivers, I used the comma...
I recently upgraded from Debian 8, to Debian 9 stretch. Apparently they no longer utilize synaptics /synclient to control touch-pad input. What I am looking for is a simple command to enable or disable touch-pad functionality on demand, with libinput. With the synaptics drivers, I used the command, synclient TouchpadOff=1 to disable the 'pad', and synclient TouchpadOff=0 when I wanted it back on. Simple and direct. I frequently spend long periods typing with only infrequent use of the mouse, and the touchpad picks up unintentional input, tossing my curser all over the document. I don't want to do a permanent disable, nor do I want an automated disable (IE, whenever a USB mouse is detected, or whenever typing is detected), I just want it on when its on, and off when I want it off. Just a simple command to enable or disable the pad on demand. Can anyone help me with this? I have been searching high and low for some way to do this without having to make permanent changes to the system, and can't seem to find anything. Doesn't anyone else do things like this? I'd really rather not have to go back to Debian 8 just to have that command capability back, but I am actually considering it, as ridiculous as that seems. I would prefer a terminal command solution, but GUI is fine too, if anyone knows of something. I'll take almost anything at this point, I think The key here is a SIMPLE, toggle-on/off solution. I can't be the only person trying to figure this out.
bitbox (131 rep)
Aug 29, 2017, 12:21 AM • Last activity: Apr 5, 2019, 10:36 PM
15 votes
1 answers
8007 views
Thinkpad disable TrackPoint
I have a new thinkpad x220t running Arch Linux. There seems to be a problem in the products hardware architecture as the TrackPoint is moving when you convert the thinkpad into tablet mode and put pressure on the screen. Therefore I'd like to toggle the TrackPoint using a little bash script called b...
I have a new thinkpad x220t running Arch Linux. There seems to be a problem in the products hardware architecture as the TrackPoint is moving when you convert the thinkpad into tablet mode and put pressure on the screen. Therefore I'd like to toggle the TrackPoint using a little bash script called by ACPId. I so far wrote this code snippet which disables the TouchPad, but not the TrackPoint (aka. Clit Mouse). #!/bin/sh status=synclient|awk '/TouchpadOff/{printf$3}' status=expr \( $status + 1 \) \% 2 synclient TouchpadOff=$status Is there any possibility to toggle the TrackPoint Status using a bash script?
Momo (755 rep)
Feb 28, 2012, 09:20 PM • Last activity: Apr 3, 2017, 11:16 PM
5 votes
1 answers
1551 views
How to create script that toggles one value in synclient?
I use `synclient touchpadoff=1` to disable touchpad and `synclient touchpadoff=0` to enable touchpad. $synclient | grep TouchpadOff TouchpadOff = 1 I'd like to create script that will toggle this value. Then I will bind to key in OpenBox.
I use synclient touchpadoff=1 to disable touchpad and synclient touchpadoff=0 to enable touchpad. $synclient | grep TouchpadOff TouchpadOff = 1 I'd like to create script that will toggle this value. Then I will bind to key in OpenBox.
kravemir (4386 rep)
Oct 10, 2012, 08:38 AM • Last activity: Mar 11, 2017, 12:53 PM
1 votes
0 answers
828 views
Add real dead zone in Synaptics Touchpad Driver
I know this has been asked a lot before, but after 2 days of reading I still have not found a fix. I have a new Dell XPS 15 which does not have physical buttons on the touchpad. The problem is that if I rest my finger on the button area in order to be ready to click, the synaptics driver detects it(...
I know this has been asked a lot before, but after 2 days of reading I still have not found a fix. I have a new Dell XPS 15 which does not have physical buttons on the touchpad. The problem is that if I rest my finger on the button area in order to be ready to click, the synaptics driver detects it(while it should not) and does not allow me to operate with another finger on the touchpad. Other functions such as drag and drop do not work as well. So far I have tried fixes such as adjusting AreaBottomEdge option in synaptics but that merely removes the functionality to register movements below the specified edge - i.e. finger movements are not detected but finger touching the pad is detected. Another fix I tried is sudo modprobe -r psmouse sudo modprobe psmouse proto=imps This made the driver stop detecting any finger in the bottom area but removed all scrolling functionality. On a separate note - I would really appreciate if somebody explains what proto=imps does and if there is any way I can bring back the scrolling functionality. Also tried proto=bare but result was the same. Also read through this bug report https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-synaptics/+bug/1026046 (note I am using SlackWare, not Ubuntu or Debian) but all the suggested fixes seem really messy(removing other functionalities) and os-version specific. It has been almost 5 years since this problem started. Has anyone found a stable fix?
niko (111 rep)
Jul 3, 2016, 10:32 AM
3 votes
1 answers
1824 views
Touchpad absolute coordinates
Since a while ago, `synclient` no longer supports the `-m` (monitor) option (that could be used to obtain absolute coordinates from a touchpad). I'm looking for a good, portable way to obtain absolute coordinates from a touchpad that doesn't require obsolete versions of `synclient`. Does anybody kno...
Since a while ago, synclient no longer supports the -m (monitor) option (that could be used to obtain absolute coordinates from a touchpad). I'm looking for a good, portable way to obtain absolute coordinates from a touchpad that doesn't require obsolete versions of synclient. Does anybody know of such a way?
nijoakim (281 rep)
Dec 30, 2014, 12:37 AM • Last activity: Mar 27, 2016, 04:19 PM
0 votes
1 answers
493 views
Synaptics touchpad loses its settings intermittently
From time to time, the Synaptics touchpad on my Samsung N145 Plus will lose "advanced features", like scroll area on the right side. I used to have a script to take care of this, IIRC by doing sudo rmmod psmouse sudo modprobe psmouse But now, this workaround is not working. Enabling and disabling th...
From time to time, the Synaptics touchpad on my Samsung N145 Plus will lose "advanced features", like scroll area on the right side. I used to have a script to take care of this, IIRC by doing sudo rmmod psmouse sudo modprobe psmouse But now, this workaround is not working. Enabling and disabling the touchpad via the hotkey doesn't work, either. The problem is also wider, because the physical second (right) button and tap-to-click are also disabled. I am using CrunchBang Linux, based on Debian 7 wheezy. grep "TouchPad: buttons:" /var/log/Xorg.0.log gives synaptics: SynPS/2 Synaptics TouchPad: buttons: left right double triple and synclient -l gives, among other things, TapButton1 = 0 EdgeMotionUseAlways = 0 VertEdgeScroll = 0 How can I re-enable the right button, tapping for left-click and vertical soft-scrolling on the touchpad, without resorting to a reboot?
appas (211 rep)
May 12, 2015, 02:31 PM • Last activity: Mar 27, 2016, 04:19 PM
8 votes
1 answers
721 views
Power saving enables touchpad
I've installed power saving packages (bumblebee, laptop-mode-tools, and cpufreq) to my laptop with Debian Wheezy. Thanks to that I decrease power usage from 32W to 10W. But now I faced the issue that I can't disable touchpad. I wrote simple script that inverts state of touch-pad: #!/bin/sh synclient...
I've installed power saving packages (bumblebee, laptop-mode-tools, and cpufreq) to my laptop with Debian Wheezy. Thanks to that I decrease power usage from 32W to 10W. But now I faced the issue that I can't disable touchpad. I wrote simple script that inverts state of touch-pad: #!/bin/sh synclient TouchpadOff=synclient | grep TouchpadOff | awk '{print !$3}' When I launch this script, it inverts state of touch-pad as expected, but in 5 seconds TouchpadOff is rewritten with value "2", and touch-pad becomes active again. I suppose that it's laptop-mode-tools who modifies TouchpadOff variable. I tried to find related settings in laptop-mode-tools, but didn't find anything. Any ideas how to determine who modifies TouchpadOff variable and how to disable such a modification?
Dmitriy Sukharev (191 rep)
Aug 25, 2012, 03:19 PM • Last activity: Jan 20, 2013, 10:25 AM
1 votes
1 answers
2139 views
Xmodmap on bashrc not working
> **Possible Duplicate:** > [Why won’t my xmodmap command run on startup/login?](https://unix.stackexchange.com/questions/1677/why-wont-my-xmodmap-command-run-on-startup-login) I have my `.bashrc` file with the three following commands: xmodmap ~/.xmodmap synclient TapButton2=2 synclient ClickFinger...
> **Possible Duplicate:** > [Why won’t my xmodmap command run on startup/login?](https://unix.stackexchange.com/questions/1677/why-wont-my-xmodmap-command-run-on-startup-login) I have my .bashrc file with the three following commands: xmodmap ~/.xmodmap synclient TapButton2=2 synclient ClickFinger2=3 They are supposed to execute when I log in, right? But the changes do not happen in my system (LInux Mint 12) unless I open a terminal window which will execute those commands again. I would like to perform those commands when I log in and to remove then from bashrc, so I put them on .profile but they also keep not changing the behavior from my keyboard and touchpad. What am I doing wrong here?
Thiago Moraes (113 rep)
Nov 15, 2012, 07:00 PM • Last activity: Nov 15, 2012, 07:04 PM
Showing page 1 of 14 total questions