Sample Header Ad - 728x90

Ask Different (Apple)

Q&A for power users of Apple hardware and software

Latest Questions

7 votes
2 answers
1983 views
What is Apple doing with UUCP?
I have been looking into UUCP ([Unix-to-Unix Copy][1], a very old network protocol) as a way of communicating with some Linux boxes that don't always have an internet connection. While doing so on my Macbook (with El Capitan), I found entries in my `/usr/share/uucp/sys` file for `uucpsys1.apple.com`...
I have been looking into UUCP (Unix-to-Unix Copy , a very old network protocol) as a way of communicating with some Linux boxes that don't always have an internet connection. While doing so on my Macbook (with El Capitan), I found entries in my /usr/share/uucp/sys file for uucpsys1.apple.com and uucpsys2.apple.com. (You can also see these by running uuchk | less.) What is Apple doing with UUCP? I found this post on the Apple forums by someone who noticed a UUCP user, but no one came forward with an explanation, so I'm hoping someone here will know. I'm especially curious because /usr/share/* falls under System Integrity Protection in El Capitan, which means I'll need to set up a separate UUCP implementation if I want to use it for my purposes — but it also suggests that, if Apple's shipping OS X with a UUCP that only they can use, they must be using it for *something.* *ETA:* I've also found a launchd daemon at /System/Library/LaunchDaemons/com.apple.uucp.plist. It has Disabled in the plist, so it won't be run by default, but other daemons could enable it programmatically without altering the plist. I'm also intrigued to see that it's in /System/Library/LaunchDaemons/ (and thus subject to SIP) rather than /Library/LaunchDaemons/ — it adds to my hunch that it's something Apple is using (or maybe was using, as patrix comments), rather than just a miscellaneous *nix tool they happened to include.
LiberalArtist (337 rep)
Feb 4, 2016, 04:41 AM • Last activity: Jul 22, 2025, 05:31 PM
3 votes
1 answers
672 views
Every time I open terminal I realize that zsh_history Symbolic Link has been deleted
Hey Guys I'm using zsh and moved my `.zshrc`,`.zsh_history` and `.oh-my-zsh` to the dropbox folder to back up them and use them everywhere, and I created a Symbolic Link to them to use them but every time I create a Symbolic Link for`.zsh_history` I see that has been created but every time that I op...
Hey Guys I'm using zsh and moved my .zshrc,.zsh_history and .oh-my-zsh to the dropbox folder to back up them and use them everywhere, and I created a Symbolic Link to them to use them but every time I create a Symbolic Link for.zsh_history I see that has been created but every time that I open the terminal and check home directory I see that .zsh_history file has no Symbolic Link. and I use this command: mv .zsh_history ~/Dropbox/ZSH_Backup/ && rm -f .zsh_history && ln -s ~/Dropbox/ZSH_Backup/.zsh_history ~ So what is the problem?
farshadb (133 rep)
Jul 16, 2022, 02:40 PM • Last activity: Jul 19, 2025, 12:17 PM
5 votes
1 answers
3161 views
Only Transmission traffic through VPN
I would like to use my favourite torrent client, Transmission, over a VPN service but at the same time I do not want to direct any other traffic therethrough. That is, I want to use my VPN service only for torrenting with the Transmission client. I intend to use NordVPN service and I am coming acros...
I would like to use my favourite torrent client, Transmission, over a VPN service but at the same time I do not want to direct any other traffic therethrough. That is, I want to use my VPN service only for torrenting with the Transmission client. I intend to use NordVPN service and I am coming across 2 problems: 1. NordVPN offers IKEv2 and OpenVPN protocols on Mac and I'm not sure whether and how I can connect to this VPN so that NOT all traffic is directed therethrough. As for the IKEv2 settings in Mac's Network Preferences, there is no "Send all traffic over VPN connection" option to keep unchecked, like it is for L2TP VPN protocol on Mac. As for the OpenVPN protocol, I'm not sure if this is possible with Tunnelblick for example or other client. 2. Let's say I solve the first problem and I'm connected to the VPN service without sending all the traffic therethrough. How can I now make Transmission to use that specific network interface whereon I'm connected to the VPN? I searched Google and I have found some procedures/methods but I am none the wiser thereon. E.g.: 1. Transmission Interface Binder - this one seems outdated 2. docker-transmission-openvpn - could be working but I am totally lost hereon. 3. For Ubuntu , but perhaps could be employed on Mac too but I have no idea on what they talk about there 4. Ditto I should appreciate some advice from the more experienced or knowledgeable hereabout.
yssup (185 rep)
Mar 5, 2021, 06:56 PM • Last activity: Jul 16, 2025, 08:08 PM
2 votes
1 answers
693 views
Apple accessing Samba Share on Linux The operation can't be completed because the original item can't be found
I'm trying to connect to samba shares on a debian machine in the same network from a Mac running Ventura 13.4.1. It all works perfectly fine if I do CMD+K, and input the credentials there (like smb://user@serverIP) However, trying to connect via double-clicking the share under "Network" on Mac resul...
I'm trying to connect to samba shares on a debian machine in the same network from a Mac running Ventura 13.4.1. It all works perfectly fine if I do CMD+K, and input the credentials there (like smb://user@serverIP) However, trying to connect via double-clicking the share under "Network" on Mac results in the error "The operation can't be completed because the original item can't be found". I installed avahi-deamon after which the server started to be discovered by mac automatically but I can't connect to it double-clicking the auto discovered share. I'm absolutely out of ideas.enter image description hereenter image description here
MuchToKnow (21 rep)
Jun 24, 2023, 12:36 AM • Last activity: Jul 14, 2025, 05:06 AM
11 votes
7 answers
28776 views
Is there a beginners guide to Unix from the OS X point of view?
I'm hoping to build on my embarrassingly-limited knowledge of the command line, and I know there are a ton of great resources out there. I'm wondering if there are any books or other resources that are tailored specifically to the OS X user running Terminal. Thanks.
I'm hoping to build on my embarrassingly-limited knowledge of the command line, and I know there are a ton of great resources out there. I'm wondering if there are any books or other resources that are tailored specifically to the OS X user running Terminal. Thanks.
Paul Murray (403 rep)
Mar 10, 2011, 05:41 PM • Last activity: Jul 3, 2025, 01:11 AM
2 votes
1 answers
1376 views
No bootable disk when booting Windows after installing Linux on Mac
That must the weirdest title you've read in a long time. I have a MacBook Pro Mid 2012, I installed Windows 7 with Bootcamp and all was working fine. Last night I installed Kali Linux with a bootable USB, and during the installation I checked something like "master boot record" or something like tha...
That must the weirdest title you've read in a long time. I have a MacBook Pro Mid 2012, I installed Windows 7 with Bootcamp and all was working fine. Last night I installed Kali Linux with a bootable USB, and during the installation I checked something like "master boot record" or something like that, not too sure. Now when I'm greeted with the boot menu in mac thanks to rEFInd and select Windows, this message comes on : > No bootable device -- Insert boot disk and press any key I've read online this has something to do with GRUB, but don't know how to proceed. Let me know if you need any more info, thanks.
Mehdiway (141 rep)
Jul 28, 2015, 10:54 AM • Last activity: Jul 1, 2025, 07:07 PM
1 votes
1 answers
282 views
2019 T2 I9 MacBookPro - linux boot external drive
I have a triple boot set up on T2 Macbook Pro. macOS, Windows 10, Arch Linux boot off of the internal NVMe drive, which works fine. I also have an external TB enclosure Orico with a NVMe drive set up with Arch and an EFI partition, but for some reason it doesn't show up on the LSBLK list, nor does i...
I have a triple boot set up on T2 Macbook Pro. macOS, Windows 10, Arch Linux boot off of the internal NVMe drive, which works fine. I also have an external TB enclosure Orico with a NVMe drive set up with Arch and an EFI partition, but for some reason it doesn't show up on the LSBLK list, nor does it show up on the list of available boot options when restarting the MBP using the Option keypress. It does show up on macOS diskutil and in Windows. Any thoughts on how to solve this?
MB. (151 rep)
Sep 30, 2022, 11:45 PM • Last activity: Jun 20, 2025, 02:08 PM
2 votes
2 answers
3576 views
Permissions issue with shared folder using SMB. macOS can't open Linux files, but Linux can open macOS files without issue
Why can't the macOS machine open any files in the shared folder that were **transferred from the Linux machine**? The permissions seem to be correct. **The shared folder is located on the macOS machine** / it owns the shared folder. --- I have a shared folder on macOS Catalina (It's just the default...
Why can't the macOS machine open any files in the shared folder that were **transferred from the Linux machine**? The permissions seem to be correct. **The shared folder is located on the macOS machine** / it owns the shared folder. --- I have a shared folder on macOS Catalina (It's just the default Public folder) that can be accessed by an Ubuntu machine. The share is set up using SMB. If the Linux machine copies over a photo, text file, whatever into the shared folder, the macOS machine cannot open it. I get a permissions error. If the macOS machine does the same, the Linux machine has no problems whatsoever. I have tried many settings on macOS to no avail including "Apply to enclosed items". Here's a screenshot of all the sharing settings on macOS so you can see what I have done. Permissions issue The first screenshot shows the error when the admin account on macOS tries to open any file that was transferred from the Linux machine. The account has read/write permissions to the shared folder. Even if I copy a file to the macOS desktop, the error persists. The second screenshot shows Sharing settings in System Preferences. The blacked out parts are just the folder name and the two users who have access to said folder. One user is the macOS admin account, the other user is login credentials for the Linux machine. The third screenshot is details of the shared folder by right clicking > Get Info. - macOS Catalina is the machine sharing the folder - Ubuntu 20.0.4 can see the shared folder and use it without issue - The machines are connected on a local network - The Linux machine has it's own login credentials to the shared folder that were set up on the mac. It is not using a "guest" account.
user898458 (21 rep)
May 31, 2022, 10:14 PM • Last activity: Jun 18, 2025, 09:04 AM
0 votes
1 answers
668 views
Dual boot MacBook Pro 14.1 w/ Mojave/Ubuntu 22.04 won't set permanently macOS as default boot option after each Ubuntu session
I just installed Ubuntu 22.04 on a partition. I'd like macOS 10.14.6 to be the default system to boot and having the possibility to choose Ubuntu only if I hold option key to get into the Mac startup manager, but Ubuntu takes over as the default system every time after I log into it. My first try wa...
I just installed Ubuntu 22.04 on a partition. I'd like macOS 10.14.6 to be the default system to boot and having the possibility to choose Ubuntu only if I hold option key to get into the Mac startup manager, but Ubuntu takes over as the default system every time after I log into it.
My first try was changing the boot order with
efibootmgr -o xxxx,xxxx
, and the second one was entering the Mac startup manager by holding option, then select the macOS option by pressing ctrl while clicking on the ↑ icon under macOS boot device.
Both work on the immediate (I automatically log into macOS if I reboot from both systems) but the first time I boot Ubuntu one of the described actions need to be remade (boot order is reset and Ubuntu is first again), otherwise if I reboot the computer, I need to get into the startup manager to not get automatically into Ubuntu.
How could I **permanently** set macOS as the default boot option independently from the last used OS?
SilenceDeisgner (1 rep)
Sep 26, 2022, 09:01 AM • Last activity: Jun 13, 2025, 09:08 AM
0 votes
1 answers
97 views
sshfs under autofs from Debian 10.9 to macOS 11.0 fails, but sshfs without autofs from and to same works fine
I am attempting to set up autofs to spawn an sshfs. The autofs is on a Debian 10.9 system. The remote sshd I want it to connect to is on a mac running Big Sur. When I try to ls the intended (auto)mountpoint, I just get: No such file or directory I can ssh in fine, without a password, both as myself...
I am attempting to set up autofs to spawn an sshfs. The autofs is on a Debian 10.9 system. The remote sshd I want it to connect to is on a mac running Big Sur. When I try to ls the intended (auto)mountpoint, I just get: No such file or directory I can ssh in fine, without a password, both as myself and as root. I want the sshfs to use root. I changed /etc/ssh/sshd_config to allow root login with a password. Other than that, the mac's sshd is untweaked. Also, this works fine on the Debian system: $ sshfs root@daniels-mac-mini:/System/Volumes/Data /mnt $ ls /mnt ...making it even more weird that sshfs isn't working but only when attempted under autofs. If I look in the mac's logs, I see a lot of: comp.apple.xpc.launchd (com.openssh.sshd...): Service exited with abnormal code: 255 And if I use launchctl to shut down the sshd on the mac, and then run: /usr/sbin/sshd -d ...in a terminal, I get a lot of output, including (retyped, I don't have cut and paste happy yet) : attempt 6 failures 5 [preauth] Failed password for root from 192.168.1.96 port 33336 ssh2 maximum authentication attempts exceeded for root form 192.168.1.96 port 33336 ssh2 [preauth] Disconnecting authenticating user root 192.168.1.96 port 33336: Too many authentication failures [preauth] ...which is strange, because it should be using public key authentication, not a password. I know passwordless is working fine in other circumstances between these two hosts. I've tried a number of things in /etc/auto.mymount on the Debian system, from complex but well-explored-in-Linux-land to as simple as: daniels-mac-mini -fstype=fuse,allow_other :sshfs\#root@daniels-mac-mini\:/System/Volumes/Data Any suggestions folks? I'm about out of ideas. Thanks!
dstromberg (161 rep)
Jun 3, 2021, 12:15 AM • Last activity: Jun 13, 2025, 04:06 AM
0 votes
2 answers
91 views
Sequoia: copying a unix executable from another Mac
A somewhat naive question. - Say "telnet" has been installed on a Mac (Sequoia) using homebrew. - Can it be copied and executed on another Mac with Sequoia?
A somewhat naive question. - Say "telnet" has been installed on a Mac (Sequoia) using homebrew. - Can it be copied and executed on another Mac with Sequoia?
rlsx (1 rep)
Apr 20, 2025, 02:19 PM • Last activity: Apr 20, 2025, 03:59 PM
6 votes
2 answers
15650 views
How to create a Mac bootable gparted or Parted Magic thumb drive?
Is it possible to create a Mac-bootable thumb drive containing [gparted][1] or [Parted Magic][2] without installing a full Linux distribution? I tried several methods like - [unetbootin][3] (some blogs suggest this though the unetbootin site explicitly mentions that it isn't possible) - `sudo dd if=...
Is it possible to create a Mac-bootable thumb drive containing gparted or Parted Magic without installing a full Linux distribution? I tried several methods like - unetbootin (some blogs suggest this though the unetbootin site explicitly mentions that it isn't possible) - sudo dd if=/.../.iso of=/dev/rdiskx which both failed.
klanomath (67337 rep)
Jan 10, 2015, 10:42 PM • Last activity: Apr 20, 2025, 08:38 AM
24 votes
14 answers
101631 views
How can I transfer large files from Linux to iPad over a cable or wifi?
I am looking for a way to transfer large files to the iPad without using iTunes or pushing to and pulling from a remote server. I run an Ubuntu laptop as my only OS at the moment and want to be able to transfer movies to my iPad. I currently transfer most of my files by way of the dropbox app which...
I am looking for a way to transfer large files to the iPad without using iTunes or pushing to and pulling from a remote server. I run an Ubuntu laptop as my only OS at the moment and want to be able to transfer movies to my iPad. I currently transfer most of my files by way of the dropbox app which works well for small files but is quite slow for larger files and eats up my bandwidth. Ideally I'd like to be able to transfer over a cable or through WiFi. Thanks for any tips.
Stephen L (343 rep)
Jan 11, 2011, 06:57 AM • Last activity: Mar 30, 2025, 09:06 PM
3 votes
1 answers
1075 views
rEFInd Linux Kernel Boot Options
When booting opensuse via rEFInd, the kernel options are wrong (the root device name is incorrect). Where do the kernel arguments that rEFInd is using come from, and how do I modify them? The line I'm looking for is of the form ro root=/dev/disk/by-id/ata-APPLE_SSD_SM768E_S119NYAC612 initrd=boot\ini...
When booting opensuse via rEFInd, the kernel options are wrong (the root device name is incorrect). Where do the kernel arguments that rEFInd is using come from, and how do I modify them? The line I'm looking for is of the form ro root=/dev/disk/by-id/ata-APPLE_SSD_SM768E_S119NYAC612 initrd=boot\initrd-3.7.xxx-default The root argument should be ata-APPLE_SSD_SM768E_S119NYAC612130-part7 as that is where the SUSE root partition is. If I edit the boot options from the rEFInd menu (higlight the SUSE entry, hit F2, hit F2 again on the default entry) and modify the options to include the 130-part7 suffix, everything works fine. If not, Linux asks me: > Could not find /dev/disk/by-id/ata-APPLE_SSD_SM768E_S119NYAC612. > Want me to fall back to > /dev/disk/by-id/ata-APPLE_SSD_SM768E_S119NYAC612130-part7? (Y/n) I'd happily hit "Y" here and move on but, unfortunately, the keyboard doesn't work at this stage in the boot process. If I attach a USB keyboard, it works, but I really don't want to carry one around with me. (Perhaps there is a market for a one-key USB keyboard that can be programmed for these things. Dear God...) So, I am left changing the options via the rEFInd menu every time I boot Linux. I'd thought about adding a symlink directing ...612 to ...612130-part7, but the links in /dev/disk/by-id/ are stored in tempfs (ie, not persistent). Also, that is a crappy solution. Help?!
3Dave (335 rep)
Oct 23, 2013, 11:20 PM • Last activity: Mar 14, 2025, 03:07 PM
1 votes
1 answers
315 views
Trouble installing old printer driver
I have Samsung(acquired by HP) SL-C410W printer which works fine besides vendors try to force my to new one by not providing drivers to new operating systems anymore. I'm trying to ran it on M1 Mac but the OS (Sequoia) / vendor drivers doesn't like themself. Although I have old MacBook Pro 2011 whic...
I have Samsung(acquired by HP) SL-C410W printer which works fine besides vendors try to force my to new one by not providing drivers to new operating systems anymore. I'm trying to ran it on M1 Mac but the OS (Sequoia) / vendor drivers doesn't like themself. Although I have old MacBook Pro 2011 which had those drivers installed in past. The old one thanks to **OpenCore Legacy Patcher** is running OSX Sonoma and the old printer drivers **work fine** with my printer. I realised although that if I need reinstall get rid of this computer I will loose the only path to still use my printer. So instead of using installer I attempt to use PPD filles from the old computer. I've copied over those: ├── Library │   └── Printers │   ├── PPDs │   │   └── Contents │   │   └── Resources │   │   └── Samsung C410 Series.gz │   └── Samsung │   ├── C410 │   │   └── Images │   │   ├── itdrvM1.png │   │   ├── itdrvM2.png │   │   └── itdrvM3.png │   ├── Filters │   │   ├── commandtosec │   │   ├── prefilter │   │   ├── pstosecps │   │   ├── rastertosec │   │   ├── rastertosec2 │   │   └── statusDesc.plist │   └── Icons │   ├── C410.icns │   ├── C460.icns │   ├── CLP-310.icns │   ├── CLP-320.icns │   ├── CLP-350.icns │   ├── CLP-360.icns │   ├── CLP-410.icns │   ├── CLP-610.icns │   ├── CLP-620.icns │   ├── CLP-660.icns │   ├── CLP-670.icns │   ├── CLP-680.icns │   ├── CLP-770.icns │   ├── CLP-775.icns │   ├── CLX-216x.icns │   ├── CLX-3170.icns │   ├── CLX-3180.icns │   ├── CLX-3300.icns │   ├── CLX-4190.icns │   ├── CLX-6200.icns │   ├── CLX-6220.icns │   ├── CLX-6240.icns │   ├── CLX-6250.icns │   ├── CLX-6260.icns │   ├── CLX-8380.icns │   ├── CLX-8385.icns │   ├── CLX-8385X.icns │   ├── CLX-8540.icns │   ├── CLX-8540X.icns │   ├── CLX-8640_8650.icns │   ├── CLX-9250_9350.icns │   ├── CLX-92x1_93x1.icns │   ├── M2020.icns │   ├── M2070.icns │   ├── M262x_282x.icns │   ├── M267x_287x.icns │   ├── M332x_382x_402x.icns │   ├── M337x_387x_407x.icns │   ├── MFP65x.icns │   ├── ML-1630.icns │   ├── ML-1630W.icns │   ├── ML-1640.icns │   ├── ML-1660.icns │   ├── ML-1860.icns │   ├── ML-1865W.icns │   ├── ML-191x 252x.icns │   ├── ML-2160.icns │   ├── ML-2240.icns │   ├── ML-2245.icns │   ├── ML-2525W.icns │   ├── ML-2540.icns │   ├── ML-2580.icns │   ├── ML-2850.icns │   ├── ML-2855.icns │   ├── ML-2950.icns │   ├── ML-331x.icns │   ├── ML-3470.icns │   ├── ML-371x.icns │   ├── ML-4050.icns │   ├── ML-451x_501x.icns │   ├── ML-551x_651x.icns │   ├── SCX-3200.icns │   ├── SCX-3400.icns │   ├── SCX-4500.icns │   ├── SCX-4500W.icns │   ├── SCX-4600.icns │   ├── SCX-4623.icns │   ├── SCX-4623FW.icns │   ├── SCX-4650_4x21S.icns │   ├── SCX-470x.icns │   ├── SCX-472x.icns │   ├── SCX-483x_5x3x.icns │   ├── SCX-4x24.icns │   ├── SCX-4x28.icns │   ├── SCX-5635.icns │   ├── SCX-5835_5935.icns │   ├── SCX-5835_5935X.icns │   ├── SCX-6545X.icns │   ├── SCX-6x55.icns │   ├── SCX-6x55X.icns │   ├── SCX-8030_8040.icns │   ├── SCX-8123_8128.icns │   └── SF-760.icns and per ChatGPT those: └── usr └── libexec └── cups ├── apple │   ├── http -> ipp │   ├── https -> ipp │   └── ipps -> ipp ├── backend │   ├── bluetooth │   ├── epsonfax -> /Library/Printers/EPSON/Fax/FaxIOSupport/epsonfax.app/Contents/MacOS/epsonfax │   ├── epsonfirewire │   ├── http -> ipp │   ├── https -> ipp │   ├── ipps -> ipp │   ├── ippusb -> dnssd │   ├── mdns -> dnssd │   ├── riousbprint │   ├── snmp │   ├── socket │   └── usb ├── cgi-bin │   ├── admin.cgi │   ├── classes.cgi │   ├── help.cgi │   ├── jobs.cgi │   └── printers.cgi ├── command │   ├── ippevepcl │   └── ippeveps ├── daemon │   ├── cups-deviced │   ├── cups-driverd │   └── cups-exec ├── driver ├── filter │   ├── cgbannertopdf │   ├── cgimagetopdf │   ├── cgpdftopdf │   ├── cgpdftops │   ├── cgpdftoraster │   ├── cgtexttopdf │   ├── commandtops │   ├── gziptoany │   ├── pstoappleps │   ├── pstops │   ├── rastertoepson │   ├── rastertohp │   ├── rastertolabel │   ├── rastertopwg │   ├── rastertotiff │   └── rastertourf ├── monitor │   ├── bcp │   └── tbcp └── notifier ├── mailto └── rss Then copied into as is the first part /Library/Printers/ to M1 Mac. Then launched new printer dialog, if detected everything Plug&play, printer seems to be installed. But then when I attempt to print something it says 'Filter' error. Even when printing test page. Then sudo cat /var/log/cups/error_log:
PID 54343 (/usr/libexec/cups/filter/cgbannertopdf) exited with no errors.
[...]
PID 54344 (/Library/Printers/Samsung/Filters/prefilter) exited with no errors
[...]
PID 54344 (/Library/Printers/Samsung/Filters/prefilter) exited with no errors.
D [11/Feb/2025:11:27:50 +0100] [Job 19] cgpdftoraster version:2024.0 isURF=NO
D [11/Feb/2025:11:27:50 +0100] [Job 19] cgpdftoraster: \"/private/var/spool/cups/tmp/0d44967b4ddea\" has 1 pages.
D [11/Feb/2025:11:27:50 +0100] [Job 19] cgpdftoraster: opened PPD file \"/private/etc/cups/ppd/Samsung_C410_Series__SEC30CDA72EFE04_.ppd\"...
D [11/Feb/2025:11:27:50 +0100] [Job 19] cgpdftoraster: PreferredRotation = 90
D [11/Feb/2025:11:27:50 +0100] [Job 19] cupsPageSize=[595 842], cupsImagingBBox=[12.5 12.5 582.5 829.5]
D [11/Feb/2025:11:27:50 +0100] [Job 19] cgpdftoraster: width=595, length=842, top=12.5, bottom=12.5, left=12.5, right=12.5
D [11/Feb/2025:11:27:50 +0100] [Job 19] cupsWidth=4750, cupsHeight=6808
D [11/Feb/2025:11:27:50 +0100] [Job 19] cgpdftoraster: languageLevel = 3, mediaBox.size.width = 595, mediaBox.size.height = 842
D [11/Feb/2025:11:27:50 +0100] [Job 19] cgpdftoraster: colorspace = 1, bitsPerColor = 8
D [11/Feb/2025:11:27:50 +0100] [Job 19] cgpdftoraster: skipBytesPerRow = 8
D [11/Feb/2025:11:27:50 +0100] [Job 19] cgpdftoraster: band width = 4750, bytesPerRow = 19008, band height = 6808, height = 6808
D [11/Feb/2025:11:27:50 +0100] [Job 19] cgpdftoraster: context width = 4750, height = 6808, bitsPerComponent = 8, bitsPerPixel = 32, bytesPerRow = 19008, bitmapInfo = 5, resolution = (600.000000, 600.000000)
D [11/Feb/2025:11:27:50 +0100] [Job 19] HWResolution = [ 600 600 ]
D [11/Feb/2025:11:27:50 +0100] [Job 19] ImagingBoundingBox = [ 12 12 582 829 ]
D [11/Feb/2025:11:27:50 +0100] [Job 19] Margins = [ 12 12 ]
D [11/Feb/2025:11:27:50 +0100] [Job 19] PageSize = [ 595 842 ]
D [11/Feb/2025:11:27:50 +0100] [Job 19] cupsWidth = 4750
D [11/Feb/2025:11:27:50 +0100] [Job 19] cupsHeight = 6808
D [11/Feb/2025:11:27:50 +0100] [Job 19] cupsBitsPerColor = 8
D [11/Feb/2025:11:27:50 +0100] [Job 19] cupsBitsPerPixel = 24
D [11/Feb/2025:11:27:50 +0100] [Job 19] cupsBytesPerLine = 14250
D [11/Feb/2025:11:27:50 +0100] [Job 19] band = {0, 0; 595, 816.96}
D [11/Feb/2025:11:27:50 +0100] [Job 19] Erasing band to white...
D [11/Feb/2025:11:27:50 +0100] [Job 19] EraseContext [0 0 4750 13616]
D [11/Feb/2025:11:27:50 +0100] [Job 19] PID 54346 (/Library/Printers/Samsung/Filters/rastertosec2) stopped with status 1.
D [11/Feb/2025:11:27:50 +0100] [Job 19] Hint: Try setting the LogLevel to "debug" to find out more.
D [11/Feb/2025:11:27:50 +0100] [Job 19] displayList=0x0
D [11/Feb/2025:11:27:50 +0100] [Job 19] drawSheet(c=0x600001bf00c0, document=0x6000011ec000, pageNum=1, mediaBox=[0 0 595 842], band=[0 0 595 816.96], nup=0x0, pageMap=0x0, fitToPage=1, preTransformP=0x0, rotation=0)
D [11/Feb/2025:11:27:50 +0100] [Job 19] Drawing scaled page.
D [11/Feb/2025:11:27:50 +0100] [Job 19] destination_rect [ 0 0 595 842 ]
D [11/Feb/2025:11:27:50 +0100] [Job 19] large_margins=0, cropBox [0 0 595 842]
D [11/Feb/2025:11:27:50 +0100] [Job 19] Scaling PDF to fit, ForceScalingUp=0, rotation=0
D [11/Feb/2025:11:27:50 +0100] [Job 19] Page transform [ 1 0 0 1 0 0 ]
D [11/Feb/2025:11:27:50 +0100] [Job 19] Resolving \"Samsung C410 Series (SEC30CDA72EFE04)._printer._tcp.local.\"...
D [11/Feb/2025:11:27:50 +0100] [Job 19] STATE: +connecting-to-device
D [11/Feb/2025:11:27:50 +0100] [Job 19] Resolving \"Samsung C410 Series (SEC30CDA72EFE04)\", regtype=\"_printer._tcp\", domain=\"local.\"...
D [11/Feb/2025:11:27:50 +0100] [Job 19] Szukam drukarki.
D [11/Feb/2025:11:27:50 +0100] [Job 19] Resolved as \"lpd://Samsung-SL-C410.local.:515/auto\"...
D [11/Feb/2025:11:27:50 +0100] [Job 19] STATE: -connecting-to-device,offline-report
D [11/Feb/2025:11:27:50 +0100] [Job 19] getNetworkPrinterStatusWithAddress : Network connection fails
D [11/Feb/2025:11:27:50 +0100] [Job 19] getDeviceStatusInfoWithURI : Connection Fail
D [11/Feb/2025:11:27:50 +0100] [Job 19] STATE: +com.Samsung.General-report
D [11/Feb/2025:11:27:50 +0100] [Job 19] cgpdftoraster: rasterWriteData: (null)
D [11/Feb/2025:11:27:50 +0100] [Job 19] cgpdftoraster: bytes written for side 1 = 97014000, err = 5
D [11/Feb/2025:11:27:50 +0100] [Job 19] PID 54347 (/usr/libexec/cups/backend/dnssd) exited with no errors.
D [11/Feb/2025:11:27:50 +0100] [Job 19] PID 54345 (/usr/libexec/cups/filter/cgpdftoraster) exited with no errors.
D [11/Feb/2025:11:27:50 +0100] [Job 19] End of messages
D [11/Feb/2025:11:27:50 +0100] [Job 19] printer-state=3(idle)
D [11/Feb/2025:11:27:50 +0100] [Job 19] printer-state-message="Szukam drukarki."
The string 'Szukam drukarki' is localized'Looking for printer' . Although it seems to resolve printer IP correctly via Bonjour, IPP and LPD. Not sure if this is indeed something network related or to the filter. It could be some permissions related to filter files but I'm not sure about correct ones - during copy I've destroyed printing capability on the old Intel Mac also by mistakenly doing some chown/chmod in wrong place. It's Printing Utility even says that there is permission error and proposes to fix it but nothing is fixed after the attempt, it strikes back while after. Regarding /usr/libexec part I didn't copied it into Apple Silicon OS as it doesn't seem to contain anything Samsung specific and I'm afraid Intel vs ARM binaries could get be into trouble works fine. The file: /Library/Printers/Samsung/Filters/rastertosec2 is multiarch x86/x64 however it runs fine with Rosetta2 on M1:
/Library/Printers/Samsung/Filters/rastertosec2
ERROR: rastertopcl job-id user title copies options [file]
Per ChatGPT suggestion I've attempted to feed it with some test file but having trouble generating the test raster file and command:
gs -q -dNOPAUSE -dBATCH -sDEVICE=cups -sOutputFile=test.raster test.pdf
Unknown device: cups
or:
cupsfilter -m application/vnd.cups-raster  test.pdf > test.raster
[...]
DEBUG: envp="CHARSET=utf-8"
DEBUG: envp="FINAL_CONTENT_TYPE=application/vnd.cups-raster"
INFO: cgpdftoraster (PID 9538) started.
DEBUG: Message catalog filename is "/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/Resources/pl.lproj/cgpdftoraster.strings".
DEBUG: cgpdftoraster version:2024.0 isURF=NO
DEBUG: cgpdftoraster: "test.pdf" has 23 pages.
DEBUG: cgpdftoraster: opened PPD file "/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/Resources/Generic.ppd"...
DEBUG: cgpdftoraster: PreferredRotation = -90
ERROR: 'cupsRasterInterpretPPD' had an error = Unknown operator "dict".
Stack not empty: [ 1 --dict--
.
ERROR: cgpdftoraster (PID 9538) stopped with status 2
nusch (76 rep)
Feb 11, 2025, 11:07 AM • Last activity: Mar 13, 2025, 08:01 PM
1 votes
1 answers
180 views
MacOS & tar: why is --disable-copyfile and --no-xattrs required for GNU compatibility?
I'm noticing on macOS v13.7 BSD tar files have unexpected contents when unpacking on GNU Linux. For GNU compatibility I need to use `tar --disable-copyfile --no-xattrs`, otherwise I end up with this issues untiring on a GNU system: tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com....
I'm noticing on macOS v13.7 BSD tar files have unexpected contents when unpacking on GNU Linux. For GNU compatibility I need to use tar --disable-copyfile --no-xattrs, otherwise I end up with this issues untiring on a GNU system: tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.metadata:kMDItemTextContentLanguage' ... Duplicate files F prefixed ._F in the tar file. I see following workaround posted here and here , however no explanation why macOS tar needs to behave this way. Does anyone know why macOS tar is behaving this way?
atod (77 rep)
Feb 10, 2025, 08:40 PM • Last activity: Mar 12, 2025, 11:38 PM
0 votes
1 answers
110 views
MacBook reboots during Debian installation
I'm trying to install Debian on my MacBook Pro (late 2013): 1. prepare a bootable usb: `$ sudo dd if=path_to/debian-live-12.0.0-amd64-xfce.iso of=/dev/sda` 2. plug in usb drive and reboot MacBook: [![enter image description here][1]][1] The installer is loaded then it just reboot after a few seconds...
I'm trying to install Debian on my MacBook Pro (late 2013): 1. prepare a bootable usb: $ sudo dd if=path_to/debian-live-12.0.0-amd64-xfce.iso of=/dev/sda 2. plug in usb drive and reboot MacBook: enter image description here The installer is loaded then it just reboot after a few seconds (before I did anthing). I try several times rebooting into installation page but it still reboot after clicking "start installer". Did I trigger some protection mechanism? If so, how do I turn them off to install Linux on it?
Rahn (151 rep)
Jul 13, 2023, 02:08 PM • Last activity: Feb 17, 2025, 06:30 PM
3 votes
1 answers
281 views
Running `ps -t /dev/<tty>` started causing the specified terminal to stop receiving most keystrokes
### Specific Problem Running `ps -t /dev/ ` recently started causing the associated terminal to stop receiving some keystrokes. I can't fathom why this started happening now, without any software updates that I'm aware of. After running the `ps` command, most keystrokes will no longer make it throug...
### Specific Problem Running ps -t /dev/ recently started causing the associated terminal to stop receiving some keystrokes. I can't fathom why this started happening now, without any software updates that I'm aware of. After running the ps command, most keystrokes will no longer make it through to this shell or whatever program is running in the tty (e.g. if you run it from in a vim subshell). Only a subset make it through, requiring repeating keypresses several times before they register, as if eaten by another process. Repeated runs of ps -t exacerbate the problem further. ### To Reproduce Notably, I can only reproduce this on one of my machines.
ps -t $(tty)
A significant percentage of keystrokes are dropped from the TTY now. It can be run on the current TTY or another TTY. The target TTY is affected. To recover from this, exit the TTY using Ctrl+D or exit. (Keystrokes will need to be entered repeatedly.) I'd be interested to hear who can and cannot reproduce this. ### Why This is Needed [vim-tmux-navigator](https://github.com/christoomey/vim-tmux-navigator) uses this tmux configuration to detect whether vim is the active process in the current tmux pane, in order to allow seamless navigation within and between vim splits and tmux panes.
is_vim="ps -o state= -o comm= -t '#{pane_tty}' | \
        grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|l?n?vim?x?|fzf)(diff)?$'"
bind-key -n M-h if-shell "$is_vim" "send-keys M-h"  "select-pane -L"
bind-key -n M-j if-shell "$is_vim" "send-keys M-j"  "select-pane -D"
bind-key -n M-k if-shell "$is_vim" "send-keys M-k"  "select-pane -U"
bind-key -n M-l if-shell "$is_vim" "send-keys M-l"  "select-pane -R"
### Versions I can reproduce this on both MacOS 14.6.1 and 15.2. The /bin/ps executable hasn't been touched in a few months, and this has been working since.
❯ ls -l which ps
-rwsr-xr-x  1 root  wheel  170816 Aug  4 06:31 /bin/ps
I haven't updated anything else that I know of since this was last working. ### Further weirdness After a tty starts losing keystrokes, if it is killed via tmux :kill-window rather than exiting normally, then other things start hanging until reboot: - brew (which is run to check openssl version during bashrc run) sometimes starts hanging and cannot be killed with ^C or stopped with ^Z until after rebooting, which blocks new terminals from starting. - sudo dmesg hangs and cannot be killed with ^C or stopped with ^Z until after rebooting. - ps -ef outputs some processes but then hangs. Unlike the others, it _can_ be killed with ^C. [Related GitHub issue](https://github.com/christoomey/vim-tmux-navigator/issues/417)
Edward Anderson (243 rep)
Nov 21, 2024, 07:16 PM • Last activity: Feb 4, 2025, 07:18 PM
36 votes
4 answers
48863 views
Homebrew installed libraries, how do I use them?
I'm a bit confused. I've installed a bunch of libraries (e.g. `vtk`, `gsl`,...) that I need for a c++ project for school. I used homebrew to install them (luckily there were formulas available). My question is, does Homebrew link these into `/usr/include` or something comparable? Or is this somethin...
I'm a bit confused. I've installed a bunch of libraries (e.g. vtk, gsl,...) that I need for a c++ project for school. I used homebrew to install them (luckily there were formulas available). My question is, does Homebrew link these into /usr/include or something comparable? Or is this something I would need to do manually? Homebrew usually does this kind of stuff for executables, yet I can't seem the find the libraries anywhere other than in the /usr/local/Cellar/... directories. I have a bunch of libraries installed so I can't simply use -L/... for each of them.
romeovs (4453 rep)
Feb 17, 2012, 08:17 AM • Last activity: Feb 1, 2025, 06:59 PM
19 votes
10 answers
28265 views
Where is "mkpasswd" for OSX?
There is a well-known unix utility called [`mkpasswd`][m] available on many *nix systems. I was just trying to use it from terminal on an OSX 10.10.5 Yosemite (Early 2015) machine, and it is nowhere to be found. How can I install it on this machine? or is there an alternative already available? [m]:...
There is a well-known unix utility called mkpasswd available on many *nix systems. I was just trying to use it from terminal on an OSX 10.10.5 Yosemite (Early 2015) machine, and it is nowhere to be found. How can I install it on this machine? or is there an alternative already available?
Dɑv&#239;d (489 rep)
Jun 20, 2016, 08:06 AM • Last activity: Jan 30, 2025, 10:47 AM
Showing page 1 of 20 total questions